|
@@ -143,7 +143,7 @@ ENTRY(ia32_sysenter_target)
|
|
CFI_REL_OFFSET rip,0
|
|
CFI_REL_OFFSET rip,0
|
|
pushq_cfi %rax
|
|
pushq_cfi %rax
|
|
cld
|
|
cld
|
|
- SAVE_ARGS 0,0,1
|
|
|
|
|
|
+ SAVE_ARGS 0,1,0
|
|
/* no need to do an access_ok check here because rbp has been
|
|
/* no need to do an access_ok check here because rbp has been
|
|
32bit zero extended */
|
|
32bit zero extended */
|
|
1: movl (%rbp),%ebp
|
|
1: movl (%rbp),%ebp
|
|
@@ -289,7 +289,7 @@ ENTRY(ia32_cstar_target)
|
|
* disabled irqs and here we enable it straight after entry:
|
|
* disabled irqs and here we enable it straight after entry:
|
|
*/
|
|
*/
|
|
ENABLE_INTERRUPTS(CLBR_NONE)
|
|
ENABLE_INTERRUPTS(CLBR_NONE)
|
|
- SAVE_ARGS 8,1,1
|
|
|
|
|
|
+ SAVE_ARGS 8,0,0
|
|
movl %eax,%eax /* zero extension */
|
|
movl %eax,%eax /* zero extension */
|
|
movq %rax,ORIG_RAX-ARGOFFSET(%rsp)
|
|
movq %rax,ORIG_RAX-ARGOFFSET(%rsp)
|
|
movq %rcx,RIP-ARGOFFSET(%rsp)
|
|
movq %rcx,RIP-ARGOFFSET(%rsp)
|
|
@@ -419,7 +419,7 @@ ENTRY(ia32_syscall)
|
|
cld
|
|
cld
|
|
/* note the registers are not zero extended to the sf.
|
|
/* note the registers are not zero extended to the sf.
|
|
this could be a problem. */
|
|
this could be a problem. */
|
|
- SAVE_ARGS 0,0,1
|
|
|
|
|
|
+ SAVE_ARGS 0,1,0
|
|
GET_THREAD_INFO(%r10)
|
|
GET_THREAD_INFO(%r10)
|
|
orl $TS_COMPAT,TI_status(%r10)
|
|
orl $TS_COMPAT,TI_status(%r10)
|
|
testl $_TIF_WORK_SYSCALL_ENTRY,TI_flags(%r10)
|
|
testl $_TIF_WORK_SYSCALL_ENTRY,TI_flags(%r10)
|