本文整理汇总了C++中GetFspGlobalDataPointer函数的典型用法代码示例。如果您正苦于以下问题:C++ GetFspGlobalDataPointer函数的具体用法?C++ GetFspGlobalDataPointer怎么用?C++ GetFspGlobalDataPointer使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了GetFspGlobalDataPointer函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: GetFspInfoHeader
EFIAPI
GetFspInfoHeader (
VOID
)
{
return GetFspGlobalDataPointer()->FspInfoHeader;
}
开发者ID:lersek,项目名称:edk2,代码行数:7,代码来源:FspCommonLib.c
示例2: GetPhaseStatusCode
/**
This function gets FSP Phase StatusCode.
@retval StatusCode
**/
UINT32
EFIAPI
GetPhaseStatusCode (
VOID
)
{
return GetFspGlobalDataPointer()->StatusCode;
}
开发者ID:lersek,项目名称:edk2,代码行数:13,代码来源:FspCommonLib.c
示例3: SetFspInfoHeader
/**
This function sets the FSP info header pointer.
@param[in] FspInfoHeader FSP info header pointer
**/
VOID
EFIAPI
SetFspInfoHeader (
FSP_INFO_HEADER *FspInfoHeader
)
{
GetFspGlobalDataPointer()->FspInfoHeader = FspInfoHeader;
}
开发者ID:lersek,项目名称:edk2,代码行数:13,代码来源:FspCommonLib.c
示例4: GetFspApiCallingMode
/**
This function gets FSP API calling mode.
@retval API calling mode
**/
UINT8
EFIAPI
GetFspApiCallingMode (
VOID
)
{
return GetFspGlobalDataPointer()->ApiMode;
}
开发者ID:EvanLloyd,项目名称:tianocore,代码行数:13,代码来源:FspCommonLib.c
示例5: GetFspApiCallingIndex
/**
This function gets FSP API calling index.
@retval API calling index
**/
UINT8
EFIAPI
GetFspApiCallingIndex (
VOID
)
{
return GetFspGlobalDataPointer()->ApiIdx;
}
开发者ID:lersek,项目名称:edk2,代码行数:13,代码来源:FspCommonLib.c
示例6: GetFspEntryStack
EFIAPI
GetFspEntryStack (
VOID
)
{
FSP_GLOBAL_DATA *FspData;
FspData = GetFspGlobalDataPointer ();
return (VOID*)(FspData->CoreStack + CONTEXT_STACK_OFFSET(ApiParam[0]));
}
开发者ID:lersek,项目名称:edk2,代码行数:10,代码来源:FspCommonLib.c
示例7: GetFspUpdDataPointer
EFIAPI
GetFspUpdDataPointer (
VOID
)
{
FSP_GLOBAL_DATA *FspData;
FspData = GetFspGlobalDataPointer ();
return FspData->UpdDataPtr;
}
开发者ID:lersek,项目名称:edk2,代码行数:10,代码来源:FspCommonLib.c
示例8: GetFspPlatformDataPointer
EFIAPI
GetFspPlatformDataPointer (
VOID
)
{
FSP_GLOBAL_DATA *FspData;
FspData = GetFspGlobalDataPointer ();
return FspData->PlatformData.DataPtr;
}
开发者ID:lersek,项目名称:edk2,代码行数:10,代码来源:FspCommonLib.c
示例9: GetFspSiliconInitUpdDataPointer
EFIAPI
GetFspSiliconInitUpdDataPointer (
VOID
)
{
FSP_GLOBAL_DATA *FspData;
FspData = GetFspGlobalDataPointer ();
return FspData->SiliconInitUpdPtr;
}
开发者ID:lersek,项目名称:edk2,代码行数:10,代码来源:FspCommonLib.c
示例10: GetFspInfoHeaderFromApiContext
EFIAPI
GetFspInfoHeaderFromApiContext (
VOID
)
{
FSP_GLOBAL_DATA *FspData;
FspData = GetFspGlobalDataPointer ();
return (FSP_INFO_HEADER *)(*(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(FspInfoHeader)));
}
开发者ID:lersek,项目名称:edk2,代码行数:10,代码来源:FspCommonLib.c
示例11: GetFspApiParameter
/**
This function gets back the FSP API first parameter passed by the bootloader.
@retval ApiParameter FSP API first parameter passed by the bootloader.
**/
UINT32
EFIAPI
GetFspApiParameter (
VOID
)
{
FSP_GLOBAL_DATA *FspData;
FspData = GetFspGlobalDataPointer ();
return *(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(ApiParam[0]));
}
开发者ID:lersek,项目名称:edk2,代码行数:16,代码来源:FspCommonLib.c
示例12: SetFspApiCallingMode
/**
This function sets FSP API calling mode.
@param[in] Mode API calling mode
**/
VOID
EFIAPI
SetFspApiCallingMode (
UINT8 Mode
)
{
FSP_GLOBAL_DATA *FspData;
FspData = GetFspGlobalDataPointer ();
FspData->ApiMode = Mode;
}
开发者ID:EvanLloyd,项目名称:tianocore,代码行数:16,代码来源:FspCommonLib.c
示例13: SetFspPlatformDataPointer
/**
This function sets the platform specific data pointer.
@param[in] PlatformData FSP platform specific data pointer.
**/
VOID
EFIAPI
SetFspPlatformDataPointer (
IN VOID *PlatformData
)
{
FSP_GLOBAL_DATA *FspData;
FspData = GetFspGlobalDataPointer ();
FspData->PlatformData.DataPtr = PlatformData;
}
开发者ID:lersek,项目名称:edk2,代码行数:17,代码来源:FspCommonLib.c
示例14: SetPhaseStatusCode
/**
This function sets FSP Phase StatusCode.
@param[in] Mode Phase StatusCode
**/
VOID
EFIAPI
SetPhaseStatusCode (
UINT32 StatusCode
)
{
FSP_GLOBAL_DATA *FspData;
FspData = GetFspGlobalDataPointer ();
FspData->StatusCode = StatusCode;
}
开发者ID:lersek,项目名称:edk2,代码行数:16,代码来源:FspCommonLib.c
示例15: SetFspApiReturnStatus
/**
This function set the API status code returned to the BootLoader.
@param[in] ReturnStatus Status code to return.
**/
VOID
EFIAPI
SetFspApiReturnStatus (
IN UINT32 ReturnStatus
)
{
FSP_GLOBAL_DATA *FspData;
FspData = GetFspGlobalDataPointer ();
*(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(Eax)) = ReturnStatus;
}
开发者ID:lersek,项目名称:edk2,代码行数:17,代码来源:FspCommonLib.c
示例16: SetFspApiParameter
/**
This function sets the FSP API parameter in the stack.
@param[in] Value New parameter value.
**/
VOID
EFIAPI
SetFspApiParameter (
IN UINT32 Value
)
{
FSP_GLOBAL_DATA *FspData;
FspData = GetFspGlobalDataPointer ();
*(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(ApiParam)) = Value;
}
开发者ID:lersek,项目名称:edk2,代码行数:17,代码来源:FspCommonLib.c
示例17: SetFspApiCallingIndex
/**
This function sets FSP API calling mode.
@param[in] Index API calling index
**/
VOID
EFIAPI
SetFspApiCallingIndex (
UINT8 Index
)
{
FSP_GLOBAL_DATA *FspData;
FspData = GetFspGlobalDataPointer ();
FspData->ApiIdx = Index;
}
开发者ID:lersek,项目名称:edk2,代码行数:16,代码来源:FspCommonLib.c
示例18: SetFspContinuationFuncParameter
/**
This function sets the FSP continuation function parameters in the stack.
@param[in] Value New parameter value to set.
@param[in] Index Parameter index.
**/
VOID
EFIAPI
SetFspContinuationFuncParameter (
IN UINT32 Value,
IN UINT32 Index
)
{
FSP_GLOBAL_DATA *FspData;
FspData = GetFspGlobalDataPointer ();
*(UINT32 *)(UINTN)(FspData->CoreStack + CONTEXT_STACK_OFFSET(ApiParam) + (Index + 1) * sizeof(UINT32)) = Value;
}
开发者ID:EvanLloyd,项目名称:tianocore,代码行数:18,代码来源:FspCommonLib.c
示例19: SwapStack
/**
Switch the current stack to the previous saved stack.
@param[in] NewStack The new stack to be switched.
@return OldStack After switching to the saved stack,
this value will be saved in eax before returning.
**/
UINT32
SwapStack (
IN UINT32 NewStack
)
{
FSP_GLOBAL_DATA *FspData;
UINT32 OldStack;
FspData = GetFspGlobalDataPointer ();
OldStack = FspData->CoreStack;
FspData->CoreStack = NewStack;
return OldStack;
}
开发者ID:lersek,项目名称:edk2,代码行数:24,代码来源:FspSwitchStackLib.c
示例20: GetFspCarSize
/**
This function gets FSP CAR size.
**/
UINT32
EFIAPI
GetFspCarSize (
VOID
)
{
FSP_GLOBAL_DATA *FspData;
UINT32 CarSize;
FspData = GetFspGlobalDataPointer ();
CarSize = FspData->PlatformData.CarSize;
if (FspData->PlatformData.CarBase == 0) {
CarSize = PcdGet32(PcdTemporaryRamSize);
}
return CarSize;
}
开发者ID:agileinsider,项目名称:edk2,代码行数:20,代码来源:FspCommonLib.c
注:本文中的GetFspGlobalDataPointer函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论