• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1;------------------------------------------------------------------------------ ;
2; Copyright (c) 2015 - 2016, 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
21VacantFlag                    equ        00h
22NotVacantFlag                 equ        0ffh
23
24CPU_SWITCH_STATE_IDLE         equ        0
25CPU_SWITCH_STATE_STORED       equ        1
26CPU_SWITCH_STATE_LOADED       equ        2
27
28LockLocation                  equ        (RendezvousFunnelProcEnd - RendezvousFunnelProcStart)
29StackStartAddressLocation     equ        LockLocation + 04h
30StackSizeLocation             equ        LockLocation + 08h
31ApProcedureLocation           equ        LockLocation + 0Ch
32GdtrLocation                  equ        LockLocation + 10h
33IdtrLocation                  equ        LockLocation + 16h
34BufferStartLocation           equ        LockLocation + 1Ch
35ModeOffsetLocation            equ        LockLocation + 20h
36NumApsExecutingLocation       equ        LockLocation + 24h
37CodeSegmentLocation           equ        LockLocation + 28h
38DataSegmentLocation           equ        LockLocation + 2Ch
39EnableExecuteDisableLocation  equ        LockLocation + 30h
40Cr3Location                   equ        LockLocation + 34h
41InitFlagLocation              equ        LockLocation + 38h
42CpuInfoLocation               equ        LockLocation + 3Ch
43
44