coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
fw_cfg.h File Reference
#include "fw_cfg_if.h"
Include dependency graph for fw_cfg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void fw_cfg_get (uint16_t entry, void *dst, int dstlen)
 
int fw_cfg_check_file (FWCfgFile *file, const char *name)
 
int fw_cfg_max_cpus (void)
 
unsigned long fw_cfg_smbios_tables (int *handle, unsigned long *current)
 
uintptr_t fw_cfg_tolud (void)
 

Function Documentation

◆ fw_cfg_check_file()

int fw_cfg_check_file ( FWCfgFile file,
const char *  name 
)

Definition at line 85 of file fw_cfg.c.

References fw_cfg_find_file(), fw_cfg_present(), and name.

Referenced by cpu_pci_domain_read_resources(), fw_cfg_acpi_tables(), fw_cfg_smbios_tables(), and get_recovery_mode_switch().

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

◆ fw_cfg_get()

void fw_cfg_get ( uint16_t  entry,
void dst,
int  dstlen 
)

Definition at line 58 of file fw_cfg.c.

References fw_cfg_read(), and fw_cfg_select().

Referenced by cpu_pci_domain_read_resources(), fw_cfg_acpi_tables(), fw_cfg_present(), fw_cfg_smbios_init(), fw_cfg_smbios_tables(), and get_recovery_mode_switch().

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

◆ fw_cfg_max_cpus()

int fw_cfg_max_cpus ( void  )

Definition at line 131 of file fw_cfg.c.

◆ fw_cfg_smbios_tables()

unsigned long fw_cfg_smbios_tables ( int *  handle,
unsigned long *  current 
)

◆ fw_cfg_tolud()

uintptr_t fw_cfg_tolud ( void  )

Definition at line 115 of file fw_cfg.c.

References FwCfgE820Entry::address, fw_cfg_e820_read(), fw_cfg_e820_select(), FwCfgE820Entry::length, and FwCfgE820Entry::type.

Referenced by cbmem_top_chipset().

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