TianoCore EDK2 master
Loading...
Searching...
No Matches
SmmCpuSyncLib.h
Go to the documentation of this file.
1
31#ifndef SMM_CPU_SYNC_LIB_H_
32#define SMM_CPU_SYNC_LIB_H_
33
34#include <Uefi/UefiBaseType.h>
35
36//
37// Opaque structure for SMM CPU Sync context.
38//
40
56RETURN_STATUS
57EFIAPI
61 );
62
72VOID
73EFIAPI
76 );
77
89VOID
90EFIAPI
93 );
94
108UINTN
109EFIAPI
111 IN SMM_CPU_SYNC_CONTEXT *Context
112 );
113
129RETURN_STATUS
130EFIAPI
132 IN OUT SMM_CPU_SYNC_CONTEXT *Context,
133 IN UINTN CpuIndex
134 );
135
152RETURN_STATUS
153EFIAPI
155 IN OUT SMM_CPU_SYNC_CONTEXT *Context,
156 IN UINTN CpuIndex
157 );
158
176VOID
177EFIAPI
179 IN OUT SMM_CPU_SYNC_CONTEXT *Context,
180 IN UINTN CpuIndex,
182 );
183
205VOID
206EFIAPI
208 IN OUT SMM_CPU_SYNC_CONTEXT *Context,
209 IN UINTN NumberOfAPs,
210 IN UINTN BspIndex
211 );
212
229VOID
230EFIAPI
232 IN OUT SMM_CPU_SYNC_CONTEXT *Context,
233 IN UINTN CpuIndex,
234 IN UINTN BspIndex
235 );
236
258VOID
259EFIAPI
261 IN OUT SMM_CPU_SYNC_CONTEXT *Context,
262 IN UINTN CpuIndex,
263 IN UINTN BspIndex
264 );
265
282VOID
283EFIAPI
285 IN OUT SMM_CPU_SYNC_CONTEXT *Context,
286 IN UINTN CpuIndex,
287 IN UINTN BspIndex
288 );
289
290#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
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
Definition: SmmCpuSyncLib.c:72