diff options
| author | Ian Moffett <ian@osmora.org> | 2025-11-21 22:45:41 -0500 |
|---|---|---|
| committer | Ian Moffett <ian@osmora.org> | 2025-11-21 22:45:41 -0500 |
| commit | 01001c2aa2216c92603e1bdc334613e5adcacb04 (patch) | |
| tree | d70c5222caea12188128266b3d38861bbae911e5 /sys/mu/mmu_stub.c | |
| parent | 03090935db3e40132177e8ec25b7503b0e2ee78d (diff) | |
kern/amd64: mu: Add pmap unmap function
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/mu/mmu_stub.c')
| -rw-r--r-- | sys/mu/mmu_stub.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/mu/mmu_stub.c b/sys/mu/mmu_stub.c index 586edd4..729303b 100644 --- a/sys/mu/mmu_stub.c +++ b/sys/mu/mmu_stub.c @@ -43,6 +43,16 @@ mu_pmap_map(struct mmu_vas *vas, uintptr_t pa, uintptr_t va, uint16_t prot, } __weak int +mu_pmap_unmap(struct mmu_vas *vas, uintptr_t va, pagesize_t ps) +{ + (void)vas; + (void)va; + (void)ps; + + return 0; +} + +__weak int mu_pmap_forkvas(struct mmu_vas *result) { (void)result; |
