From 75433d155c152b809e9f25b1099fc06d6106308b Mon Sep 17 00:00:00 2001 From: Miguel Date: Sat, 29 Sep 2018 19:57:52 +0200 Subject: improving window compositor --- asm/asm_start.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'asm/asm_start.h') diff --git a/asm/asm_start.h b/asm/asm_start.h index 3315d50..8390b8a 100644 --- a/asm/asm_start.h +++ b/asm/asm_start.h @@ -27,6 +27,11 @@ * * http://wiki.osdev.org/Bare_Bones */ +extern uint32_t kernel_start[]; +extern uint32_t kernel_end[]; + + + /** This will be called by a multiboot compilant boot-loader (i.e. grub2). * Calls kernel_main() passing through eax and ebx: * * eax - magic number @@ -37,3 +42,5 @@ void _start(); /** 16-bit entry point for application processors */ void _start_smp(); +static uint32_t get_kernel_start(){return kernel_start;} +static uint32_t get_kernel_end(){return kernel_end;} -- cgit v1.2.3