diff options
| author | Ian Moffett <ian@osmora.org> | 2025-11-16 15:09:57 -0500 |
|---|---|---|
| committer | Ian Moffett <ian@osmora.org> | 2025-11-16 15:09:57 -0500 |
| commit | faea4293fff64a1215d101a9f80f814052aa25d1 (patch) | |
| tree | 405a406a63bed90581ba327df0839f2bcba64973 /sys | |
| parent | 5ed7a0707f13662384ef77bec3faaaffdfd36772 (diff) | |
kern: mu: Swap __weak/__strong order
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/inc/mu/mmu.h | 6 | ||||
| -rw-r--r-- | 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 <sys/cdefs.h> #include <mu/mmu.h> -__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; |
