Decoupling Architectural-specific Code (#35)
[lunaix-os.git] / lunaix-os / arch / i386 / syscall.S
index bfbf740f940e83971468b62c39fa62395d5a984c..4682df4631d43be0ce206ebbef9a9ef11f947fc4 100644 (file)
@@ -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 */