Home
last modified time | relevance | path

Searched refs:FspData (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/IntelFspPkg/Library/BaseFspCommonLib/
DFspCommonLib.c68 IN FSP_GLOBAL_DATA *FspData in SetFspGlobalDataPointer() argument
71 ASSERT (FspData != NULL); in SetFspGlobalDataPointer()
72 *((volatile UINT32 *)(UINTN)PcdGet32(PcdGlobalDataPointerAddress)) = (UINT32)(UINTN)FspData; in SetFspGlobalDataPointer()
85 FSP_GLOBAL_DATA *FspData; in GetFspGlobalDataPointer() local
87 FspData = *(FSP_GLOBAL_DATA **)(UINTN)PcdGet32(PcdGlobalDataPointerAddress); in GetFspGlobalDataPointer()
88 return FspData; in GetFspGlobalDataPointer()
102 FSP_GLOBAL_DATA *FspData; in GetFspApiParameter() local
104 FspData = GetFspGlobalDataPointer (); in GetFspApiParameter()
105 return *(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(ApiParam)); in GetFspApiParameter()
120 FSP_GLOBAL_DATA *FspData; in SetFspApiParameter() local
[all …]
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Library/BaseFspCommonLib/
DFspCommonLib.c66 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
[all …]
/device/linaro/bootloader/edk2/IntelFsp2Pkg/FspSecCore/
DSecFspApiChk.c32 FSP_GLOBAL_DATA *FspData; in FspApiCallingCheck() local
35 FspData = GetFspGlobalDataPointer (); in FspApiCallingCheck()
41 if ((FspData == NULL) || ((UINT32)FspData == 0xFFFFFFFF)) { in FspApiCallingCheck()
44 if (FspData->Signature != FSP_GLOBAL_DATA_SIGNATURE) { in FspApiCallingCheck()
52 if ((UINT32)FspData != 0xFFFFFFFF) { in FspApiCallingCheck()
61 if ((FspData == NULL) || ((UINT32)FspData == 0xFFFFFFFF)) { in FspApiCallingCheck()
64 if (FspData->Signature != FSP_GLOBAL_DATA_SIGNATURE) { in FspApiCallingCheck()
72 if ((FspData == NULL) || ((UINT32)FspData == 0xFFFFFFFF)) { in FspApiCallingCheck()
75 if (FspData->Signature != FSP_GLOBAL_DATA_SIGNATURE) { in FspApiCallingCheck()
DSecFsp.c55 IN OUT FSP_GLOBAL_DATA *FspData in SecGetPlatformData() argument
63 FspPlatformData = &FspData->PlatformData; in SecGetPlatformData()
98 CopyMem (FspData->PerfData, StackPtr, (DwordSize << 2)); in SecGetPlatformData()
100 ((UINT8 *)(&FspData->PerfData[0]))[7] = FSP_PERF_ID_API_TEMP_RAM_INIT_ENTRY; in SecGetPlatformData()
101 ((UINT8 *)(&FspData->PerfData[1]))[7] = FSP_PERF_ID_API_TEMP_RAM_INIT_EXIT; in SecGetPlatformData()
/device/linaro/bootloader/edk2/IntelFspPkg/FspSecCore/
DSecFsp.c58 FSP_GLOBAL_DATA *FspData; in GetFspUpdRegionOffset() local
61 FspData = GetFspGlobalDataPointer (); in GetFspUpdRegionOffset()
68 Offset = (UINT32 *)(FspData->FspInfoHeader->ImageBase + \ in GetFspUpdRegionOffset()
69 FspData->FspInfoHeader->CfgRegionOffset + 0x0C); in GetFspUpdRegionOffset()
83 IN OUT FSP_GLOBAL_DATA *FspData in SecGetPlatformData() argument
91 FspPlatformData = &FspData->PlatformData; in SecGetPlatformData()
125 CopyMem (FspData->PerfData, StackPtr, (DwordSize << 2)); in SecGetPlatformData()
126 ((UINT8 *)(&FspData->PerfData[0]))[7] = FSP_PERF_ID_API_TMPRAMINIT_ENTRY; in SecGetPlatformData()
127 ((UINT8 *)(&FspData->PerfData[1]))[7] = FSP_PERF_ID_API_TMPRAMINIT_EXIT; in SecGetPlatformData()
253 FSP_GLOBAL_DATA *FspData; in FspApiCallingCheck() local
[all …]
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Library/BaseFspSwitchStackLib/
DFspSwitchStackLib.c34 FSP_GLOBAL_DATA *FspData; in SwapStack() local
37 FspData = GetFspGlobalDataPointer (); in SwapStack()
38 OldStack = FspData->CoreStack; in SwapStack()
39 FspData->CoreStack = NewStack; in SwapStack()
/device/linaro/bootloader/edk2/IntelFspPkg/Library/BaseFspSwitchStackLib/
DFspSwitchStackLib.c34 FSP_GLOBAL_DATA *FspData; in SwapStack() local
37 FspData = GetFspGlobalDataPointer (); in SwapStack()
38 OldStack = FspData->CoreStack; in SwapStack()
39 FspData->CoreStack = NewStack; in SwapStack()
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Library/BaseFspPlatformLib/
DFspPlatformNotify.c164 FSP_GLOBAL_DATA *FspData; in FspMemoryInitDone2() local
196 FspData = GetFspGlobalDataPointer (); in FspMemoryInitDone2()
197 …PERF_START_EX(&gFspPerformanceDataGuid, "EventRec", NULL, (FspData->PerfData[0] & FSP_PERFORMANCE_… in FspMemoryInitDone2()
198 …PERF_END_EX(&gFspPerformanceDataGuid, "EventRec", NULL, (FspData->PerfData[1] & FSP_PERFORMANCE_DA… in FspMemoryInitDone2()
199 …PERF_START_EX(&gFspPerformanceDataGuid, "EventRec", NULL, (FspData->PerfData[2] & FSP_PERFORMANCE_… in FspMemoryInitDone2()
/device/linaro/bootloader/edk2/IntelFspPkg/Include/Library/
DFspCommonLib.h29 IN FSP_GLOBAL_DATA *FspData
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Include/Library/
DFspCommonLib.h29 IN FSP_GLOBAL_DATA *FspData