coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
symbols.h File Reference
#include <types.h>
Include dependency graph for symbols.h:

Go to the source code of this file.

Macros

#define REGION_SIZE(name)   ((size_t)_##name##_size)
 
#define DECLARE_REGION(name)
 
#define DECLARE_OPTIONAL_REGION(name)
 

Functions

static int preram_symbols_available (void)
 

Variables

u8 _dram []
 

Macro Definition Documentation

◆ DECLARE_OPTIONAL_REGION

#define DECLARE_OPTIONAL_REGION (   name)
Value:
__weak extern u8 _##name[]; \
__weak extern u8 _e##name[]; \
__weak extern u8 _##name##_size[];
const char * name
Definition: mmu.c:92
const struct smm_save_state_ops *legacy_ops __weak
Definition: save_state.c:8
uint8_t u8
Definition: stdint.h:45

Definition at line 25 of file symbols.h.

◆ DECLARE_REGION

#define DECLARE_REGION (   name)
Value:
extern u8 _##name[]; \
extern u8 _e##name[]; \
extern u8 _##name##_size[];

Definition at line 12 of file symbols.h.

◆ REGION_SIZE

#define REGION_SIZE (   name)    ((size_t)_##name##_size)

Definition at line 10 of file symbols.h.

Function Documentation

◆ preram_symbols_available()

static int preram_symbols_available ( void  )
inlinestatic

Definition at line 83 of file symbols.h.

References ENV_ROMSTAGE_OR_BEFORE, and ENV_X86.

Referenced by get_pdpt_addr(), paging_enable_for_car(), and vboot_get_workbuf().

Here is the caller graph for this function:

Variable Documentation

◆ _dram