From faea4293fff64a1215d101a9f80f814052aa25d1 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 16 Nov 2025 15:09:57 -0500 Subject: kern: mu: Swap __weak/__strong order Signed-off-by: Ian Moffett --- sys/inc/mu/mmu.h | 6 +++--- sys/mu/mmu_stub.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/inc/mu/mmu.h b/sys/inc/mu/mmu.h index 85f4343..ce52376 100644 --- a/sys/inc/mu/mmu.h +++ b/sys/inc/mu/mmu.h @@ -38,17 +38,17 @@ * Read the currently in-use virtual address space * structure */ -__weak int mu_pmap_readvas(struct mmu_vas *vas); +__strong int mu_pmap_readvas(struct mmu_vas *vas); /* * Write a new virtual address structure to be put * into use as the current address space */ -__weak int mu_pmap_writevas(struct mmu_vas *vas); +__strong int mu_pmap_writevas(struct mmu_vas *vas); /* * Initialize the platform memory management unit */ -__weak void mu_pmap_init(void); +__strong void mu_pmap_init(void); #endif /* !_MU_PMAP_H_ */ diff --git a/sys/mu/mmu_stub.c b/sys/mu/mmu_stub.c index 4c2a3fa..d2ab1eb 100644 --- a/sys/mu/mmu_stub.c +++ b/sys/mu/mmu_stub.c @@ -30,19 +30,19 @@ #include #include -__strong void +__weak void mu_pmap_init(void) { (void)0; } -__strong int +__weak int mu_pmap_readvas(struct mmu_vas *vas) { (void)vas; } -__strong int +__weak int mu_pmap_writevas(struct mmu_vas *vas) { (void)vas; -- cgit v1.2.3