2 Definitions to install Multiple Processor PPI.
4 Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef _CPU_MP_PEI_H_
16 #define _CPU_MP_PEI_H_
21 #include <Library/BaseLib.h>
22 #include <Library/HobLib.h>
23 #include <Library/PeimEntryPoint.h>
24 #include <Library/UefiCpuLib.h>
40 UINT32 DefaultSize
: 1;
41 UINT32 Granularity
: 1;
48 // MP CPU exchange information for AP reset code
55 IA32_DESCRIPTOR GdtrProfile
;
56 IA32_DESCRIPTOR IdtrProfile
;
59 UINTN NumApsExecuting
;
62 } MP_CPU_EXCHANGE_INFO
;
66 Assembly code to load GDT table and update segment accordingly.
68 @param Gdtr Pointer to GDT descriptor
73 IN IA32_DESCRIPTOR
*Gdtr