From 4714c20521a047fba652854e5bf59158b5d85a4e Mon Sep 17 00:00:00 2001 From: Frans Kaashoek Date: Fri, 23 Jul 2010 07:41:13 -0400 Subject: Checkpoint page-table version for SMP Includes code for TLB shootdown (which actually seems unnecessary for xv6) --- traps.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'traps.h') 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 -- cgit v1.2.3