diff options
author | Ian Moffett <ian@osmora.org> | 2024-06-23 19:00:54 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-06-23 19:00:54 -0400 |
commit | 2e2dc610d2abd6c12cf6dcda290b23fb77ecd704 (patch) | |
tree | dea9aa721cae9f5ed607db3bb1a8dc84d6ebcee2 /sys/include/vm/vm.h | |
parent | c43e62b89d8bcb5ccd4f3265375e09a22dab3831 (diff) |
kernel: vm: Add g_kvas for kernel VAS
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/vm/vm.h')
-rw-r--r-- | sys/include/vm/vm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/include/vm/vm.h b/sys/include/vm/vm.h index bf49e67..9c63901 100644 --- a/sys/include/vm/vm.h +++ b/sys/include/vm/vm.h @@ -34,6 +34,7 @@ #include <sys/limine.h> #include <sys/spinlock.h> #include <vm/tlsf.h> +#include <vm/pmap.h> extern volatile struct limine_hhdm_request g_hhdm_request; @@ -50,6 +51,8 @@ struct vm_ctx { tlsf_t tlsf_ctx; }; +extern struct vas g_kvas; + struct vm_ctx *vm_get_ctx(void); void vm_init(void); |