diff options
author | Jeff Fan <jeff.fan@intel.com> | 2015-07-15 03:38:35 +0000 |
---|---|---|
committer | vanjeff <vanjeff@Edk2> | 2015-07-15 03:38:35 +0000 |
commit | 7d51bf5c4e029bdc4c755b8591188b685c3d2927 (patch) | |
tree | 3939f08aab54eec22a074732cdac8494e4bd4fc2 /UefiCpuPkg/CpuMpPei/CpuMpPei.h | |
parent | f79fcf45227b9f002b6a8aebdf2dc6e4cd353760 (diff) | |
download | edk2-7d51bf5c4e029bdc4c755b8591188b685c3d2927.tar.gz edk2-7d51bf5c4e029bdc4c755b8591188b685c3d2927.tar.bz2 edk2-7d51bf5c4e029bdc4c755b8591188b685c3d2927.zip |
UefiCpuPkg/CpuMpPei: Wakeup APs and collect AP count
BSP will send broadcast INIT Startup IPI to all APs and collect APs count and
BIST information.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17997 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UefiCpuPkg/CpuMpPei/CpuMpPei.h')
-rw-r--r-- | UefiCpuPkg/CpuMpPei/CpuMpPei.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/UefiCpuPkg/CpuMpPei/CpuMpPei.h b/UefiCpuPkg/CpuMpPei/CpuMpPei.h index 1219e4ea5a..3194f1f0fa 100644 --- a/UefiCpuPkg/CpuMpPei/CpuMpPei.h +++ b/UefiCpuPkg/CpuMpPei/CpuMpPei.h @@ -27,6 +27,8 @@ #include <Library/PcdLib.h> #include <Library/PeimEntryPoint.h> #include <Library/PeiServicesLib.h> +#include <Library/SynchronizationLib.h> +#include <Library/TimerLib.h> #include <Library/UefiCpuLib.h> // // AP state @@ -85,6 +87,7 @@ typedef struct { UINTN NumApsExecuting; UINTN LmodeOffset; UINTN Cr3; + PEI_CPU_MP_DATA *PeiCpuMpData; } MP_CPU_EXCHANGE_INFO; #pragma pack() @@ -108,6 +111,10 @@ struct _PEI_CPU_MP_DATA { UINTN WakeupBuffer; UINTN BackupBuffer; UINTN BackupBufferSize; + UINTN ApFunction; + UINTN ApFunctionArgument; + volatile UINT32 FinishedCount; + BOOLEAN InitFlag; PEI_CPU_DATA *CpuData; volatile MP_CPU_EXCHANGE_INFO *MpCpuExchangeInfo; }; |