fix: correction assembler system.S
This commit is contained in:
parent
32af566aec
commit
edaae1d4c2
|
@ -11,16 +11,16 @@
|
||||||
.section ".text"
|
.section ".text"
|
||||||
.global startup_32
|
.global startup_32
|
||||||
startup_32:
|
startup_32:
|
||||||
ljmp SEL_KERNEL_CODE,$suite
|
ljmp $SEL_KERNEL_CODE,$suite
|
||||||
suite:
|
suite:
|
||||||
movw SEL_KERNEL_DATA, %ax
|
movw $SEL_KERNEL_DATA, %ax
|
||||||
movw %ax, %ds
|
movw %ax, %ds
|
||||||
movw %ax, %es
|
movw %ax, %es
|
||||||
movw %ax, %fs
|
movw %ax, %fs
|
||||||
movw %ax, %gs
|
movw %ax, %gs
|
||||||
movw SEL_KERNEL_STACK, %ax
|
movw $SEL_KERNEL_STACK, %ax
|
||||||
movw %ax, %ss
|
movw %ax, %ss
|
||||||
movl KERNEL_STACK_ADDR, %esp
|
movl $KERNEL_STACK_ADDR, %esp
|
||||||
xor %eax,%eax
|
xor %eax,%eax
|
||||||
xor %ebx,%ebx
|
xor %ebx,%ebx
|
||||||
xor %ecx,%ecx
|
xor %ecx,%ecx
|
||||||
|
|
Loading…
Reference in New Issue