![]() |
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 <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 37 of file soc_acpi.c.
References acpi_gen_regaddr::access_size, ACPI_ACCESS_SIZE_BYTE_ACCESS, ACPI_ACCESS_SIZE_DWORD_ACCESS, ACPI_ADDRESS_SPACE_IO, ACPI_BASE_ADDRESS, ACPI_FADT_8042, ACPI_FADT_LEGACY_DEVICES, ACPI_FADT_SEALED_CASE, ACPI_FADT_SLEEP_TYPE, acpi_gen_regaddr::addrh, acpi_gen_regaddr::addrl, acpi_gen_regaddr::bit_offset, acpi_gen_regaddr::bit_width, acpi_fadt::flags, acpi_fadt::iapc_boot_arch, acpi_fadt::mon_alrm, PM1_TMR, PM2_CNT, acpi_fadt::pm2_cnt_blk, acpi_fadt::pm2_cnt_len, acpi_fadt::pm_tmr_blk, acpi_fadt::pm_tmr_len, pmbase, acpi_gen_regaddr::space_id, acpi_fadt::x_pm2_cnt_blk, and acpi_fadt::x_pm_tmr_blk.
int soc_madt_sci_irq_polarity | ( | int | sci | ) |
Definition at line 19 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 148 of file soc_acpi.c.
Definition at line 27 of file soc_acpi.c.
References PCH_DEV_PMC, pci_read_config32(), and PMC_ACPI_CNT.
Definition at line 73 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_iio_uds(), printk, bus::secondary, snprintf(), SPI_BASE_ADDRESS, SPI_BASE_SIZE, VGA_BASE_ADDRESS, and VGA_BASE_SIZE.
Definition at line 152 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.