summaryrefslogtreecommitdiff
path: root/nuttx/arch/rgmp/src/x86/sigentry.S
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/rgmp/src/x86/sigentry.S')
-rw-r--r--nuttx/arch/rgmp/src/x86/sigentry.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/rgmp/src/x86/sigentry.S b/nuttx/arch/rgmp/src/x86/sigentry.S
index 98891c026..77214e811 100644
--- a/nuttx/arch/rgmp/src/x86/sigentry.S
+++ b/nuttx/arch/rgmp/src/x86/sigentry.S
@@ -39,11 +39,11 @@
.globl up_sigentry
up_sigentry:
- subl $172, %esp # 172 is the size of TrapFrame
+ subl $172, %esp # 172 is the size of Trapframe without cross ring part
pushl %esp
movl %esp, %eax
call up_sigdeliver
- addl $8, %esp # skip parameter and current_task
+ addl $8, %esp # skip parameter and tf_curregs
frstor 0(%esp)
addl $108, %esp
popal