coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
romstage.c File Reference
#include <arch/cpu.h>
#include <arch/romstage.h>
#include <console/console.h>
#include <cpu/x86/smm.h>
#include <arch/symbols.h>
#include <commonlib/helpers.h>
#include <program_loading.h>
#include <timestamp.h>
#include <security/vboot/vboot_common.h>
Include dependency graph for romstage.c:

Go to the source code of this file.

Macros

#define DCACHE_RAM_ROMSTAGE_STACK_SIZE   0x2000
 

Functions

static void romstage_main (void)
 
asmlinkage void car_stage_entry (void)
 

Variables

static struct postcar_frame early_mtrrs
 

Macro Definition Documentation

◆ DCACHE_RAM_ROMSTAGE_STACK_SIZE

#define DCACHE_RAM_ROMSTAGE_STACK_SIZE   0x2000

Definition at line 15 of file romstage.c.

Function Documentation

◆ car_stage_entry()

asmlinkage void car_stage_entry ( void  )

Definition at line 61 of file romstage.c.

References console_init(), romstage_main(), timestamp_add_now(), and TS_ROMSTAGE_START.

Here is the call graph for this function:

◆ romstage_main()

static void romstage_main ( void  )
static

Definition at line 19 of file romstage.c.

References _car_stack_size, _ecar_stack, ALIGN_DOWN, BIOS_DEBUG, CONFIG, DCACHE_RAM_ROMSTAGE_STACK_SIZE, early_mtrrs, mainboard_romstage_entry(), MAX, MIN, prepare_and_run_postcar(), printk, smm_list_regions(), and vboot_sync_ec().

Referenced by car_stage_entry().

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

Variable Documentation

◆ early_mtrrs

struct postcar_frame early_mtrrs
static

Definition at line 1 of file romstage.c.

Referenced by romstage_main().