diff options
Diffstat (limited to 'x86.h')
-rw-r--r-- | x86.h | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -125,28 +125,31 @@ sti(void) } struct trapframe { - /* registers as pushed by pusha */ + // registers as pushed by pusha uint edi; uint esi; uint ebp; - uint oesp; /* Useless */ + uint oesp; // useless & ignored uint ebx; uint edx; uint ecx; uint eax; - /* rest of trap frame */ + + // rest of trap frame ushort es; ushort padding1; ushort ds; ushort padding2; uint trapno; - /* below here defined by x86 hardware */ + + // below here defined by x86 hardware uint err; uint eip; ushort cs; ushort padding3; uint eflags; - /* below here only when crossing rings, such as from user to kernel */ + + // below here only when crossing rings, such as from user to kernel uint esp; ushort ss; ushort padding4; |