Commit 205a3e71 authored by heat's avatar heat

Remove not_rsp and not_esp.

parent 2d91c7d3
......@@ -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;
......
......@@ -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;
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment