Home
last modified time | relevance | path

Searched refs:CONTEXT_STACK_OFFSET (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/IntelFspPkg/Library/BaseFspCommonLib/
DFspCommonLib.c55 #define CONTEXT_STACK_OFFSET(x) (UINT32)&((CONTEXT_STACK *)(UINTN)0)->x macro
105 return *(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(ApiParam)); in GetFspApiParameter()
123 *(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(ApiParam)) = Value; in SetFspApiParameter()
142 …*(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(ApiParam) + (Index + 1) * sizeof(UINT… in SetFspContinuationFuncParameter()
161 *(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(ApiRet)) = ReturnAddress; in SetFspApiReturnAddress()
179 *(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(Eax)) = ReturnStatus; in SetFspApiReturnStatus()
433 …return (FSP_INFO_HEADER *)(*(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(FspInfoHe… in GetFspInfoHeaderFromApiContext()
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Library/BaseFspCommonLib/
DFspCommonLib.c53 #define CONTEXT_STACK_OFFSET(x) (UINT32)&((CONTEXT_STACK *)(UINTN)0)->x macro
103 return *(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(ApiParam[0])); in GetFspApiParameter()
120 return *(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(ApiParam[1])); in GetFspApiParameter2()
138 *(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(ApiParam)) = Value; in SetFspApiParameter()
156 *(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(Eax)) = ReturnStatus; in SetFspApiReturnStatus()
424 …return (FSP_INFO_HEADER *)(*(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(FspInfoHe… in GetFspInfoHeaderFromApiContext()