diff options
author | rsc <rsc> | 2006-09-07 14:12:30 +0000 |
---|---|---|
committer | rsc <rsc> | 2006-09-07 14:12:30 +0000 |
commit | 31085bb4166c18b3dee059160d64b4edd7c5e2f4 (patch) | |
tree | d3b166a2c39f77e06e7104659b537521282f9260 /x86.h | |
parent | 7e019461c8bf0afbe73f959ca3394cce832501fd (diff) | |
download | xv6-labs-31085bb4166c18b3dee059160d64b4edd7c5e2f4.tar.gz xv6-labs-31085bb4166c18b3dee059160d64b4edd7c5e2f4.tar.bz2 xv6-labs-31085bb4166c18b3dee059160d64b4edd7c5e2f4.zip |
more comments
Diffstat (limited to 'x86.h')
-rw-r--r-- | x86.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,3 +1,6 @@ +// Special assembly routines to access x86-specific +// hardware instructions. + static __inline uchar inb(int port) { @@ -124,6 +127,7 @@ sti(void) __asm__ volatile("sti"); } +// Layout of the trap frame on the stack upon entry to trap. struct trapframe { // registers as pushed by pusha uint edi; |