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