git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Decoupling Architectural-specific Code (#35)
[lunaix-os.git]
/
lunaix-os
/
arch
/
i386
/
syscall.S
diff --git
a/lunaix-os/arch/i386/syscall.S
b/lunaix-os/arch/i386/syscall.S
index bfbf740f940e83971468b62c39fa62395d5a984c..4682df4631d43be0ce206ebbef9a9ef11f947fc4 100644
(file)
--- a/
lunaix-os/arch/i386/syscall.S
+++ b/
lunaix-os/arch/i386/syscall.S
@@
-83,7
+83,7
@@
syscall_hndlr:
pushl %ebp
movl %esp, %ebp
- movl 8(%esp), %ebx //
isr_param
*
+ movl 8(%esp), %ebx //
struct hart_state
*
addl $4, %ebx
movl (%ebx), %eax /* eax: call code as well as the return value from syscall */