From a56c8d609b24e4c1c3a8a5bacdced6ae53376ee2 Mon Sep 17 00:00:00 2001 From: Frans Kaashoek Date: Mon, 8 Aug 2011 13:30:08 -0400 Subject: One definition of several macros and constants --- trapasm.S | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'trapasm.S') diff --git a/trapasm.S b/trapasm.S index 1cb2ce6..787727f 100644 --- a/trapasm.S +++ b/trapasm.S @@ -1,6 +1,4 @@ -#define SEG_KCODE 1 // kernel code -#define SEG_KDATA 2 // kernel data+stack -#define SEG_KCPU 3 // kernel per-cpu data +#include "mmu.h" # vectors.S sends all traps here. .globl alltraps -- cgit v1.2.3