coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
refcode.c File Reference
#include <string.h>
#include <acpi/acpi.h>
#include <cbmem.h>
#include <console/console.h>
#include <console/streams.h>
#include <program_loading.h>
#include <rmodule.h>
#include <stage_cache.h>
#include <soc/pei_data.h>
#include <soc/pei_wrapper.h>
#include <soc/pm.h>
#include <soc/refcode.h>
Include dependency graph for refcode.c:

Go to the source code of this file.

Functions

static pei_wrapper_entry_t load_reference_code (void)
 
void broadwell_run_reference_code (void)
 

Function Documentation

◆ broadwell_run_reference_code()

void broadwell_run_reference_code ( void  )

Definition at line 42 of file refcode.c.

References acpi_is_wakeup_s3(), ACPI_S3, BIOS_ERR, pei_data::boot_mode, broadwell_fill_pei_data(), load_reference_code(), mainboard_fill_pei_data(), memset(), NULL, printk, and pei_data::saved_data.

Referenced by broadwell_init_pre_device().

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

◆ load_reference_code()

static pei_wrapper_entry_t load_reference_code ( void  )
static

Definition at line 16 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 broadwell_run_reference_code().

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