Просмотр исходного кода

[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 лет назад
Родитель
Сommit
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

Загрузка…
Отмена
Сохранить