coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
bootmode.c File Reference
#include <bootmode.h>
#include <console/console.h>
#include "fw_cfg.h"
Include dependency graph for bootmode.c:

Go to the source code of this file.

Functions

int get_recovery_mode_switch (void)
 HACK: Use Fn-Key as recovery mode switch. More...
 

Function Documentation

◆ get_recovery_mode_switch()

int get_recovery_mode_switch ( void  )

HACK: Use Fn-Key as recovery mode switch.

Wait for sense register ready and read Fn-Key state.

Definition at line 11 of file bootmode.c.

References BIOS_ERR, BIOS_INFO, fw_cfg_check_file(), fw_cfg_get(), printk, FWCfgFile::select, and FWCfgFile::size.

Here is the call graph for this function: