From f3fe5e8d39fc9bbcffb346d0b7329445140a1e93 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 18 Nov 2025 00:43:20 -0500 Subject: kern/amd64: mmu: Add mu_pmap_forkvas() helper The mu_pmap_forkvas() function copies the current virtual address with the user porition zeroed. Signed-off-by: Ian Moffett --- sys/mu/mmu_stub.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys/mu/mmu_stub.c') diff --git a/sys/mu/mmu_stub.c b/sys/mu/mmu_stub.c index d2ab1eb..b53c3a4 100644 --- a/sys/mu/mmu_stub.c +++ b/sys/mu/mmu_stub.c @@ -30,6 +30,12 @@ #include #include +__weak int +mu_pmap_forkvas(struct mmu_vas *result) +{ + (void)result; +} + __weak void mu_pmap_init(void) { -- cgit v1.2.3