X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/b226f5e54a60dc81db17b1260381d7dbfea3cdf1..0a7de7458d150b5d4dffc935ba399be265ef0a1a:/osfmk/i386/apic.h diff --git a/osfmk/i386/apic.h b/osfmk/i386/apic.h index 971e1d092..b8c6d572d 100644 --- a/osfmk/i386/apic.h +++ b/osfmk/i386/apic.h @@ -2,7 +2,7 @@ * Copyright (c) 2008 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ - * + * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in @@ -11,10 +11,10 @@ * unlawful or unlicensed copies of an Apple operating system, or to * circumvent, violate, or enable the circumvention or violation of, any * terms of an Apple operating system software license agreement. - * + * * Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this file. - * + * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, @@ -22,40 +22,39 @@ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. - * + * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ /* * @OSF_COPYRIGHT@ - * + * */ #ifndef _I386_APIC_H_ #define _I386_APIC_H_ -#define IOAPIC_START 0xFEC00000 -#define IOAPIC_SIZE 0x00000020 +#define IOAPIC_START 0xFEC00000 +#define IOAPIC_SIZE 0x00000020 -#define IOAPIC_RSELECT 0x00000000 -#define IOAPIC_RWINDOW 0x00000010 -#define IOA_R_ID 0x00 -#define IOA_R_ID_SHIFT 24 -#define IOA_R_VERSION 0x01 -#define IOA_R_VERSION_MASK 0xFF -#define IOA_R_VERSION_ME_SHIFT 16 -#define IOA_R_VERSION_ME_MASK 0xFF -#define IOA_R_REDIRECTION 0x10 -#define IOA_R_R_VECTOR_MASK 0x000FF -#define IOA_R_R_DM_MASK 0x00700 -#define IOA_R_R_DM_FIXED 0x00000 -#define IOA_R_R_DM_LOWEST 0x00100 -#define IOA_R_R_DM_NMI 0x00400 -#define IOA_R_R_DM_RESET 0x00500 -#define IOA_R_R_DM_EXTINT 0x00700 -#define IOA_R_R_DEST_LOGICAL 0x00800 -#define IOA_R_R_DS_PENDING 0x01000 -#define IOA_R_R_IP_PLRITY_LOW 0x02000 -#define IOA_R_R_TM_LEVEL 0x08000 -#define IOA_R_R_MASKED 0x10000 +#define IOAPIC_RSELECT 0x00000000 +#define IOAPIC_RWINDOW 0x00000010 +#define IOA_R_ID 0x00 +#define IOA_R_ID_SHIFT 24 +#define IOA_R_VERSION 0x01 +#define IOA_R_VERSION_MASK 0xFF +#define IOA_R_VERSION_ME_SHIFT 16 +#define IOA_R_VERSION_ME_MASK 0xFF +#define IOA_R_REDIRECTION 0x10 +#define IOA_R_R_VECTOR_MASK 0x000FF +#define IOA_R_R_DM_MASK 0x00700 +#define IOA_R_R_DM_FIXED 0x00000 +#define IOA_R_R_DM_LOWEST 0x00100 +#define IOA_R_R_DM_NMI 0x00400 +#define IOA_R_R_DM_RESET 0x00500 +#define IOA_R_R_DM_EXTINT 0x00700 +#define IOA_R_R_DEST_LOGICAL 0x00800 +#define IOA_R_R_DS_PENDING 0x01000 +#define IOA_R_R_IP_PLRITY_LOW 0x02000 +#define IOA_R_R_TM_LEVEL 0x08000 +#define IOA_R_R_MASKED 0x10000 #endif /* _I386_APIC_H_ */ -