summaryrefslogtreecommitdiffstats
path: root/src/arch
diff options
context:
space:
mode:
authorMichael Brown2017-01-25 08:32:38 +0100
committerMichael Brown2017-01-25 08:37:04 +0100
commitbd6255c7be152ea3451dcd6f4175e250bf755f67 (patch)
treea95a432a07619dba00315119ccfaa74d1fdb0174 /src/arch
parent[hyperv] Ignore unsolicited VMBus messages (diff)
downloadipxe-bd6255c7be152ea3451dcd6f4175e250bf755f67.tar.gz
ipxe-bd6255c7be152ea3451dcd6f4175e250bf755f67.tar.xz
ipxe-bd6255c7be152ea3451dcd6f4175e250bf755f67.zip
[pic8259] Fix definitions for "read IRR" and "read ISR" commands
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/include/pic8259.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/include/pic8259.h b/src/arch/x86/include/pic8259.h
index f02e6290..dbec5fd2 100644
--- a/src/arch/x86/include/pic8259.h
+++ b/src/arch/x86/include/pic8259.h
@@ -37,8 +37,8 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
/* Register command values */
#define OCW3_ID 0x08
-#define OCW3_READ_IRR 0x03
-#define OCW3_READ_ISR 0x02
+#define OCW3_READ_IRR 0x02
+#define OCW3_READ_ISR 0x03
#define ICR_EOI_NON_SPECIFIC 0x20
#define ICR_EOI_NOP 0x40
#define ICR_EOI_SPECIFIC 0x60