diff options
author | Frans Kaashoek <[email protected]> | 2010-07-23 07:41:13 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2010-07-23 07:41:13 -0400 |
commit | 4714c20521a047fba652854e5bf59158b5d85a4e (patch) | |
tree | 236507e7a400cc93db3a25d2aba3837d6176184f /x86.h | |
parent | 74c82bc1584dda4cee6b0788055a52c32a10b2e0 (diff) | |
download | xv6-labs-4714c20521a047fba652854e5bf59158b5d85a4e.tar.gz xv6-labs-4714c20521a047fba652854e5bf59158b5d85a4e.tar.bz2 xv6-labs-4714c20521a047fba652854e5bf59158b5d85a4e.zip |
Checkpoint page-table version for SMP
Includes code for TLB shootdown (which actually seems unnecessary for xv6)
Diffstat (limited to 'x86.h')
-rw-r--r-- | x86.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -176,6 +176,11 @@ static inline uint resp(void) return val; } +static inline void nop_pause(void) +{ + asm volatile("pause" : :); +} + //PAGEBREAK: 36 // Layout of the trap frame built on the stack by the // hardware and by trapasm.S, and passed to trap(). |