This repository has been archived by the owner on Aug 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
neoverse-rd/apremap: use address remapper interface
Address remapper interface defines the APIs for address translated read/write operations that producers can implement and consumers can consume. As the RD-N2 apremap module is intended to provide such a address translated read/write operations, migrate the implementation of the apremap module over to the implementation of address remapper interface definition. Signed-off-by: Nishant Sharma <nishant.sharma@arm.com> Change-Id: Ie91a9f63b4cbe3669ea5a525bb7537575258c9e9
- Loading branch information
Showing
3 changed files
with
16 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
# | ||
# Arm SCP/MCP Software | ||
# Copyright (c) 2021, Arm Limited and Contributors. All rights reserved. | ||
# Copyright (c) 2021-2024, Arm Limited and Contributors. All rights reserved. | ||
# | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
# | ||
|
||
add_library(${SCP_MODULE_TARGET} SCP_MODULE) | ||
|
||
target_include_directories(${SCP_MODULE_TARGET} | ||
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include") | ||
PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" | ||
PUBLIC "${CMAKE_SOURCE_DIR}/product/neoverse-rd/interface/address_remapper/") | ||
|
||
target_sources(${SCP_MODULE_TARGET} | ||
PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/src/mod_apremap.c") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters