revert between 56095 -> 55830 in arch
[AROS.git] / arch / all-pc / kernel / i8259a.h
blob35d98524c6908a54dde7a06445c6d7bb03e2eee5
1 #ifndef KERNEL_I8259A_H
2 #define KERNEL_I8259A_H
3 /*
4 Copyright © 2017, The AROS Development Team. All rights reserved.
5 $Id$
7 Desc: Intel 8259a "XT-PIC" definitions.
8 Lang: english
9 */
11 #include <aros/macros.h>
12 #include <inttypes.h>
14 #define I8259A_IRQCOUNT 16
16 #define MASTER8259_CMDREG 0x20
17 #define MASTER8259_MASKREG 0x21
18 #define SLAVE8259_CMDREG 0xA0
19 #define SLAVE8259_MASKREG 0xA1
21 #define ICTYPE_I8259A AROS_MAKE_ID('8','2','5','9')
23 BOOL i8259a_Probe();
24 void i8259a_Disable();
26 extern struct IntrController i8259a_IntrController;
28 #endif /* !KERNEL_I8259A_H */