summaryrefslogtreecommitdiffstats
path: root/sys/amd64/isa/icu.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2004-05-16 20:30:47 +0000
committerpeter <peter@FreeBSD.org>2004-05-16 20:30:47 +0000
commitc6a708cab1fe9ed93c6074b3b8eb8d13d2444714 (patch)
treeac59674841a63dcc64ad5a52b994c40c72da21fc /sys/amd64/isa/icu.h
parent5c28654d4937a2c64c6d99289b78f90d81a8c58a (diff)
downloadFreeBSD-src-c6a708cab1fe9ed93c6074b3b8eb8d13d2444714.zip
FreeBSD-src-c6a708cab1fe9ed93c6074b3b8eb8d13d2444714.tar.gz
MFi386: numerous interrupt and acpi updates
Diffstat (limited to 'sys/amd64/isa/icu.h')
-rw-r--r--sys/amd64/isa/icu.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/sys/amd64/isa/icu.h b/sys/amd64/isa/icu.h
index 17d6931..f25fac6 100644
--- a/sys/amd64/isa/icu.h
+++ b/sys/amd64/isa/icu.h
@@ -41,39 +41,9 @@
#ifndef _AMD64_ISA_ICU_H_
#define _AMD64_ISA_ICU_H_
-/*
- * Interrupt enable bits - in normal order of priority (which we change)
- */
-#define IRQ0 0x0001 /* highest priority - timer */
-#define IRQ1 0x0002
-#define IRQ_SLAVE 0x0004
-#define IRQ8 0x0100
-#define IRQ9 0x0200
-#define IRQ2 IRQ9
-#define IRQ10 0x0400
-#define IRQ11 0x0800
-#define IRQ12 0x1000
-#define IRQ13 0x2000
-#define IRQ14 0x4000
-#define IRQ15 0x8000
-#define IRQ3 0x0008 /* this is highest after rotation */
-#define IRQ4 0x0010
-#define IRQ5 0x0020
-#define IRQ6 0x0040
-#define IRQ7 0x0080 /* lowest - parallel printer */
-
-/*
- * Interrupt Control offset into Interrupt descriptor table (IDT)
- */
-#define ICU_OFFSET 32 /* 0-31 are processor exceptions */
-#define ICU_LEN 16 /* 32-47 are ISA interrupts */
#define ICU_IMR_OFFSET 1
-#define ICU_SLAVEID 2
-#define ICU_EOI (OCW2_EOI) /* non-specific EOI */
-#ifndef LOCORE
void atpic_handle_intr(void *cookie, struct intrframe iframe);
void atpic_startup(void);
-#endif
#endif /* !_AMD64_ISA_ICU_H_ */
OpenPOWER on IntegriCloud