diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/kernel/arch/i386/sysenter.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/arch/i386/sysenter.s b/src/kernel/arch/i386/sysenter.s index 5630c3b..0cfeb10 100644 --- a/src/kernel/arch/i386/sysenter.s +++ b/src/kernel/arch/i386/sysenter.s @@ -9,8 +9,8 @@ .global sysexit .type sysexit, @function sysexit: - pop %ecx - pop %edx + mov 4(%esp), %edx + mov 8(%esp), %ecx mov $(SEG_r3data << 3 | 3), %ax mov %ax, %ds |