![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#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>
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) |
Definition at line 73 of file soc_util.c.
References BIOS_SPEW, dump_csr, dump_csr64, get_socket_stack_busno(), KTI_IN_PKGCSTATE_L1_MASK, MAX_NON_TURBO_LIM_RATIO_MASK, MAX_NON_TURBO_LIM_RATIO_SHIFT, P_STATE_LIMITS_LOCK, PCI_DEV, pci_s_read_config32(), pci_s_write_config32(), PCIE_IN_PKGCSTATE_L1_MASK, PCU_CR0_FUN, PCU_CR0_P_STATE_LIMITS, PCU_CR0_PLATFORM_INFO, PCU_CR1_FUN, PCU_CR1_SAPMCTL, PCU_CR2_DYNAMIC_PERF_POWER_CTL, PCU_CR2_FUN, PCU_CR2_PKG_CST_ENTRY_CRITERIA_MASK, PCU_CR2_PKG_CST_ENTRY_CRITERIA_MASK2, PCU_CR2_PROCHOT_RESPONSE_RATIO_REG, PCU_DEV, PCU_IIO_STACK, printk, PROCHOT_RATIO, SAPMCTL_LOCK_MASK, and UNOCRE_PLIMIT_OVERRIDE_SHIFT.
Referenced by xeon_sp_init_cpus().
Definition at line 64 of file soc_util.c.
References assert, and get_iio_uds().
Referenced by set_pcu_locks().
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().
bool is_iio_stack_res | ( | const STACK_RES * | res | ) |
Definition at line 58 of file soc_util.c.
uint8_t soc_get_iio_ioapicid | ( | int | socket, |
int | stack | ||
) |
Definition at line 152 of file soc_util.c.
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().