revert between 56095 -> 55830 in arch
[AROS.git] / compiler / include / hardware / pic / pic.h
blobf565b4cb0c3f2594bfd175a1caed023f3ff3a256
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: AROS PIC/APIC Definitions.
6 Lang: english
7 */
8 #ifndef __AROS_PIC_H__
9 #define __AROS_PIC_H__
11 #ifndef EXEC_LISTS_H
12 # include <exec/lists.h>
13 #endif
14 #ifndef EXEC_SEMAPHORES
15 # include <exec/semaphores.h>
16 #endif
17 #ifndef UTILITY_HOOKS_H
18 # include <utility/hooks.h>
19 #endif
21 #define MAX_IO_APICS 32
23 enum PIC_TYPES
25 PIC_TYPE_8259 = 0,
26 PIC_TYPE_IOAPIC,
27 PIC_TYPE_IOSAPIC,
28 PIC_TYPE_COUNT
31 /********** APIC DEFINITIONS ****************/
33 struct PICBase
35 struct Node PICB_Node;
36 struct ExecBase *PICB_SysBase;
37 struct UtilityBase *PICB_UtilBase;
39 BOOL PICB_APIC_Enabled;
40 int PICB_APIC_IRQ_Model;
42 int PICB_APIC_IOAPIC;
43 int PICB_APIC_IOAPIC_Count;
45 int PICB_APIC_LAPIC;
46 APTR PICB_APIC_LAPIC_addr; /* Local APIC address */
49 #endif /* __AROS_PIC_H__ */