coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <cbfs.h>
#include <cbmem.h>
#include <rmodule.h>
#include <stage_cache.h>
#include <amdblocks/agesawrapper.h>
#include <amdblocks/image.h>
Go to the source code of this file.
Functions | |
static void * | agesa_map_raw_file (const char *name, size_t *size) |
static void * | agesa_map_stage_file_early (const char *name, size_t *size) |
static void * | agesa_map_stage_file_ramstage (const char *name, size_t *size) |
static void * | agesa_map_stage_file (const char *name, size_t *size) |
static const char * | get_agesa_cbfs_name (void) |
const void * | agesawrapper_locate_module (const char name[8]) |
MODULE_ENTRY | agesa_get_dispatcher (void) |
Variables | |
static MODULE_ENTRY | agesa_dispatcher |
MODULE_ENTRY agesa_get_dispatcher | ( | void | ) |
Definition at line 89 of file refcode_loader.c.
References agesa_dispatcher, agesawrapper_locate_module(), and NULL.
Referenced by module_dispatch().
Definition at line 10 of file refcode_loader.c.
References cbfs_type_map(), CBFS_TYPE_RAW, name, and type.
Referenced by agesawrapper_locate_module().
Definition at line 43 of file refcode_loader.c.
References agesa_map_stage_file_early(), agesa_map_stage_file_ramstage(), CONFIG, ENV_RAMSTAGE, and name.
Referenced by agesawrapper_locate_module().
Definition at line 16 of file refcode_loader.c.
References cbfs_type_map(), CBFS_TYPE_STAGE, name, and type.
Referenced by agesa_map_stage_file().
Definition at line 22 of file refcode_loader.c.
References rmod_stage_load::cbmem_id, CBMEM_ID_REFCODE, name, NULL, rmod_stage_load::prog, PROG_INIT, PROG_REFCODE, prog_size(), prog_start(), resume_from_stage_cache(), rmodule_stage_load(), stage_cache_add(), stage_cache_load_stage(), and STAGE_REFCODE.
Referenced by agesa_map_stage_file().
const void* agesawrapper_locate_module | ( | const char | name[8] | ) |
Definition at line 59 of file refcode_loader.c.
References agesa_map_raw_file(), agesa_map_stage_file(), amd_find_image(), assert, CONFIG, get_agesa_cbfs_name(), _AMD_IMAGE_HEADER::ModuleInfoOffset, name, and NULL.
Referenced by agesa_get_dispatcher().
|
static |
Definition at line 50 of file refcode_loader.c.
References CONFIG, and ENV_RAMSTAGE.
Referenced by agesawrapper_locate_module().
|
static |
Definition at line 87 of file refcode_loader.c.
Referenced by agesa_get_dispatcher().