UefiCpuPkg/MpInitLib: Fix X64 XCODE5/NASM compatibility issues
[mirror_edk2.git] / UefiCpuPkg / Library / MpInitLib / X64 / MpEqu.inc
CommitLineData
d94e5f67 1;------------------------------------------------------------------------------ ;\r
3b2928b4 2; Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>\r
d94e5f67
JF
3; This program and the accompanying materials\r
4; are licensed and made available under the terms and conditions of the BSD License\r
5; which accompanies this distribution. The full text of the license may be found at\r
6; http://opensource.org/licenses/bsd-license.php.\r
7;\r
8; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
9; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
10;\r
11; Module Name:\r
12;\r
13; MpEqu.inc\r
14;\r
15; Abstract:\r
16;\r
17; This is the equates file for Multiple Processor support\r
18;\r
19;-------------------------------------------------------------------------------\r
20\r
21VacantFlag equ 00h\r
22NotVacantFlag equ 0ffh\r
23\r
24CPU_SWITCH_STATE_IDLE equ 0\r
25CPU_SWITCH_STATE_STORED equ 1\r
26CPU_SWITCH_STATE_LOADED equ 2\r
27\r
28LockLocation equ (RendezvousFunnelProcEnd - RendezvousFunnelProcStart)\r
29StackStartAddressLocation equ LockLocation + 08h\r
30StackSizeLocation equ LockLocation + 10h\r
31ApProcedureLocation equ LockLocation + 18h\r
32GdtrLocation equ LockLocation + 20h\r
33IdtrLocation equ LockLocation + 2Ah\r
34BufferStartLocation equ LockLocation + 34h\r
35ModeOffsetLocation equ LockLocation + 3Ch\r
8396e2dd 36NumApsExecutingLocation equ LockLocation + 44h\r
d94e5f67
JF
37CodeSegmentLocation equ LockLocation + 4Ch\r
38DataSegmentLocation equ LockLocation + 54h\r
5c66d125
JF
39EnableExecuteDisableLocation equ LockLocation + 5Ch\r
40Cr3Location equ LockLocation + 64h\r
46d4b885
JF
41InitFlagLocation equ LockLocation + 6Ch\r
42CpuInfoLocation equ LockLocation + 74h\r
3b2928b4 43InitializeFloatingPointUnitsAddress equ LockLocation + 84h\r
5c66d125 44\r