coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
vboot_common.c File Reference
#include <console/cbmem_console.h>
#include <reset.h>
#include <security/vboot/misc.h>
#include <security/vboot/vboot_common.h>
#include <security/vboot/vbnv.h>
#include <vb2_api.h>
#include "antirollback.h"
Include dependency graph for vboot_common.c:

Go to the source code of this file.

Functions

void vboot_save_data (struct vb2_context *ctx)
 
int vboot_can_enable_udc (void)
 
void __weak vboot_platform_prepare_reboot (void)
 
void vboot_reboot (void)
 

Function Documentation

◆ vboot_can_enable_udc()

int vboot_can_enable_udc ( void  )

Definition at line 36 of file vboot_common.c.

References CONFIG, vbnv_udc_enable_flag(), vboot_developer_mode_enabled(), and vboot_is_gbb_flag_set().

Here is the call graph for this function:

◆ vboot_platform_prepare_reboot()

void __weak vboot_platform_prepare_reboot ( void  )

Definition at line 56 of file vboot_common.c.

Referenced by vboot_reboot().

Here is the caller graph for this function:

◆ vboot_reboot()

void vboot_reboot ( void  )

Definition at line 60 of file vboot_common.c.

References board_reset(), cbmem_dump_console_to_uart(), CONFIG, and vboot_platform_prepare_reboot().

Referenced by cse_trigger_vboot_recovery(), Main(), reboot_into_recovery(), vboot_sync_ec(), and verstage_main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vboot_save_data()

void vboot_save_data ( struct vb2_context *  ctx)

Definition at line 12 of file vboot_common.c.

References antirollback_write_space_firmware(), antirollback_write_space_kernel(), BIOS_INFO, CONFIG, printk, save_vbnv(), and tlcl_lib_init().

Referenced by cse_trigger_vboot_recovery(), reboot_into_recovery(), vboot_sync_ec(), and verstage_main().

Here is the call graph for this function:
Here is the caller graph for this function: