![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stdint.h>
#include <string.h>
#include <acpi/acpi.h>
#include <bootstate.h>
#include <cbfs.h>
#include <timestamp.h>
#include <northbridge/amd/agesa/state_machine.h>
#include <northbridge/amd/agesa/agesa_helper.h>
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <amdlib.h>
#include <AMD.h>
Go to the source code of this file.
int agesa_execute_state | ( | struct sysinfo * | cb, |
AGESA_STRUCT_NAME | func | ||
) |
Definition at line 230 of file state_machine.c.
References AGESA_FATAL, agesa_state_on_entry(), agesa_state_on_exit(), AGESA_SUCCESS, agesawrapper_trace(), amd_create_struct(), amd_release_struct(), ASSERT, buf, CONFIG, ENV_RAMSTAGE, ENV_ROMSTAGE, agesa_state::func, _AMD_CONFIG_PARAMS::Func, agesa_state::function_name, memcpy(), memset(), NULL, ramstage_dispatch(), reset(), romstage_dispatch(), sysinfo::StdHeader, timestamp_add_now(), agesa_state::ts_entry_id, and agesa_state::ts_exit_id.
Referenced by ap_romstage_main(), do_agesawrapper(), and romstage_main().
|
static |
Definition at line 26 of file state_machine.c.
References cbfs_map(), _AMD_CONFIG_PARAMS::ImageBasePtr, and NULL.
Referenced by agesa_set_interface().
Definition at line 43 of file state_machine.c.
References agesa_locate_image(), ASSERT, _AMD_CONFIG_PARAMS::CalloutPtr, CONFIG, GetBiosCallout(), _AMD_CONFIG_PARAMS::ImageBasePtr, memset(), _AMD_IMAGE_HEADER::ModuleInfoOffset, and sysinfo::StdHeader.
Referenced by fill_sysinfo().
|
static |
Definition at line 78 of file state_machine.c.
References buf, ByHost, module_dispatch(), and NULL.
Referenced by agesa_execute_state().
|
static |
Definition at line 91 of file state_machine.c.
References AGESA_SUCCESS, and module_dispatch().
Referenced by agesa_execute_state().
Definition at line 349 of file state_machine.c.
Referenced by romstage_dispatch().
Definition at line 353 of file state_machine.c.
Referenced by ramstage_dispatch().
Definition at line 357 of file state_machine.c.
Referenced by ramstage_dispatch().
Definition at line 355 of file state_machine.c.
Referenced by ramstage_dispatch().
Definition at line 351 of file state_machine.c.
Referenced by romstage_dispatch().
Definition at line 347 of file state_machine.c.
Referenced by romstage_dispatch().
AGESA_STATUS __weak fchs3earlyrestore | ( | AMD_CONFIG_PARAMS * | StdHeader | ) |
Definition at line 360 of file state_machine.c.
References AGESA_SUCCESS.
AGESA_STATUS __weak fchs3laterestore | ( | AMD_CONFIG_PARAMS * | StdHeader | ) |
Definition at line 366 of file state_machine.c.
References AGESA_SUCCESS.
AGESA_STATUS module_dispatch | ( | AGESA_STRUCT_NAME | func, |
AMD_CONFIG_PARAMS * | StdHeader | ||
) |
Definition at line 60 of file state_machine.c.
References _AMD_CONFIG_PARAMS::Func, _AMD_CONFIG_PARAMS::ImageBasePtr, and _AMD_IMAGE_HEADER::ModuleInfoOffset.
Referenced by agesa_RunFuncOnAp(), amd_create_struct(), amd_flush_eventlog(), amd_release_struct(), ramstage_dispatch(), and romstage_dispatch().
|
static |
Definition at line 167 of file state_machine.c.
References AGESA_UNSUPPORTED, board_BeforeInitEnv(), board_BeforeInitLate(), board_BeforeInitMid(), completion_InitLate(), module_dispatch(), platform_AfterInitEnv(), platform_AfterInitLate(), platform_AfterS3LateRestore(), platform_AfterS3Save(), platform_BeforeInitEnv(), platform_BeforeInitLate(), platform_BeforeInitMid(), and platform_BeforeS3LateRestore().
Referenced by agesa_execute_state().
|
static |
Definition at line 104 of file state_machine.c.
References AGESA_UNSUPPORTED, board_BeforeInitEarly(), board_BeforeInitPost(), board_BeforeInitReset(), module_dispatch(), platform_AfterInitPost(), platform_AfterInitResume(), platform_BeforeInitEarly(), platform_BeforeInitPost(), platform_BeforeInitReset(), platform_BeforeInitResume(), and timestamp_rescale_table().
Referenced by agesa_execute_state().