coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
refcode.c File Reference
#include <cbmem.h>
#include <console/console.h>
#include <console/streams.h>
#include <cpu/x86/tsc.h>
#include <program_loading.h>
#include <rmodule.h>
#include <stage_cache.h>
#include <soc/ramstage.h>
#include <soc/efi_wrapper.h>
Include dependency graph for refcode.c:

Go to the source code of this file.

Functions

static void ABI_X86 send_to_console (unsigned char b)
 
static efi_wrapper_entry_t load_reference_code (void)
 
void baytrail_run_reference_code (void)
 

Function Documentation

◆ baytrail_run_reference_code()

void baytrail_run_reference_code ( void  )

Definition at line 45 of file refcode.c.

◆ load_reference_code()

static efi_wrapper_entry_t load_reference_code ( void  )
static

Definition at line 19 of file refcode.c.

References BIOS_DEBUG, rmod_stage_load::cbmem_id, CBMEM_ID_REFCODE, NULL, printk, rmod_stage_load::prog, prog_entry(), PROG_INIT, PROG_REFCODE, resume_from_stage_cache(), rmodule_stage_load(), stage_cache_add(), stage_cache_load_stage(), and STAGE_REFCODE.

Referenced by baytrail_run_reference_code().

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

◆ send_to_console()

static void ABI_X86 send_to_console ( unsigned char  b)
static

Definition at line 14 of file refcode.c.

References console_tx_byte().

Referenced by baytrail_run_reference_code().

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