diff options
| author | Ian Moffett <ian@osmora.org> | 2025-11-18 00:43:20 -0500 |
|---|---|---|
| committer | Ian Moffett <ian@osmora.org> | 2025-11-18 00:43:20 -0500 |
| commit | f3fe5e8d39fc9bbcffb346d0b7329445140a1e93 (patch) | |
| tree | 8b6e26b015fc1e60964c1f1db1da8a910a7606fc /sys/inc/mu/mmu.h | |
| parent | 7dd5178ddd0078d2e1ef38722bff1172f79f0f05 (diff) | |
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 <ian@osmora.org>
Diffstat (limited to 'sys/inc/mu/mmu.h')
| -rw-r--r-- | sys/inc/mu/mmu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/inc/mu/mmu.h b/sys/inc/mu/mmu.h index ce52376..945e375 100644 --- a/sys/inc/mu/mmu.h +++ b/sys/inc/mu/mmu.h @@ -35,6 +35,12 @@ #include <md/vas.h> /* shared */ /* + * Copy the current VAS leaving the user-side + * zeroed + */ +__strong int mu_pmap_forkvas(struct mmu_vas *result); + +/* * Read the currently in-use virtual address space * structure */ |
