From 8be43614e014178bdb6bd1650bf082cd5203cb0e Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 11 Nov 2019 17:29:59 +0100 Subject: PIC: fix EOI values * i386/i386/pic.h (SPECIFIC_EOI, ROT_NON_SPEC, SET_ROT_AEOI, ROT_SPEC_EOI, SET_PRIORITY, NO_OPERATION): Shift value left by one bit. --- i386/i386/pic.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/i386/i386/pic.h b/i386/i386/pic.h index cb421bd5..553c4bcc 100644 --- a/i386/i386/pic.h +++ b/i386/i386/pic.h @@ -145,13 +145,13 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #define NON_SPEC_EOI 0x20 -#define SPECIFIC_EOI 0x30 -#define ROT_NON_SPEC 0x50 -#define SET_ROT_AEOI 0x40 +#define SPECIFIC_EOI 0x60 +#define ROT_NON_SPEC 0xA0 +#define SET_ROT_AEOI 0x80 #define RSET_ROTAEOI 0x00 -#define ROT_SPEC_EOI 0x70 -#define SET_PRIORITY 0x60 -#define NO_OPERATION 0x20 +#define ROT_SPEC_EOI 0xE0 +#define SET_PRIORITY 0xC0 +#define NO_OPERATION 0x40 #define SEND_EOI_IR0 0x00 #define SEND_EOI_IR1 0x01 -- cgit v1.2.3