summaryrefslogtreecommitdiff
path: root/x86.h
diff options
context:
space:
mode:
authorkaashoek <kaashoek>2006-09-03 15:39:29 +0000
committerkaashoek <kaashoek>2006-09-03 15:39:29 +0000
commit7abf49d2f22af633f2fb3546f9f9fd818cef25df (patch)
treee2c8e235d2d00240a9910e26ee527ae3dee6de0f /x86.h
parent801affcd147606873b10db04c9fbf80dede969f6 (diff)
downloadxv6-labs-7abf49d2f22af633f2fb3546f9f9fd818cef25df.tar.gz
xv6-labs-7abf49d2f22af633f2fb3546f9f9fd818cef25df.tar.bz2
xv6-labs-7abf49d2f22af633f2fb3546f9f9fd818cef25df.zip
remove duplication
don't use the same name for two different pieces of code
Diffstat (limited to 'x86.h')
-rw-r--r--x86.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/x86.h b/x86.h
index 7d3452d..f9e2261 100644
--- a/x86.h
+++ b/x86.h
@@ -151,12 +151,3 @@ struct trapframe {
ushort ss;
ushort padding4;
};
-
-#define MAX_IRQS 16 // Number of IRQs
-
-#define IRQ_OFFSET 32 // IRQ 0 corresponds to int IRQ_OFFSET
-
-#define IRQ_KBD 1
-#define IRQ_IDE 14
-#define IRQ_ERROR 19
-#define IRQ_SPURIOUS 31