coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
soc_util.c File Reference
#include <assert.h>
#include <console/console.h>
#include <device/pci.h>
#include <hob_iiouds.h>
#include <intelblocks/cpulib.h>
#include <intelblocks/pcr.h>
#include <soc/iomap.h>
#include <soc/cpu.h>
#include <soc/msr.h>
#include <soc/pci_devs.h>
#include <soc/pcr_ids.h>
#include <soc/soc_util.h>
#include <soc/util.h>
Include dependency graph for soc_util.c:

Go to the source code of this file.

Functions

const struct SystemMemoryMapHob * get_system_memory_map (void)
 
bool is_iio_stack_res (const STACK_RES *res)
 
uint32_t get_socket_stack_busno (uint32_t socket, uint32_t stack)
 
void config_reset_cpl3_csrs (void)
 
int soc_get_stack_for_port (int port)
 
uint8_t soc_get_iio_ioapicid (int socket, int stack)
 

Function Documentation

◆ config_reset_cpl3_csrs()

◆ get_socket_stack_busno()

uint32_t get_socket_stack_busno ( uint32_t  socket,
uint32_t  stack 
)

Definition at line 64 of file soc_util.c.

References assert, and get_iio_uds().

Referenced by set_pcu_locks().

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

◆ get_system_memory_map()

const struct SystemMemoryMapHob* get_system_memory_map ( void  )

Definition at line 46 of file soc_util.c.

References assert, fsp_find_extension_hob_by_guid(), and NULL.

Referenced by dl_oem_smbios_strings(), and get_srat_memory_entries().

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

◆ is_iio_stack_res()

bool is_iio_stack_res ( const STACK_RES *  res)

Definition at line 58 of file soc_util.c.

◆ soc_get_iio_ioapicid()

uint8_t soc_get_iio_ioapicid ( int  socket,
int  stack 
)

Definition at line 152 of file soc_util.c.

◆ soc_get_stack_for_port()

int soc_get_stack_for_port ( int  port)

Definition at line 134 of file soc_util.c.

Referenced by acpi_create_dmar_ds_pci_br_for_port().

Here is the caller graph for this function: