Adapt Makefile, modify some comments
This commit is contained in:
parent
af0fdb77e3
commit
bf801b82fd
3 changed files with 16 additions and 6 deletions
|
@ -1,14 +1,14 @@
|
|||
[BITS 32]
|
||||
|
||||
;Define extern symbole
|
||||
;Define extern symbol
|
||||
extern main
|
||||
|
||||
;Define global symbole
|
||||
;Define entry point as global for linking
|
||||
global _start
|
||||
|
||||
;Define kernel entry point
|
||||
_start:
|
||||
jmp begin ;Go to begin and run main kernel function
|
||||
jmp begin ;Go to begin (for skip Multiboot Specification Header)
|
||||
|
||||
|
||||
;----- Multiboot Specification Header -----
|
||||
|
@ -20,5 +20,5 @@ dd 0x1BADB002
|
|||
|
||||
|
||||
begin:
|
||||
call main ;Run main function
|
||||
call main ;Start kernel
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue