feat: new syscall: sigpending, sigsuspend
[lunaix-os.git] / lunaix-os / kernel / asm / x86 / interrupt.S
index 7c4067343b054223cd75a7aa19b1bfe3149b9c55..8a43aa7467c114d5cd6d7a31e32ad66b6256bf03 100644 (file)
     soft_iret:
         movl %eax, %esp
 
+#ifdef __ASM_INTR_DIAGNOSIS
+        movl 56(%esp), %eax
+        movl %eax, (debug_resv + 4)
+#endif
+
         popl %eax
         popl %ebx
         popl %ecx