coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <cbfs.h>
#include <cbmem.h>
#include <console/console.h>
#include <fallback.h>
#include <halt.h>
#include <lib.h>
#include <program_loading.h>
#include <reset.h>
#include <rmodule.h>
#include <stage_cache.h>
#include <symbols.h>
#include <thread.h>
#include <timestamp.h>
#include <security/vboot/vboot_common.h>
Go to the source code of this file.
Functions | |
void | run_romstage (void) |
int __weak | prog_locate_hook (struct prog *prog) |
static void | run_ramstage_from_resume (struct prog *ramstage) |
static int | load_relocatable_ramstage (struct prog *ramstage) |
void | preload_ramstage (void) |
void | run_ramstage (void) |
|
static |
Definition at line 67 of file prog_loaders.c.
References rmod_stage_load::cbmem_id, CBMEM_ID_RAMSTAGE, and rmodule_stage_load().
Referenced by run_ramstage().
Definition at line 76 of file prog_loaders.c.
References BIOS_DEBUG, cbfs_preload(), CONFIG, and printk.
Definition at line 48 of file prog_loaders.c.
Referenced by rmodule_stage_load(), and selfload_check().
Definition at line 85 of file prog_loaders.c.
References cbfs_prog_stage_load(), cbmem_top(), console_time_report(), die_with_post_code, ENV_POSTCAR, ENV_X86, load_relocatable_ramstage(), POST_INVALID_ROM, PROG_INIT, PROG_RAMSTAGE, prog_run(), prog_set_arg(), resume_from_stage_cache(), run_ramstage_from_resume(), stage_cache_add(), STAGE_RAMSTAGE, timestamp_add_now(), TS_COPYRAM_END, TS_COPYRAM_START, TS_POSTCAR_END, TS_ROMSTAGE_END, and vboot_run_logic().
Referenced by car_stage_entry(), main(), platform_romstage_main(), and romstage().
Definition at line 50 of file prog_loaders.c.
References BIOS_DEBUG, BIOS_ERR, board_reset(), prog::cbfs_type, CBFS_TYPE_STAGE, cbmem_top(), NULL, printk, prog_entry(), prog_run(), prog_set_arg(), stage_cache_load_stage(), and STAGE_RAMSTAGE.
Referenced by run_ramstage().
Definition at line 18 of file prog_loaders.c.
References CB_SUCCESS, cbfs_prog_stage_load(), CONFIG, console_time_report(), die_with_post_code, ENV_X86, halt(), legacy_romstage_select_and_load(), POST_INVALID_ROM, PROG_INIT, PROG_ROMSTAGE, prog_run(), romstage(), timestamp_add_now(), TS_COPYROM_END, TS_COPYROM_START, and vboot_run_logic().
Referenced by bootblock_main(), bootblock_main_with_timestamp(), main(), qemu_power8_main(), tegra124_main(), and tegra210_main().