TianoCore EDK2 master
Loading...
Searching...
No Matches
FspCommonLib.h
Go to the documentation of this file.
1
8#ifndef _FSP_COMMON_LIB_H_
9#define _FSP_COMMON_LIB_H_
10
11#include <FspGlobalData.h>
12#include <FspMeasurePointId.h>
13
20VOID
21EFIAPI
23 IN FSP_GLOBAL_DATA *FspData
24 );
25
31EFIAPI
33 VOID
34 );
35
42EFIAPI
44 VOID
45 );
46
53EFIAPI
55 VOID
56 );
57
63VOID *
64EFIAPI
66 VOID
67 );
68
75VOID
76EFIAPI
78 IN UINT32 Value
79 );
80
87VOID
88EFIAPI
90 IN UINTN ReturnStatus
91 );
92
99VOID
100EFIAPI
102 IN VOID *NewStackTop
103 );
104
111VOID
112EFIAPI
114 IN VOID *PlatformData
115 );
116
123VOID *
124EFIAPI
126 VOID
127 );
128
134VOID
135EFIAPI
137 IN VOID *UpdDataPtr
138 );
139
145VOID *
146EFIAPI
148 VOID
149 );
150
156VOID
157EFIAPI
159 IN VOID *MemoryInitUpdPtr
160 );
161
167VOID *
168EFIAPI
170 VOID
171 );
172
178VOID
179EFIAPI
181 IN VOID *SiliconInitUpdPtr
182 );
183
189VOID *
190EFIAPI
192 VOID
193 );
194
200VOID
201EFIAPI
203 IN VOID *SmmInitUpdPtr
204 );
205
211VOID *
212EFIAPI
214 VOID
215 );
216
224UINT64
225EFIAPI
227 IN UINT8 Id
228 );
229
236EFIAPI
238 VOID
239 );
240
246VOID
247EFIAPI
249 FSP_INFO_HEADER *FspInfoHeader
250 );
251
258EFIAPI
260 VOID
261 );
262
268VOID *
269EFIAPI
271 VOID
272 );
273
279UINT8
280EFIAPI
282 VOID
283 );
284
290VOID
291EFIAPI
293 UINT8 Index
294 );
295
301UINT32
302EFIAPI
304 VOID
305 );
306
312VOID
313EFIAPI
315 UINT32 StatusCode
316 );
317
324VOID
325EFIAPI
327 IN EFI_STATUS FspResetType
328 );
329
330#endif
UINT64 UINTN
VOID EFIAPI SetFspApiReturnStatus(IN UINTN ReturnStatus)
Definition: FspCommonLib.c:160
FSP_GLOBAL_DATA *EFIAPI GetFspGlobalDataPointer(VOID)
Definition: FspCommonLib.c:73
UINT8 EFIAPI GetFspApiCallingIndex(VOID)
Definition: FspCommonLib.c:500
VOID EFIAPI SetFspMemoryInitUpdDataPointer(IN VOID *MemoryInitUpdPtr)
Definition: FspCommonLib.c:285
UINTN EFIAPI GetFspApiParameter2(VOID)
Definition: FspCommonLib.c:124
VOID EFIAPI SetFspUpdDataPointer(IN VOID *UpdDataPtr)
Definition: FspCommonLib.c:244
UINTN EFIAPI GetFspApiParameter(VOID)
Definition: FspCommonLib.c:90
VOID EFIAPI SetFspGlobalDataPointer(IN FSP_GLOBAL_DATA *FspData)
Definition: FspCommonLib.c:59
FSP_INFO_HEADER *EFIAPI GetFspInfoHeaderFromApiContext(VOID)
Definition: FspCommonLib.c:466
VOID *EFIAPI GetFspCfgRegionDataPointer(VOID)
Definition: FspCommonLib.c:483
VOID *EFIAPI GetFspSiliconInitUpdDataPointer(VOID)
Definition: FspCommonLib.c:350
UINT64 EFIAPI SetFspMeasurePoint(IN UINT8 Id)
Definition: FspCommonLib.c:411
UINT32 EFIAPI GetPhaseStatusCode(VOID)
Definition: FspCommonLib.c:531
VOID EFIAPI SetPhaseStatusCode(UINT32 StatusCode)
Definition: FspCommonLib.c:545
VOID EFIAPI SetFspSmmInitUpdDataPointer(IN VOID *SmmInitUpdPtr)
Definition: FspCommonLib.c:367
VOID EFIAPI SetFspApiCallingIndex(UINT8 Index)
Definition: FspCommonLib.c:514
VOID *EFIAPI GetFspEntryStack(VOID)
Definition: FspCommonLib.c:107
FSP_INFO_HEADER *EFIAPI GetFspInfoHeader(VOID)
Definition: FspCommonLib.c:438
VOID *EFIAPI GetFspUpdDataPointer(VOID)
Definition: FspCommonLib.c:268
VOID EFIAPI SetFspApiParameter(IN UINT32 Value)
Definition: FspCommonLib.c:142
VOID EFIAPI SetFspInfoHeader(FSP_INFO_HEADER *FspInfoHeader)
Definition: FspCommonLib.c:452
VOID *EFIAPI GetFspMemoryInitUpdDataPointer(VOID)
Definition: FspCommonLib.c:309
VOID *EFIAPI GetFspSmmInitUpdDataPointer(VOID)
Definition: FspCommonLib.c:391
VOID EFIAPI FspApiReturnStatusReset(IN EFI_STATUS FspResetType)
Definition: ReturnStatus.c:22
VOID EFIAPI SetFspSiliconInitUpdDataPointer(IN VOID *SiliconInitUpdPtr)
Definition: FspCommonLib.c:326
VOID EFIAPI SetFspCoreStackPointer(IN VOID *NewStackTop)
Definition: FspCommonLib.c:178
VOID EFIAPI SetFspPlatformDataPointer(IN VOID *PlatformData)
Definition: FspCommonLib.c:209
VOID *EFIAPI GetFspPlatformDataPointer(VOID)
Definition: FspCommonLib.c:227
#define IN
Definition: Base.h:279
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29