coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
option.h File Reference
#include <types.h>
Include dependency graph for option.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void sanitize_cmos (void)
 
unsigned int get_uint_option (const char *name, const unsigned int fallback)
 
enum cb_err set_uint_option (const char *name, unsigned int value)
 

Function Documentation

◆ get_uint_option()

◆ sanitize_cmos()

void sanitize_cmos ( void  )

Definition at line 199 of file option.c.

References cbfs_map(), cmos_disable_rtc(), cmos_error(), cmos_lb_cks_valid(), cmos_restore_rtc(), cmos_write_inner(), CONFIG, length, and MIN.

Referenced by bootblock_main_with_timestamp().

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

◆ set_uint_option()

enum cb_err set_uint_option ( const char *  name,
unsigned int  value 
)

Definition at line 116 of file option.c.

Referenced by mainboard_smi_save_cmos().

Here is the caller graph for this function: