/device/linaro/bootloader/edk2/IntelFsp2Pkg/Library/BaseFspCommonLib/ |
FspCommonLib.c | 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])); [all...] |
/device/linaro/bootloader/edk2/IntelFspPkg/Library/BaseFspCommonLib/ |
FspCommonLib.c | 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)); [all...] |
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Library/BaseFspSwitchStackLib/ |
FspSwitchStackLib.c | 34 FSP_GLOBAL_DATA *FspData;
37 FspData = GetFspGlobalDataPointer ();
38 OldStack = FspData->CoreStack;
39 FspData->CoreStack = NewStack;
|
/device/linaro/bootloader/edk2/IntelFspPkg/Library/BaseFspSwitchStackLib/ |
FspSwitchStackLib.c | 34 FSP_GLOBAL_DATA *FspData;
37 FspData = GetFspGlobalDataPointer ();
38 OldStack = FspData->CoreStack;
39 FspData->CoreStack = NewStack;
|
/device/linaro/bootloader/edk2/IntelFsp2Pkg/FspSecCore/ |
SecFspApiChk.c | 32 FSP_GLOBAL_DATA *FspData;
35 FspData = GetFspGlobalDataPointer ();
41 if ((FspData == NULL) || ((UINT32)FspData == 0xFFFFFFFF)) {
44 if (FspData->Signature != FSP_GLOBAL_DATA_SIGNATURE) {
52 if ((UINT32)FspData != 0xFFFFFFFF) {
61 if ((FspData == NULL) || ((UINT32)FspData == 0xFFFFFFFF)) {
64 if (FspData->Signature != FSP_GLOBAL_DATA_SIGNATURE) {
72 if ((FspData == NULL) || ((UINT32)FspData == 0xFFFFFFFF)) { [all...] |
SecFsp.c | 49 @param[in,out] FspData Pointer to the FSP global data.
55 IN OUT FSP_GLOBAL_DATA *FspData
63 FspPlatformData = &FspData->PlatformData;
98 CopyMem (FspData->PerfData, StackPtr, (DwordSize << 2));
100 ((UINT8 *)(&FspData->PerfData[0]))[7] = FSP_PERF_ID_API_TEMP_RAM_INIT_ENTRY;
101 ((UINT8 *)(&FspData->PerfData[1]))[7] = FSP_PERF_ID_API_TEMP_RAM_INIT_EXIT;
|
/device/linaro/bootloader/edk2/IntelFspPkg/FspSecCore/ |
SecFsp.c | 58 FSP_GLOBAL_DATA *FspData;
61 FspData = GetFspGlobalDataPointer ();
68 Offset = (UINT32 *)(FspData->FspInfoHeader->ImageBase + \
69 FspData->FspInfoHeader->CfgRegionOffset + 0x0C);
77 @param[in,out] FspData Pointer to the FSP global data.
83 IN OUT FSP_GLOBAL_DATA *FspData
91 FspPlatformData = &FspData->PlatformData;
125 CopyMem (FspData->PerfData, StackPtr, (DwordSize << 2));
126 ((UINT8 *)(&FspData->PerfData[0]))[7] = FSP_PERF_ID_API_TMPRAMINIT_ENTRY;
127 ((UINT8 *)(&FspData->PerfData[1]))[7] = FSP_PERF_ID_API_TMPRAMINIT_EXIT; [all...] |
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Library/BaseFspPlatformLib/ |
FspPlatformNotify.c | 164 FSP_GLOBAL_DATA *FspData;
196 FspData = GetFspGlobalDataPointer ();
197 PERF_START_EX(&gFspPerformanceDataGuid, "EventRec", NULL, (FspData->PerfData[0] & FSP_PERFORMANCE_DATA_TIMER_MASK), FSP_STATUS_CODE_TEMP_RAM_INIT | FSP_STATUS_CODE_COMMON_CODE| FSP_STATUS_CODE_API_ENTRY);
198 PERF_END_EX(&gFspPerformanceDataGuid, "EventRec", NULL, (FspData->PerfData[1] & FSP_PERFORMANCE_DATA_TIMER_MASK), FSP_STATUS_CODE_TEMP_RAM_INIT | FSP_STATUS_CODE_COMMON_CODE | FSP_STATUS_CODE_API_EXIT);
199 PERF_START_EX(&gFspPerformanceDataGuid, "EventRec", NULL, (FspData->PerfData[2] & FSP_PERFORMANCE_DATA_TIMER_MASK), FSP_STATUS_CODE_MEMORY_INIT | FSP_STATUS_CODE_COMMON_CODE | FSP_STATUS_CODE_API_ENTRY);
|
/device/linaro/bootloader/edk2/IntelFspPkg/Include/Library/ |
FspCommonLib.h | 23 @param[in] FspData Fsp global data pointer.
29 IN FSP_GLOBAL_DATA *FspData
|
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Include/Library/ |
FspCommonLib.h | 23 @param[in] FspData Fsp global data pointer.
29 IN FSP_GLOBAL_DATA *FspData
|