![]() |
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.
Functions | |
struct vb2_context * | vboot_get_context (void) |
static int | vboot_is_firmware_slot_a (struct vb2_context *ctx) |
static bool | vboot_is_gbb_flag_set (enum vb2_gbb_flag flag) |
int | vboot_locate_firmware (struct vb2_context *ctx, struct region_device *fw) |
static int | verification_should_run (void) |
static int | verstage_should_load (void) |
static int | vboot_logic_executed (void) |
struct vb2_context* vboot_get_context | ( | void | ) |
Definition at line 28 of file common.c.
References assert, vboot_ctx, vboot_get_workbuf(), vboot_logic_executed(), and verification_should_run().
Referenced by cse_get_source_rdev_fmap(), cse_trigger_vboot_recovery(), display_init_required(), do_clear_recovery_mode_switch(), Main(), psp_verstage_s0i3_resume(), vboot_check_recovery_request(), vboot_developer_mode_enabled(), vboot_get_cbfs_boot_device(), vboot_is_gbb_flag_set(), vboot_recovery_mode_enabled(), vboot_sync_ec(), and verstage_main().
|
inlinestatic |
Definition at line 18 of file misc.h.
Referenced by cse_get_source_rdev_fmap(), update_boot_region(), vb2ex_read_resource(), vboot_locate_firmware(), and verstage_main().
|
inlinestatic |
Definition at line 29 of file misc.h.
References vboot_get_context().
Referenced by qclib_load_and_run(), and vboot_can_enable_udc().
int vboot_locate_firmware | ( | struct vb2_context * | ctx, |
struct region_device * | fw | ||
) |
Definition at line 53 of file common.c.
References fmap_locate_area_as_rdev(), name, rdev_chain(), and vboot_is_firmware_slot_a().
Referenced by vboot_get_cbfs_boot_device(), and verstage_main().
|
inlinestatic |
Definition at line 66 of file misc.h.
References CONFIG, dead_code, ENV_BOOTBLOCK, ENV_ROMSTAGE_OR_BEFORE, ENV_SEPARATE_VERSTAGE, vboot_executed, verification_should_run(), and verstage_should_load().
Referenced by tspi_tpm_is_setup(), vboot_get_cbfs_boot_device(), and vboot_get_context().
|
inlinestatic |
Definition at line 46 of file misc.h.
References CONFIG, dead_code, ENV_BOOTBLOCK, ENV_ROMSTAGE, and ENV_SEPARATE_VERSTAGE.
Referenced by tspi_tpm_is_setup(), vboot_get_context(), vboot_logic_executed(), and vboot_run_logic().
|
inlinestatic |
Definition at line 58 of file misc.h.
References CONFIG, and ENV_BOOTBLOCK.
Referenced by vboot_logic_executed(), and vboot_run_logic().