mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2024-10-27 20:34:19 +00:00
lesson 13 comments
This commit is contained in:
parent
4121d2f266
commit
18c8989d33
@ -1,4 +1,4 @@
|
||||
/* This will force us to create a kernel entry function */
|
||||
/* This will force us to create a kernel entry function instead of jumping to kernel.c:0x00 */
|
||||
void dummy_test_entrypoint() {
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
[bits 32]
|
||||
[extern main] ; Define calling point. Must haveSame name as kernel.c 'main' function
|
||||
[extern main] ; Define calling point. Must have same name as kernel.c 'main' function
|
||||
call main ; Calls the C function. The linker will know where it is placed in memory
|
||||
jmp $
|
||||
|
Loading…
Reference in New Issue
Block a user