From 496862183a101a9aceaeff968441fd2ad0bbbd7d Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 13 Dec 2023 14:31:07 -0500 Subject: 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 --- sys/include/vm/vm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/include') diff --git a/sys/include/vm/vm.h b/sys/include/vm/vm.h index d135b72..59cf3bc 100644 --- a/sys/include/vm/vm.h +++ b/sys/include/vm/vm.h @@ -45,11 +45,11 @@ extern volatile struct limine_hhdm_request g_hhdm_request; #define VIRT_TO_PHYS(virt) ((uintptr_t)virt - VM_HIGHER_HALF) /* - * cpu_vm_ctx - Per core virtual memory context + * vm_ctx - Per core virtual memory context * * Holds per core virtual memory information. */ -struct cpu_vm_ctx { +struct vm_ctx { uintptr_t dynalloc_pool_phys; size_t dynalloc_pool_sz; /* In bytes */ tlsf_t tlsf_ctx; @@ -68,6 +68,6 @@ vm_get_page_size(void) } void vm_init(void); -struct cpu_vm_ctx vm_get_bsp_ctx(void); +struct vm_ctx vm_get_bsp_ctx(void); #endif /* !_VM_H_ */ -- cgit v1.2.3