summaryrefslogtreecommitdiff
path: root/asm/asm_start.h
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-09-29 19:57:52 +0200
committerMiguel <m.i@gmx.at>2018-09-29 19:57:52 +0200
commit75433d155c152b809e9f25b1099fc06d6106308b (patch)
treef4f84309e6cf2aa9bc0d9df5ae532b94a60fea0f /asm/asm_start.h
parent73e80bf4b6c69b92a04b525f114a072a1c4b0d3a (diff)
improving window compositor
Diffstat (limited to 'asm/asm_start.h')
-rw-r--r--asm/asm_start.h7
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;}