summaryrefslogtreecommitdiff
path: root/traps.h
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2010-07-23 07:41:13 -0400
committerFrans Kaashoek <[email protected]>2010-07-23 07:41:13 -0400
commit4714c20521a047fba652854e5bf59158b5d85a4e (patch)
tree236507e7a400cc93db3a25d2aba3837d6176184f /traps.h
parent74c82bc1584dda4cee6b0788055a52c32a10b2e0 (diff)
downloadxv6-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 'traps.h')
-rw-r--r--traps.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/traps.h b/traps.h
index f450c2d..4422d74 100644
--- a/traps.h
+++ b/traps.h
@@ -24,7 +24,8 @@
// These are arbitrarily chosen, but with care not to overlap
// processor defined exceptions or interrupt vectors.
-#define T_SYSCALL 64 // system call
+#define T_SYSCALL 64 // system call
+#define T_TLBFLUSH 65 // flush TLB
#define T_DEFAULT 500 // catchall
#define T_IRQ0 32 // IRQ 0 corresponds to int T_IRQ