![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
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 |
Variables | |
const BIOS_CALLOUT_STRUCT | BiosCallouts [] |
const int | BiosCalloutsLen |
#define BIOS_HEAP_SIZE 0x30000 |
Definition at line 9 of file BiosCallOuts.h.
#define BSP_STACK_BASE_ADDR 0x30000 |
Definition at line 10 of file BiosCallOuts.h.
typedef struct _BIOS_BUFFER_NODE BIOS_BUFFER_NODE |
typedef struct _BIOS_HEAP_MANAGER BIOS_HEAP_MANAGER |
AGESA_STATUS agesa_AllocateBuffer | ( | uint32_t | Func, |
uintptr_t | Data, | ||
void * | ConfigPtr | ||
) |
Definition at line 132 of file heapmanager.c.
References agesa_heap_base(), AGESA_SUCCESS, BIOS_HEAP_SIZE, _BIOS_BUFFER_NODE::BufferHandle, _BIOS_BUFFER_NODE::BufferSize, FindAllocatedNode(), _BIOS_BUFFER_NODE::NextNodeOffset, NULL, _BIOS_HEAP_MANAGER::StartOfAllocatedNodes, and _BIOS_HEAP_MANAGER::StartOfFreedNodes.
AGESA_STATUS agesa_DeallocateBuffer | ( | uint32_t | Func, |
uintptr_t | Data, | ||
void * | ConfigPtr | ||
) |
Definition at line 308 of file heapmanager.c.
References agesa_heap_base(), AGESA_SUCCESS, _BIOS_BUFFER_NODE::BufferHandle, _BIOS_BUFFER_NODE::BufferSize, ConcatenateNodes(), memset(), _BIOS_BUFFER_NODE::NextNodeOffset, _BIOS_HEAP_MANAGER::StartOfAllocatedNodes, and _BIOS_HEAP_MANAGER::StartOfFreedNodes.
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_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.
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.
AGESA_STATUS agesa_GetTempHeapBase | ( | uint32_t | Func, |
uintptr_t | Data, | ||
void * | ConfigPtr | ||
) |
Definition at line 34 of file heapmanager.c.
References AGESA_SUCCESS.
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.
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.
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.
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_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().
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_STATUS agesa_NoopUnsupported | ( | uint32_t | Func, |
uintptr_t | Data, | ||
void * | ConfigPtr | ||
) |
Definition at line 83 of file def_callouts.c.
References AGESA_UNSUPPORTED.
AGESA_STATUS agesa_PcieSlotResetControl | ( | uint32_t | Func, |
uintptr_t | Data, | ||
void * | ConfigPtr | ||
) |
Definition at line 155 of file def_callouts.c.
References platform_PcieSlotResetControl().
AGESA_STATUS agesa_ReadSpd | ( | uint32_t | Func, |
uintptr_t | Data, | ||
void * | ConfigPtr | ||
) |
Definition at line 81 of file BiosCallOuts.c.
References AGESA_ERROR, AGESA_SUCCESS, AGESA_UNSUPPORTED, ARRAY_SIZE, device::chip_info, DCT_DEVFN, DEVTREE_CONST, ENV_ROMSTAGE, info, mainboard_read_spd(), NULL, pcidev_path_on_root(), sb_read_spd(), and soc_amd_stoneyridge_config::spd_addr_lookup.
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().
AGESA_STATUS agesa_RunFcnOnAllAps | ( | uint32_t | Func, |
uintptr_t | Data, | ||
void * | ConfigPtr | ||
) |
Definition at line 216 of file def_callouts.c.
References AGESA_ERROR, AGESA_SUCCESS, agesadata, BIOS_DEBUG, callout_ap_entry(), CB_SUCCESS, agesa_data::ConfigPtr, agesa_data::Data, agesa_data::Func, MP_RUN_ON_ALL_CPUS, mp_run_on_aps(), NULL, printk, and USECS_PER_MSEC.
AGESA_STATUS agesa_RunFuncOnAp | ( | uint32_t | Func, |
uintptr_t | Data, | ||
void * | ConfigPtr | ||
) |
Definition at line 202 of file def_callouts.c.
References AGESA_ERROR, AGESA_SUCCESS, agesadata, BIOS_DEBUG, callout_ap_entry(), CB_SUCCESS, agesa_data::ConfigPtr, agesa_data::Data, agesa_data::Func, MP_RUN_ON_ALL_CPUS, mp_run_on_aps(), NULL, printk, and USECS_PER_MSEC.
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.
AGESA_STATUS GetBiosCallout | ( | uint32_t | Func, |
uintptr_t | Data, | ||
void * | ConfigPtr | ||
) |
Definition at line 65 of file def_callouts.c.
References AGESA_UNSUPPORTED, BIOS_ERR, BiosCallouts, BiosCalloutsLen, BIOS_CALLOUT_STRUCT::CalloutPtr, and printk.
void platform_FchParams_env | ( | FCH_DATA_BLOCK * | FchParams_env | ) |
Definition at line 7 of file BiosCallOuts.c.
Referenced by agesa_fch_initenv().
void platform_FchParams_reset | ( | FCH_RESET_DATA_BLOCK * | FchParams_reset | ) |
Definition at line 15 of file BiosCallOuts.c.
Referenced by agesa_fch_initreset().
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().
|
extern |
Definition at line 13 of file BiosCallOuts.c.
Referenced by GetBiosCallout().
|
extern |
Definition at line 25 of file BiosCallOuts.c.
Referenced by GetBiosCallout().