31#ifndef SMM_CPU_SYNC_LIB_H_
32#define SMM_CPU_SYNC_LIB_H_
VOID EFIAPI SmmCpuSyncWaitForBsp(IN OUT SMM_CPU_SYNC_CONTEXT *Context, IN UINTN CpuIndex, IN UINTN BspIndex)
RETURN_STATUS EFIAPI SmmCpuSyncCheckOutCpu(IN OUT SMM_CPU_SYNC_CONTEXT *Context, IN UINTN CpuIndex)
VOID EFIAPI SmmCpuSyncContextDeinit(IN OUT SMM_CPU_SYNC_CONTEXT *Context)
VOID EFIAPI SmmCpuSyncContextReset(IN OUT SMM_CPU_SYNC_CONTEXT *Context)
VOID EFIAPI SmmCpuSyncWaitForAPs(IN OUT SMM_CPU_SYNC_CONTEXT *Context, IN UINTN NumberOfAPs, IN UINTN BspIndex)
VOID EFIAPI SmmCpuSyncLockDoor(IN OUT SMM_CPU_SYNC_CONTEXT *Context, IN UINTN CpuIndex, OUT UINTN *CpuCount)
RETURN_STATUS EFIAPI SmmCpuSyncContextInit(IN UINTN NumberOfCpus, OUT SMM_CPU_SYNC_CONTEXT **Context)
VOID EFIAPI SmmCpuSyncReleaseBsp(IN OUT SMM_CPU_SYNC_CONTEXT *Context, IN UINTN CpuIndex, IN UINTN BspIndex)
UINTN EFIAPI SmmCpuSyncGetArrivedCpuCount(IN SMM_CPU_SYNC_CONTEXT *Context)
VOID EFIAPI SmmCpuSyncReleaseOneAp(IN OUT SMM_CPU_SYNC_CONTEXT *Context, IN UINTN CpuIndex, IN UINTN BspIndex)
RETURN_STATUS EFIAPI SmmCpuSyncCheckInCpu(IN OUT SMM_CPU_SYNC_CONTEXT *Context, IN UINTN CpuIndex)
SMM_CPU_SYNC_SEMAPHORE * CpuCount