mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
pc: use JMPF instead of indirect jump for going to syscall()
This commit is contained in:
parent
72aa282792
commit
1a73b594e6
1 changed files with 1 additions and 3 deletions
|
@ -1071,11 +1071,9 @@ TEXT _syscallintr(SB), $0
|
|||
MOVW AX, DS
|
||||
MOVW AX, ES
|
||||
|
||||
MOVL $syscall(SB), AX
|
||||
|
||||
PUSHL SP /* Ureg* argument to syscall */
|
||||
PUSHL $forkret(SB) /* return pc */
|
||||
JMP *AX
|
||||
JMPF syscall(SB)
|
||||
|
||||
TEXT vectortable(SB), $0
|
||||
CALL _strayintr(SB); BYTE $0x00 /* divide error */
|
||||
|
|
Loading…
Reference in a new issue