diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-11-14 13:11:32 +0100 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-11-14 13:11:32 +0100 |
| commit | ef7a34fa88cf53d53f88e5e466d76c48467d95fa (patch) | |
| tree | 948479c77ebbc20b9d4e25abaee43c5a7e264ee1 /asm | |
| parent | 90620094420a74ef43d89f520abcc1eb55db519b (diff) | |
further cleanup of build sys
Diffstat (limited to 'asm')
| -rw-r--r-- | asm/NOTES | 2 | ||||
| -rw-r--r-- | asm/kernel_entry.asm | 20 |
2 files changed, 22 insertions, 0 deletions
diff --git a/asm/NOTES b/asm/NOTES new file mode 100644 index 0000000..23e7ebf --- /dev/null +++ b/asm/NOTES @@ -0,0 +1,2 @@ +files in this directory should not depend on any other files. +Also this is not supported by the build-system by now. diff --git a/asm/kernel_entry.asm b/asm/kernel_entry.asm new file mode 100644 index 0000000..53f63ad --- /dev/null +++ b/asm/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 |
