aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2022-12-15 10:16:38 -0800
committerMarco Nelissen <marcone@google.com>2022-12-15 22:34:13 +0000
commit3ca061173ccb8535f6eb2ab9b59b32c6c362b20b (patch)
tree265cb2f1f53d60b76bfc7c29553701763712e48d /include
parentb906e474659d214e364dfe2f9e307741d2fe4b43 (diff)
downloadcommon-3ca061173ccb8535f6eb2ab9b59b32c6c362b20b.tar.gz
arch: arm64: add an API to change an existing mapping
Bug: 231155845 Test: build, boot, mmutest Change-Id: I09278bf1e4f7566fd2a74c6a1ff39607f5ccf7d3
Diffstat (limited to 'include')
-rw-r--r--include/arch/mmu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/arch/mmu.h b/include/arch/mmu.h
index f35e58ff..616e6689 100644
--- a/include/arch/mmu.h
+++ b/include/arch/mmu.h
@@ -54,6 +54,7 @@ status_t arch_mmu_destroy_aspace(arch_aspace_t *aspace) __NONNULL((1));
/* routines to map/unmap/query mappings per address space */
int arch_mmu_map(arch_aspace_t *aspace, vaddr_t vaddr, paddr_t paddr, size_t count, uint flags) __NONNULL((1));
+int arch_mmu_map_replace(arch_aspace_t *aspace, vaddr_t vaddr, paddr_t paddr, size_t count, uint flags) __NONNULL((1));
int arch_mmu_unmap(arch_aspace_t *aspace, vaddr_t vaddr, size_t count) __NONNULL((1));
status_t arch_mmu_query(arch_aspace_t *aspace, vaddr_t vaddr, paddr_t *paddr, uint *flags) __NONNULL((1));