diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-11-14 11:08:04 +0100 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-11-14 11:08:04 +0100 |
| commit | e3cc5f6c89ba9f37bf2c1edf588d0f75c1d63c57 (patch) | |
| tree | 1c43c3e9ce81f7564beb3a970b88beaa66169946 /boot2/kernel_entry.asm | |
| parent | 2761b620043ad511d9baf66d5478a463aeece77b (diff) | |
rename dirs
Diffstat (limited to 'boot2/kernel_entry.asm')
| -rw-r--r-- | boot2/kernel_entry.asm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/boot2/kernel_entry.asm b/boot2/kernel_entry.asm new file mode 100644 index 0000000..53f63ad --- /dev/null +++ b/boot2/kernel_entry.asm @@ -0,0 +1,20 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;;;;;; Miguel's FoolOS Helper Functions ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +; +; this will be compiled to an object file and linked with the kernel +; to simplify the entrance! +; +; +[bits 32] +[extern kernel_main] + +push 0x1 + +cmp eax,1 +je multiproc +push 0x0 +multiproc: + +push esp +call kernel_main ; jumps in the world of C |
