From cd6f82b0e0c5793eae359b1f53f976b7f6f7f87a Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 21 Nov 2025 22:46:13 -0500 Subject: kern: mu: Return zero in MU stubs Signed-off-by: Ian Moffett --- sys/mu/mmu_stub.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sys/mu') diff --git a/sys/mu/mmu_stub.c b/sys/mu/mmu_stub.c index 729303b..d369c93 100644 --- a/sys/mu/mmu_stub.c +++ b/sys/mu/mmu_stub.c @@ -40,6 +40,8 @@ mu_pmap_map(struct mmu_vas *vas, uintptr_t pa, uintptr_t va, uint16_t prot, (void)va; (void)prot; (void)ps; + + return 0; } __weak int @@ -56,6 +58,8 @@ __weak int mu_pmap_forkvas(struct mmu_vas *result) { (void)result; + + return 0; } __weak void @@ -68,10 +72,14 @@ __weak int mu_pmap_readvas(struct mmu_vas *vas) { (void)vas; + + return 0; } __weak int mu_pmap_writevas(struct mmu_vas *vas) { (void)vas; + + return 0; } -- cgit v1.2.3