diff options
author | rtm <rtm> | 2007-08-31 19:55:27 +0000 |
---|---|---|
committer | rtm <rtm> | 2007-08-31 19:55:27 +0000 |
commit | ab4cedb5930cb21f0a4810f64be0ab6cfca026f3 (patch) | |
tree | 212ebf675a8a3b3dd0914f5ab8cbf0941dc05c02 /x86.h | |
parent | ef2185247d468309a375b0e16d73e8723cdf29a0 (diff) | |
download | xv6-labs-ab4cedb5930cb21f0a4810f64be0ab6cfca026f3.tar.gz xv6-labs-ab4cedb5930cb21f0a4810f64be0ab6cfca026f3.tar.bz2 xv6-labs-ab4cedb5930cb21f0a4810f64be0ab6cfca026f3.zip |
continuous quality management
Diffstat (limited to 'x86.h')
-rw-r--r-- | x86.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,4 @@ -// Special assembly routines to access x86-specific -// hardware instructions. +// Routines to let C code use special x86 instructions. static inline uchar inb(ushort port) @@ -131,7 +130,8 @@ sti(void) asm volatile("sti"); } -// Layout of the trap frame on the stack upon entry to trap. +// Layout of the trap frame built on the stack by the +// hardware and by trapasm.S, and passed to trap(). struct trapframe { // registers as pushed by pusha uint edi; |