From 152f14654bfb438d074833e3c8d5392d300f5095 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Wed, 28 Apr 2021 10:46:36 +0200 Subject: Debug trampoline and paging --- src/include/boucane.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/boucane.hpp b/src/include/boucane.hpp index f178f42..79975a3 100644 --- a/src/include/boucane.hpp +++ b/src/include/boucane.hpp @@ -10,4 +10,9 @@ #include "libs/stdio.hpp" #include "libs/string.hpp" -#define LOAD_GDT() asm("call load_gdt") \ No newline at end of file +/// @brief Various variables from the linker +extern u64 kernel_vma,stack_pma,userspace_pma; + +/// @brief Binary references +extern u64 res_binary_res_terminus_psf_start; +extern u64 res_binary_res_terminus_psf_end; -- cgit v1.2.3