not much
This commit is contained in:
parent
54e6f829e4
commit
821ee3fc99
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ start:
|
||||||
# Complete the transition to 32-bit protected mode by using a long jmp
|
# Complete the transition to 32-bit protected mode by using a long jmp
|
||||||
# to reload %cs and %eip. The segment descriptors are set up with no
|
# to reload %cs and %eip. The segment descriptors are set up with no
|
||||||
# translation, so that the mapping is still the identity mapping.
|
# translation, so that the mapping is still the identity mapping.
|
||||||
ljmpl $(KCSEG32), $start32
|
ljmpl $(SEG_KCODE32), $start32
|
||||||
|
|
||||||
.code32
|
.code32
|
||||||
start32:
|
start32:
|
||||||
|
|
2
usys.S
2
usys.S
|
@ -4,7 +4,7 @@
|
||||||
#define SYSCALL(name) \
|
#define SYSCALL(name) \
|
||||||
.globl name; \
|
.globl name; \
|
||||||
name: \
|
name: \
|
||||||
movl $SYS_ ## name, %eax; \
|
mov $SYS_ ## name, %rax; \
|
||||||
syscall; \
|
syscall; \
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue