diff options
Diffstat (limited to 'asm/asm_start.h')
| -rw-r--r-- | asm/asm_start.h | 7 |
1 files changed, 7 insertions, 0 deletions
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;} |
