diff options
author | Frans Kaashoek <[email protected]> | 2018-10-09 19:33:06 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2018-10-09 19:33:06 -0400 |
commit | 821ee3fc99b6363d7799d4f5cfa629e36b554dbf (patch) | |
tree | 6ebb7d631acfb00d140efac8fc931b6553aac8d7 | |
parent | 54e6f829e4019e10734588b9ba63c2c186c94f8e (diff) | |
download | xv6-labs-821ee3fc99b6363d7799d4f5cfa629e36b554dbf.tar.gz xv6-labs-821ee3fc99b6363d7799d4f5cfa629e36b554dbf.tar.bz2 xv6-labs-821ee3fc99b6363d7799d4f5cfa629e36b554dbf.zip |
not much
-rw-r--r-- | entryother.S | 2 | ||||
-rw-r--r-- | usys.S | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/entryother.S b/entryother.S index 3e502f3..dd33680 100644 --- a/entryother.S +++ b/entryother.S @@ -39,7 +39,7 @@ start: # 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 # translation, so that the mapping is still the identity mapping. - ljmpl $(KCSEG32), $start32 + ljmpl $(SEG_KCODE32), $start32 .code32 start32: @@ -4,7 +4,7 @@ #define SYSCALL(name) \ .globl name; \ name: \ - movl $SYS_ ## name, %eax; \ + mov $SYS_ ## name, %rax; \ syscall; \ ret |