Updated PCI IDs to latest snapshot.
[tangerine.git] / compiler / include / hardware / pic / pic.h
blob99ed15b97dc98f74761a2376235a3ea6e811295d
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 GenericAPIC /* !! DO NOT USE!! THIS WILL BE REMOVED SOON!! */
35 char *name;
36 IPTR (*probe)();
37 IPTR (*apic_id_registered)();
40 struct PICBase
42 struct Node PICB_Node;
43 struct ExecBase *PICB_SysBase;
44 struct UtilityBase *PICB_UtilBase;
46 BOOL PICB_APIC_Enabled;
47 int PICB_APIC_IRQ_Model;
49 int PICB_APIC_IOAPIC;
50 int PICB_APIC_IOAPIC_Count;
52 int PICB_APIC_LAPIC;
53 APTR PICB_APIC_LAPIC_addr; /* Local APIC address */
56 #endif /* __AROS_PIC_H__ */