Home | History | Annotate | Download | only in BaseFspCommonLib

Lines Matching refs:FspData

60   @param[in] FspData       FSP global data pointer.

66 IN FSP_GLOBAL_DATA *FspData
69 ASSERT (FspData != NULL);
70 *((volatile UINT32 *)(UINTN)PcdGet32(PcdGlobalDataPointerAddress)) = (UINT32)(UINTN)FspData;
83 FSP_GLOBAL_DATA *FspData;
85 FspData = *(FSP_GLOBAL_DATA **)(UINTN)PcdGet32(PcdGlobalDataPointerAddress);
86 return FspData;
100 FSP_GLOBAL_DATA *FspData;
102 FspData = GetFspGlobalDataPointer ();
103 return *(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(ApiParam[0]));
117 FSP_GLOBAL_DATA *FspData;
119 FspData = GetFspGlobalDataPointer ();
120 return *(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(ApiParam[1]));
135 FSP_GLOBAL_DATA *FspData;
137 FspData = GetFspGlobalDataPointer ();
138 *(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(ApiParam)) = Value;
153 FSP_GLOBAL_DATA *FspData;
155 FspData = GetFspGlobalDataPointer ();
156 *(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(Eax)) = ReturnStatus;
171 FSP_GLOBAL_DATA *FspData;
176 FspData = GetFspGlobalDataPointer ();
182 OldStack = (UINT32 *)FspData->CoreStack;
184 FspData->CoreStack = (UINT32)NewStack;
202 FSP_GLOBAL_DATA *FspData;
204 FspData = GetFspGlobalDataPointer ();
205 FspData->PlatformData.DataPtr = PlatformData;
221 FSP_GLOBAL_DATA *FspData;
223 FspData = GetFspGlobalDataPointer ();
224 return FspData->PlatformData.DataPtr;
239 FSP_GLOBAL_DATA *FspData;
244 FspData = GetFspGlobalDataPointer ();
249 FspData->UpdDataPtr = UpdDataPtr;
263 FSP_GLOBAL_DATA *FspData;
265 FspData = GetFspGlobalDataPointer ();
266 return FspData->UpdDataPtr;
281 FSP_GLOBAL_DATA *FspData;
286 FspData = GetFspGlobalDataPointer ();
291 FspData->MemoryInitUpdPtr = MemoryInitUpdPtr;
305 FSP_GLOBAL_DATA *FspData;
307 FspData = GetFspGlobalDataPointer ();
308 return FspData->MemoryInitUpdPtr;
323 FSP_GLOBAL_DATA *FspData;
328 FspData = GetFspGlobalDataPointer ();
333 FspData->SiliconInitUpdPtr = SiliconInitUpdPtr;
347 FSP_GLOBAL_DATA *FspData;
349 FspData = GetFspGlobalDataPointer ();
350 return FspData->SiliconInitUpdPtr;
367 FSP_GLOBAL_DATA *FspData;
373 FspData = GetFspGlobalDataPointer ();
374 if (FspData->PerfIdx < sizeof(FspData->PerfData) / sizeof(FspData->PerfData[0])) {
375 FspData->PerfData[FspData->PerfIdx] = AsmReadTsc ();
376 ((UINT8 *)(&FspData->PerfData[FspData->PerfIdx]))[7] = Id;
379 return FspData->PerfData[(FspData->PerfIdx)++];
421 FSP_GLOBAL_DATA *FspData;
423 FspData = GetFspGlobalDataPointer ();
424 return (FSP_INFO_HEADER *)(*(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(FspInfoHeader)));
469 FSP_GLOBAL_DATA *FspData;
471 FspData = GetFspGlobalDataPointer ();
472 FspData->ApiIdx = Index;
500 FSP_GLOBAL_DATA *FspData;
502 FspData = GetFspGlobalDataPointer ();
503 FspData->StatusCode = StatusCode;