![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <assert.h>
#include <bootmode.h>
#include <bootstate.h>
#include <vb2_api.h>
#include <security/vboot/misc.h>
#include <security/vboot/vbnv.h>
#include <security/vboot/vboot_common.h>
Go to the source code of this file.
Functions | |
int | vboot_check_recovery_request (void) |
int | vboot_recovery_mode_enabled (void) |
int | vboot_developer_mode_enabled (void) |
int __weak | clear_recovery_mode_switch (void) |
static void | do_clear_recovery_mode_switch (void *unused) |
BOOT_STATE_INIT_ENTRY (BS_WRITE_TABLES, BS_ON_ENTRY, do_clear_recovery_mode_switch, NULL) | |
int __weak | get_recovery_mode_retrain_switch (void) |
int __weak | get_ec_is_trusted (void) |
BOOT_STATE_INIT_ENTRY | ( | BS_WRITE_TABLES | , |
BS_ON_ENTRY | , | ||
do_clear_recovery_mode_switch | , | ||
NULL | |||
) |
Definition at line 31 of file bootmode.c.
Referenced by do_clear_recovery_mode_switch().
Definition at line 36 of file bootmode.c.
References clear_recovery_mode_switch(), and vboot_get_context().
Definition at line 60 of file bootmode.c.
Referenced by verstage_main().
Definition at line 55 of file bootmode.c.
int vboot_check_recovery_request | ( | void | ) |
Definition at line 16 of file bootmode.c.
References vboot_get_context().
int vboot_developer_mode_enabled | ( | void | ) |
Definition at line 26 of file bootmode.c.
References vboot_get_context().
Referenced by Main(), and vboot_can_enable_udc().
int vboot_recovery_mode_enabled | ( | void | ) |
Definition at line 21 of file bootmode.c.
References vboot_get_context().
Referenced by gpio_lock_pad(), handle_cse_eop_result(), invalidate_normal_cache(), lookup_region_type(), mainboard_init(), mrc_cache_find_current(), mt_mem_init_run(), and platform_fsp_silicon_init_params_cb().