浏览代码

[pic8259] Fix definitions for "read IRR" and "read ISR" commands

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 8 年前
父节点
当前提交
bd6255c7be
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/arch/x86/include/pic8259.h

+ 2
- 2
src/arch/x86/include/pic8259.h 查看文件

37
 
37
 
38
 /* Register command values */
38
 /* Register command values */
39
 #define OCW3_ID 0x08
39
 #define OCW3_ID 0x08
40
-#define OCW3_READ_IRR 0x03
41
-#define OCW3_READ_ISR 0x02
40
+#define OCW3_READ_IRR 0x02
41
+#define OCW3_READ_ISR 0x03
42
 #define ICR_EOI_NON_SPECIFIC 0x20
42
 #define ICR_EOI_NON_SPECIFIC 0x20
43
 #define ICR_EOI_NOP 0x40
43
 #define ICR_EOI_NOP 0x40
44
 #define ICR_EOI_SPECIFIC 0x60
44
 #define ICR_EOI_SPECIFIC 0x60

正在加载...
取消
保存