coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <acpi/acpigen.h>
#include <arch/smp/mpspec.h>
#include <assert.h>
#include <cpu/intel/turbo.h>
#include <device/mmio.h>
#include <device/pci.h>
#include <intelblocks/acpi.h>
#include <intelblocks/cpulib.h>
#include <soc/acpi.h>
#include <soc/cpu.h>
#include <soc/iomap.h>
#include <soc/msr.h>
#include <soc/pci_devs.h>
#include <soc/pm.h>
#include <soc/soc_util.h>
#include <soc/util.h>
Go to the source code of this file.
Functions | |
int | soc_madt_sci_irq_polarity (int sci) |
uint32_t | soc_read_sci_irq_select (void) |
void | soc_fill_fadt (acpi_fadt_t *fadt) |
void | uncore_inject_dsdt (const struct device *device) |
void | soc_power_states_generation (int core, int cores_per_package) |
unsigned long | xeonsp_acpi_create_madt_lapics (unsigned long current) |
void soc_fill_fadt | ( | acpi_fadt_t * | fadt | ) |
Definition at line 38 of file soc_acpi.c.
References ACPI_FADT_S4_RTC_WAKE, ACPI_FADT_SEALED_CASE, and acpi_fadt::flags.
int soc_madt_sci_irq_polarity | ( | int | sci | ) |
Definition at line 20 of file soc_acpi.c.
References MP_IRQ_POLARITY_HIGH, and MP_IRQ_POLARITY_LOW.
void soc_power_states_generation | ( | int | core, |
int | cores_per_package | ||
) |
Definition at line 115 of file soc_acpi.c.
References acpigen_pop_len(), acpigen_write_empty_PCT(), acpigen_write_name(), acpigen_write_package(), acpigen_write_PPC_NVS(), acpigen_write_PSD_package(), acpigen_write_PSS_package(), common_calculate_power_ratio(), cpu_config_tdp_levels(), get_turbo_state(), msr_struct::hi, HW_ALL, msr_struct::lo, MISC_PWR_MGMT_EIST_HW_DIS, MSR_CONFIG_TDP_NOMINAL, MSR_MISC_PWR_MGMT, MSR_PKG_POWER_SKU, MSR_PKG_POWER_SKU_UNIT, MSR_PLATFORM_INFO, MSR_TURBO_RATIO_LIMIT, power, PSS_LATENCY_BUSMASTER, PSS_LATENCY_TRANSITION, PSS_MAX_ENTRIES, PSS_RATIO_STEP, rdmsr(), SW_ANY, and TURBO_ENABLED.
Definition at line 28 of file soc_acpi.c.
References PCH_DEV_PMC, pci_read_config32(), and PMC_ACPI_CNT.
Definition at line 44 of file soc_acpi.c.
References acpigen_pop_len(), acpigen_resource_dword(), acpigen_resource_qword(), acpigen_resource_word(), acpigen_write_io16(), acpigen_write_name(), acpigen_write_resourcetemplate_footer(), acpigen_write_resourcetemplate_header(), acpigen_write_scope(), BIOS_DEBUG, device::bus, get_iiostack_info(), iiostack_resource::no_of_stacks, printk, iiostack_resource::res, bus::secondary, snprintf(), SPI_BASE_ADDRESS, SPI_BASE_SIZE, VGA_BASE_ADDRESS, and VGA_BASE_SIZE.
Definition at line 221 of file soc_acpi.c.
References acpi_create_madt_lapic(), all_devices, device_path::apic, apic_path::apic_id, device::bus, bus::dev, DEVICE_PATH_APIC, DEVICE_PATH_CPU_CLUSTER, device::enabled, device::next, device::path, and device_path::type.