From 6576b39538f3c83c0d85ef7b4182add9a6cb77f7 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 18 Nov 2025 11:15:07 -0500 Subject: kern/amd64: mmu: Add function to map pages Signed-off-by: Ian Moffett --- sys/mu/mmu_stub.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'sys/mu') diff --git a/sys/mu/mmu_stub.c b/sys/mu/mmu_stub.c index b53c3a4..586edd4 100644 --- a/sys/mu/mmu_stub.c +++ b/sys/mu/mmu_stub.c @@ -30,6 +30,18 @@ #include #include +__weak int +mu_pmap_map(struct mmu_vas *vas, uintptr_t pa, uintptr_t va, uint16_t prot, + pagesize_t ps) + +{ + (void)vas; + (void)pa; + (void)va; + (void)prot; + (void)ps; +} + __weak int mu_pmap_forkvas(struct mmu_vas *result) { -- cgit v1.2.3