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 <device/device.h>
#include <device/pci.h>
#include <intelblocks/cpulib.h>
#include <soc/cpu.h>
#include <soc/pci_devs.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)
 
int soc_get_stack_for_port (int port)
 
uint8_t soc_get_iio_ioapicid (int socket, int stack)
 

Function Documentation

◆ get_socket_stack_busno()

uint32_t get_socket_stack_busno ( uint32_t  socket,
uint32_t  stack 
)

Definition at line 33 of file soc_util.c.

Referenced by config_reset_cpl3_csrs().

Here is the caller graph for this function:

◆ get_system_memory_map()

const struct SystemMemoryMapHob* get_system_memory_map ( void  )

Definition at line 12 of file soc_util.c.

◆ is_iio_stack_res()

bool is_iio_stack_res ( const STACK_RES *  res)

Definition at line 28 of file soc_util.c.

Referenced by get_iiostack_info(), and soc_get_ioapic_info().

Here is the caller graph for this function:

◆ soc_get_iio_ioapicid()

uint8_t soc_get_iio_ioapicid ( int  socket,
int  stack 
)

Definition at line 65 of file soc_util.c.

Referenced by acpi_create_drhd(), and soc_get_ioapic_info().

Here is the caller graph for this function:

◆ soc_get_stack_for_port()

int soc_get_stack_for_port ( int  port)

Definition at line 51 of file soc_util.c.