Remove not_rsp and not_esp.

This commit is contained in:
Pedro Falcato 2016-10-30 12:03:47 +00:00
parent 2d91c7d385
commit 205a3e7156
No known key found for this signature in database
GPG Key ID: 66A1258056225EE4
4 changed files with 0 additions and 8 deletions

View File

@ -70,7 +70,6 @@ struct interrupt_context
uint32_t edi;
uint32_t esi;
uint32_t ebp;
uint32_t not_esp;
uint32_t ebx;
uint32_t edx;
uint32_t ecx;
@ -134,7 +133,6 @@ struct interrupt_context
uint64_t rdi;
uint64_t rsi;
uint64_t rbp;
uint64_t not_rsp;
uint64_t rbx;
uint64_t rdx;
uint64_t rcx;

View File

@ -197,7 +197,6 @@ static void FakeInterruptedContext(struct interrupt_context* intctx, int int_no)
intctx->edi = intctx->edi;
intctx->esi = intctx->esi;
intctx->ebp = intctx->signal_pending;
intctx->not_esp = intctx->not_esp;
intctx->ebx = (uintptr_t) fakectx;
intctx->edx = intctx->edx;
intctx->ecx = intctx->ecx;
@ -225,7 +224,6 @@ static void FakeInterruptedContext(struct interrupt_context* intctx, int int_no)
intctx->rdi = (uintptr_t) fakectx;
intctx->rsi = intctx->rsi;
intctx->rbp = intctx->signal_pending;
intctx->not_rsp = intctx->not_rsp;
intctx->rbx = (uintptr_t) fakectx;
intctx->rdx = intctx->rdx;
intctx->rcx = intctx->rcx;

View File

@ -353,7 +353,6 @@ interrupt_handler_prepare:
pushq %rcx
pushq %rdx
pushq %rbx
pushq %rsp
pushq %rbp
pushq %rsi
pushq %rdi
@ -409,7 +408,6 @@ load_interrupted_registers:
popq %rdi
popq %rsi
popq %rbp
addq $8, %rsp # Don't pop %rsp, may not be defined.
popq %rbx
popq %rdx
popq %rcx

View File

@ -350,7 +350,6 @@ fixup_relocate_stack_complete:
pushl %ecx
pushl %edx
pushl %ebx
pushl %esp
pushl %ebp
pushl %esi
pushl %edi
@ -407,7 +406,6 @@ load_interrupted_registers:
popl %edi
popl %esi
popl %ebp
addl $4, %esp # Don't pop %esp, may not be defined.
popl %ebx
popl %edx
popl %ecx