summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2019-11-11 17:29:59 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-11-11 17:29:59 +0100
commit8be43614e014178bdb6bd1650bf082cd5203cb0e (patch)
treec1797054b362cfa483ec4f97e89c70a33dfc07be
parent3693b18c744c597326a2cd38b8d1605240771805 (diff)
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.
-rw-r--r--i386/i386/pic.h12
1 files 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