• Home
  • Raw
  • Download

Lines Matching refs:FspData

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