From ee9c7f3bfc45563e4caebcb7995e75bf39a8e0f3 Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 17 Jul 2006 01:36:39 +0000 Subject: goodbye PushRegs --- x86.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'x86.h') diff --git a/x86.h b/x86.h index a25d875..267c2da 100644 --- a/x86.h +++ b/x86.h @@ -339,7 +339,7 @@ sti(void) __asm__ volatile("sti"); } -struct PushRegs { +struct Trapframe { /* registers as pushed by pusha */ uint32_t edi; uint32_t esi; @@ -349,10 +349,7 @@ struct PushRegs { uint32_t edx; uint32_t ecx; uint32_t eax; -}; - -struct Trapframe { - struct PushRegs regs; + /* rest of trap frame */ uint16_t es; uint16_t padding1; uint16_t ds; -- cgit v1.2.3