Home | History | Annotate | Download | only in BaseFspCommonLib

Lines Matching refs:FspData

62   @param[in] FspData       Fsp global data pointer.

68 IN FSP_GLOBAL_DATA *FspData
71 ASSERT (FspData != NULL);
72 *((volatile UINT32 *)(UINTN)PcdGet32(PcdGlobalDataPointerAddress)) = (UINT32)(UINTN)FspData;
85 FSP_GLOBAL_DATA *FspData;
87 FspData = *(FSP_GLOBAL_DATA **)(UINTN)PcdGet32(PcdGlobalDataPointerAddress);
88 return FspData;
102 FSP_GLOBAL_DATA *FspData;
104 FspData = GetFspGlobalDataPointer ();
105 return *(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(ApiParam));
120 FSP_GLOBAL_DATA *FspData;
122 FspData = GetFspGlobalDataPointer ();
123 *(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(ApiParam)) = Value;
139 FSP_GLOBAL_DATA *FspData;
141 FspData = GetFspGlobalDataPointer ();
142 *(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(ApiParam) + (Index + 1) * sizeof(UINT32)) = Value;
158 FSP_GLOBAL_DATA *FspData;
160 FspData = GetFspGlobalDataPointer ();
161 *(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(ApiRet)) = ReturnAddress;
176 FSP_GLOBAL_DATA *FspData;
178 FspData = GetFspGlobalDataPointer ();
179 *(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(Eax)) = ReturnStatus;
194 FSP_GLOBAL_DATA *FspData;
199 FspData = GetFspGlobalDataPointer ();
205 OldStack = (UINT32 *)FspData->CoreStack;
207 FspData->CoreStack = (UINT32)NewStack;
225 FSP_GLOBAL_DATA *FspData;
227 FspData = GetFspGlobalDataPointer ();
228 FspData->PlatformData.DataPtr = PlatformData;
244 FSP_GLOBAL_DATA *FspData;
246 FspData = GetFspGlobalDataPointer ();
247 return FspData->PlatformData.DataPtr;
262 FSP_GLOBAL_DATA *FspData;
267 FspData = GetFspGlobalDataPointer ();
272 FspData->UpdDataRgnPtr = UpdDataRgnPtr;
286 FSP_GLOBAL_DATA *FspData;
288 FspData = GetFspGlobalDataPointer ();
289 return FspData->UpdDataRgnPtr;
304 FSP_GLOBAL_DATA *FspData;
309 FspData = GetFspGlobalDataPointer ();
314 FspData->MemoryInitUpdPtr = MemoryInitUpdPtr;
328 FSP_GLOBAL_DATA *FspData;
330 FspData = GetFspGlobalDataPointer ();
331 return FspData->MemoryInitUpdPtr;
346 FSP_GLOBAL_DATA *FspData;
351 FspData = GetFspGlobalDataPointer ();
356 FspData->SiliconInitUpdPtr = SiliconInitUpdPtr;
370 FSP_GLOBAL_DATA *FspData;
372 FspData = GetFspGlobalDataPointer ();
373 return FspData->SiliconInitUpdPtr;
390 FSP_GLOBAL_DATA *FspData;
396 FspData = GetFspGlobalDataPointer ();
397 if (FspData->PerfIdx < sizeof(FspData->PerfData) / sizeof(FspData->PerfData[0])) {
398 FspData->PerfData[FspData->PerfIdx] = AsmReadTsc ();
399 ((UINT8 *)(&FspData->PerfData[FspData->PerfIdx]))[7] = Id;
402 return FspData->PerfData[(FspData->PerfIdx)++];
430 FSP_GLOBAL_DATA *FspData;
432 FspData = GetFspGlobalDataPointer ();
433 return (FSP_INFO_HEADER *)(*(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(FspInfoHeader)));
478 FSP_GLOBAL_DATA *FspData;
480 FspData = GetFspGlobalDataPointer ();
481 FspData->ApiMode = Mode;