coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
BiosCallOuts.h File Reference
#include <amdblocks/agesawrapper.h>
#include <stdint.h>
Include dependency graph for BiosCallOuts.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _BIOS_HEAP_MANAGER
 
struct  _BIOS_BUFFER_NODE
 
struct  BIOS_CALLOUT_STRUCT
 

Macros

#define BIOS_HEAP_SIZE   0x30000
 
#define BSP_STACK_BASE_ADDR   0x30000
 

Typedefs

typedef struct _BIOS_HEAP_MANAGER BIOS_HEAP_MANAGER
 
typedef struct _BIOS_BUFFER_NODE BIOS_BUFFER_NODE
 

Functions

AGESA_STATUS agesa_GetTempHeapBase (uint32_t Func, uintptr_t Data, void *ConfigPtr)
 
AGESA_STATUS agesa_HeapRebase (uint32_t Func, uintptr_t Data, void *ConfigPtr)
 
AGESA_STATUS agesa_AllocateBuffer (uint32_t Func, uintptr_t Data, void *ConfigPtr)
 
AGESA_STATUS agesa_DeallocateBuffer (uint32_t Func, uintptr_t Data, void *ConfigPtr)
 
AGESA_STATUS agesa_LocateBuffer (uint32_t Func, uintptr_t Data, void *ConfigPtr)
 
AGESA_STATUS agesa_NoopUnsupported (uint32_t Func, uintptr_t Data, void *ConfigPtr)
 
AGESA_STATUS agesa_NoopSuccess (uint32_t Func, uintptr_t Data, void *ConfigPtr)
 
AGESA_STATUS agesa_EmptyIdsInitData (uint32_t Func, uintptr_t Data, void *ConfigPtr)
 
AGESA_STATUS agesa_Reset (uint32_t Func, uintptr_t Data, void *ConfigPtr)
 
AGESA_STATUS agesa_RunFuncOnAp (uint32_t Func, uintptr_t Data, void *ConfigPtr)
 
AGESA_STATUS agesa_GfxGetVbiosImage (uint32_t Func, uintptr_t FchData, void *ConfigPrt)
 
AGESA_STATUS agesa_ReadSpd (uint32_t Func, uintptr_t Data, void *ConfigPtr)
 
AGESA_STATUS agesa_RunFcnOnAllAps (uint32_t Func, uintptr_t Data, void *ConfigPtr)
 
AGESA_STATUS agesa_PcieSlotResetControl (uint32_t Func, uintptr_t Data, void *ConfigPtr)
 
AGESA_STATUS agesa_WaitForAllApsFinished (uint32_t Func, uintptr_t Data, void *ConfigPtr)
 
AGESA_STATUS agesa_IdleAnAp (uint32_t Func, uintptr_t Data, void *ConfigPtr)
 
AGESA_STATUS GetBiosCallout (uint32_t Func, uintptr_t Data, void *ConfigPtr)
 
AGESA_STATUS agesa_fch_initreset (uint32_t Func, uintptr_t FchData, void *ConfigPtr)
 
AGESA_STATUS agesa_fch_initenv (uint32_t Func, uintptr_t FchData, void *ConfigPtr)
 
AGESA_STATUS agesa_HaltThisAp (uint32_t Func, uintptr_t Data, void *ConfigPtr)
 
void platform_FchParams_reset (FCH_RESET_DATA_BLOCK *FchParams_reset)
 
void platform_FchParams_env (FCH_DATA_BLOCK *FchParams_env)
 
AGESA_STATUS platform_PcieSlotResetControl (uint32_t Func, uintptr_t Data, void *ConfigPtr)
 

Variables

const BIOS_CALLOUT_STRUCT BiosCallouts []
 
const int BiosCalloutsLen
 

Macro Definition Documentation

◆ BIOS_HEAP_SIZE

#define BIOS_HEAP_SIZE   0x30000

Definition at line 9 of file BiosCallOuts.h.

◆ BSP_STACK_BASE_ADDR

#define BSP_STACK_BASE_ADDR   0x30000

Definition at line 10 of file BiosCallOuts.h.

Typedef Documentation

◆ BIOS_BUFFER_NODE

◆ BIOS_HEAP_MANAGER

Function Documentation

◆ agesa_AllocateBuffer()

◆ agesa_DeallocateBuffer()

◆ agesa_EmptyIdsInitData()

AGESA_STATUS agesa_EmptyIdsInitData ( uint32_t  Func,
uintptr_t  Data,
void ConfigPtr 
)

Definition at line 94 of file def_callouts.c.

References AGESA_SUCCESS.

◆ agesa_fch_initenv()

AGESA_STATUS agesa_fch_initenv ( uint32_t  Func,
uintptr_t  FchData,
void ConfigPtr 
)

Definition at line 36 of file BiosCallOuts.c.

References AGESA_SUCCESS, BIOS_DEBUG, CONFIG, device::enabled, _AMD_CONFIG_PARAMS::Func, pcidev_path_on_root(), platform_FchParams_env(), printk, and SATA_DEVFN.

Here is the call graph for this function:

◆ agesa_fch_initreset()

AGESA_STATUS agesa_fch_initreset ( uint32_t  Func,
uintptr_t  FchData,
void ConfigPtr 
)

Definition at line 17 of file BiosCallOuts.c.

References AGESA_SUCCESS, BIOS_DEBUG, _AMD_CONFIG_PARAMS::Func, platform_FchParams_reset(), and printk.

