]>
Commit | Line | Data |
---|---|---|
1c79356b | 1 | /* |
593a1d5f | 2 | * Copyright (c) 2008 Apple Inc. All rights reserved. |
1c79356b | 3 | * |
2d21ac55 | 4 | * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ |
0a7de745 | 5 | * |
2d21ac55 A |
6 | * This file contains Original Code and/or Modifications of Original Code |
7 | * as defined in and that are subject to the Apple Public Source License | |
8 | * Version 2.0 (the 'License'). You may not use this file except in | |
9 | * compliance with the License. The rights granted to you under the License | |
10 | * may not be used to create, or enable the creation or redistribution of, | |
11 | * unlawful or unlicensed copies of an Apple operating system, or to | |
12 | * circumvent, violate, or enable the circumvention or violation of, any | |
13 | * terms of an Apple operating system software license agreement. | |
0a7de745 | 14 | * |
2d21ac55 A |
15 | * Please obtain a copy of the License at |
16 | * http://www.opensource.apple.com/apsl/ and read it before using this file. | |
0a7de745 | 17 | * |
2d21ac55 A |
18 | * The Original Code and all software distributed under the License are |
19 | * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER | |
8f6c56a5 A |
20 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, |
21 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
2d21ac55 A |
22 | * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. |
23 | * Please see the License for the specific language governing rights and | |
24 | * limitations under the License. | |
0a7de745 | 25 | * |
2d21ac55 | 26 | * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ |
1c79356b A |
27 | */ |
28 | /* | |
29 | * @OSF_COPYRIGHT@ | |
0a7de745 | 30 | * |
1c79356b | 31 | */ |
91447636 A |
32 | #ifndef _I386_APIC_H_ |
33 | #define _I386_APIC_H_ | |
1c79356b | 34 | |
0a7de745 A |
35 | #define IOAPIC_START 0xFEC00000 |
36 | #define IOAPIC_SIZE 0x00000020 | |
1c79356b | 37 | |
0a7de745 A |
38 | #define IOAPIC_RSELECT 0x00000000 |
39 | #define IOAPIC_RWINDOW 0x00000010 | |
40 | #define IOA_R_ID 0x00 | |
41 | #define IOA_R_ID_SHIFT 24 | |
42 | #define IOA_R_VERSION 0x01 | |
43 | #define IOA_R_VERSION_MASK 0xFF | |
44 | #define IOA_R_VERSION_ME_SHIFT 16 | |
45 | #define IOA_R_VERSION_ME_MASK 0xFF | |
46 | #define IOA_R_REDIRECTION 0x10 | |
47 | #define IOA_R_R_VECTOR_MASK 0x000FF | |
48 | #define IOA_R_R_DM_MASK 0x00700 | |
49 | #define IOA_R_R_DM_FIXED 0x00000 | |
50 | #define IOA_R_R_DM_LOWEST 0x00100 | |
51 | #define IOA_R_R_DM_NMI 0x00400 | |
52 | #define IOA_R_R_DM_RESET 0x00500 | |
53 | #define IOA_R_R_DM_EXTINT 0x00700 | |
54 | #define IOA_R_R_DEST_LOGICAL 0x00800 | |
55 | #define IOA_R_R_DS_PENDING 0x01000 | |
56 | #define IOA_R_R_IP_PLRITY_LOW 0x02000 | |
57 | #define IOA_R_R_TM_LEVEL 0x08000 | |
58 | #define IOA_R_R_MASKED 0x10000 | |
91447636 A |
59 | |
60 | #endif /* _I386_APIC_H_ */ |