Code cleanup
This commit is contained in:
parent
018cdae162
commit
c7944c91da
|
@ -77,29 +77,29 @@ _start:
|
||||||
cmp $0x0, %eax
|
cmp $0x0, %eax
|
||||||
jne 2f
|
jne 2f
|
||||||
|
|
||||||
/* start the kernel */
|
/* prepare the arguments */
|
||||||
push $0x0
|
push $0x0
|
||||||
push $0x0
|
push $0x0
|
||||||
mov %ebx, %eax
|
mov %ebx, %eax
|
||||||
add $0x10, %eax
|
add $0x10, %eax
|
||||||
push %eax
|
push %eax
|
||||||
push $0x1
|
push $0x1
|
||||||
call main
|
|
||||||
add $0x10, %esp
|
|
||||||
jmp 2f
|
jmp 2f
|
||||||
|
|
||||||
1:
|
1:
|
||||||
/* FIXME setup paging */
|
/* FIXME setup paging */
|
||||||
|
|
||||||
|
/* prepare the arguments */
|
||||||
|
push $0x0
|
||||||
|
push $0x0
|
||||||
|
push $0x0
|
||||||
|
push $0x0
|
||||||
|
|
||||||
|
2:
|
||||||
/* start the kernel */
|
/* start the kernel */
|
||||||
push $0x0
|
|
||||||
push $0x0
|
|
||||||
push $0x0
|
|
||||||
push $0x0
|
|
||||||
call main
|
call main
|
||||||
add $0x10, %esp
|
add $0x10, %esp
|
||||||
|
|
||||||
2:
|
|
||||||
/* exit the kernel */
|
/* exit the kernel */
|
||||||
push %eax
|
push %eax
|
||||||
call exit
|
call exit
|
||||||
|
|
Loading…
Reference in New Issue
Block a user