Here is the call graph for this function:

◆ agesa_GetTempHeapBase()

AGESA_STATUS agesa_GetTempHeapBase ( uint32_t  Func,
uintptr_t  Data,
void ConfigPtr 
)

Definition at line 34 of file heapmanager.c.

References AGESA_SUCCESS.

◆ agesa_GfxGetVbiosImage()

AGESA_STATUS agesa_GfxGetVbiosImage ( uint32_t  Func,
uintptr_t  FchData,
void ConfigPrt 
)

Definition at line 134 of file def_callouts.c.

References AGESA_SUCCESS, AGESA_WARNING, BIOS_DEBUG, cbfs_map(), NULL, and printk.

Here is the call graph for this function:

◆ agesa_HaltThisAp()

AGESA_STATUS agesa_HaltThisAp ( uint32_t  Func,
uintptr_t  Data,
void ConfigPtr 
)

Definition at line 126 of file BiosCallOuts.c.

References AGESA_UNSUPPORTED, ap_teardown_car(), and info.

Here is the call graph for this function:

◆ agesa_HeapRebase()

AGESA_STATUS agesa_HeapRebase ( uint32_t  Func,
uintptr_t  Data,
void ConfigPtr 
)

Definition at line 58 of file heapmanager.c.

References agesa_heap_base(), and AGESA_SUCCESS.

Here is the call graph for this function:

◆ agesa_IdleAnAp()

AGESA_STATUS agesa_IdleAnAp ( uint32_t  Func,
uintptr_t  Data,
void ConfigPtr 
)

Definition at line 241 of file def_callouts.c.

References AGESA_UNSUPPORTED, BIOS_WARNING, and printk.

◆ agesa_LocateBuffer()

AGESA_STATUS agesa_LocateBuffer ( uint32_t  Func,
uintptr_t  Data,
void ConfigPtr 
)

Definition at line 422 of file heapmanager.c.

References AGESA_SUCCESS, _BIOS_BUFFER_NODE::BufferSize, and FindAllocatedNode().

Here is the call graph for this function:

◆ agesa_NoopSuccess()

AGESA_STATUS agesa_NoopSuccess ( uint32_t  Func,
uintptr_t  Data,
void ConfigPtr 
)

Definition at line 89 of file def_callouts.c.

References AGESA_SUCCESS.

◆ agesa_NoopUnsupported()

AGESA_STATUS agesa_NoopUnsupported ( uint32_t  Func,
uintptr_t  Data,
void ConfigPtr 
)

Definition at line 83 of file def_callouts.c.

References AGESA_UNSUPPORTED.

◆ agesa_PcieSlotResetControl()

AGESA_STATUS agesa_PcieSlotResetControl ( uint32_t  Func,
uintptr_t  Data,
void ConfigPtr 
)

Definition at line 155 of file def_callouts.c.

References platform_PcieSlotResetControl().

Here is the call graph for this function:

◆ agesa_ReadSpd()

◆ agesa_Reset()

AGESA_STATUS agesa_Reset ( uint32_t  Func,
uintptr_t  Data,
void ConfigPtr 
)

Definition at line 103 of file def_callouts.c.

References cold_reset(), and warm_reset().

Here is the call graph for this function:

◆ agesa_RunFcnOnAllAps()

AGESA_STATUS agesa_RunFcnOnAllAps ( uint32_t  Func,
uintptr_t  Data,
void ConfigPtr 
)

◆ agesa_RunFuncOnAp()

AGESA_STATUS agesa_RunFuncOnAp ( uint32_t  Func,
uintptr_t  Data,
void ConfigPtr 
)

◆ agesa_WaitForAllApsFinished()

AGESA_STATUS agesa_WaitForAllApsFinished ( uint32_t  Func,
uintptr_t  Data,
void ConfigPtr 
)

Definition at line 231 of file def_callouts.c.

References AGESA_UNSUPPORTED, BIOS_WARNING, and printk.

◆ GetBiosCallout()

AGESA_STATUS GetBiosCallout ( uint32_t  Func,
uintptr_t  Data,
void ConfigPtr 
)

◆ platform_FchParams_env()

void platform_FchParams_env ( FCH_DATA_BLOCK *  FchParams_env)

Definition at line 7 of file BiosCallOuts.c.

Referenced by agesa_fch_initenv().

Here is the caller graph for this function:

◆ platform_FchParams_reset()

void platform_FchParams_reset ( FCH_RESET_DATA_BLOCK *  FchParams_reset)

Definition at line 15 of file BiosCallOuts.c.

Referenced by agesa_fch_initreset().

Here is the caller graph for this function:

◆ platform_PcieSlotResetControl()

AGESA_STATUS platform_PcieSlotResetControl ( uint32_t  Func,
uintptr_t  Data,
void ConfigPtr 
)

Definition at line 147 of file def_callouts.c.

References AGESA_UNSUPPORTED, BIOS_WARNING, and printk.

Referenced by agesa_PcieSlotResetControl().

Here is the caller graph for this function:

Variable Documentation

◆ BiosCallouts

const BIOS_CALLOUT_STRUCT BiosCallouts[]
extern

Definition at line 13 of file BiosCallOuts.c.

Referenced by GetBiosCallout().

◆ BiosCalloutsLen

const int BiosCalloutsLen
extern

Definition at line 25 of file BiosCallOuts.c.

Referenced by GetBiosCallout().