diff options
author | Ian Moffett <ian@osmora.org> | 2023-12-13 14:31:07 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2023-12-13 14:31:34 -0500 |
commit | 496862183a101a9aceaeff968441fd2ad0bbbd7d (patch) | |
tree | ad018937a158fd0f4185a2df205d7d9134336eea /sys/vm/vm_init.c | |
parent | 88e9b3b3a6060ab1035e0576519e18bb64edda09 (diff) |
kernel: vm: `cpu_vm_ctx' -> `vm_ctx'
This commit cleans up the naming of the `cpu_vm_ctx' as it already
implies it is per core
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/vm/vm_init.c')
-rw-r--r-- | sys/vm/vm_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_init.c b/sys/vm/vm_init.c index c298a6a..8fe12d3 100644 --- a/sys/vm/vm_init.c +++ b/sys/vm/vm_init.c @@ -46,14 +46,14 @@ static volatile struct vas kernel_vas; * TODO: Move this to a per CPU structure, this kinda sucks * how it is right now... */ -static volatile struct cpu_vm_ctx bsp_vm_ctx = {0}; +static volatile struct vm_ctx bsp_vm_ctx = {0}; volatile struct limine_hhdm_request g_hhdm_request = { .id = LIMINE_HHDM_REQUEST, .revision = 0 }; -struct cpu_vm_ctx +struct vm_ctx vm_get_bsp_ctx(void) { return bsp_vm_ctx; |