coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
acpi.c File Reference
#include <console/console.h>
#include <acpi/acpi.h>
#include <acpi/acpigen.h>
#include <device/pci_ops.h>
#include <arch/ioapic.h>
#include <arch/smp/mpspec.h>
#include <cpu/amd/cpuid.h>
#include <cpu/amd/msr.h>
#include <cpu/x86/smm.h>
#include <device/device.h>
#include <device/pci.h>
#include <amdblocks/acpimmio.h>
#include <amdblocks/acpi.h>
#include <amdblocks/chip.h>
#include <amdblocks/cpu.h>
#include <amdblocks/ioapic.h>
#include <soc/acpi.h>
#include <soc/pci_devs.h>
#include <soc/msr.h>
#include <soc/southbridge.h>
#include <soc/gpio.h>
#include <version.h>
#include "chip.h"
Include dependency graph for acpi.c:

Go to the source code of this file.

Functions

unsigned long acpi_fill_madt (unsigned long current)
 
void acpi_fill_fadt (acpi_fadt_t *fadt)
 
static uint32_t get_pstate_core_freq (msr_t pstate_def)
 
static uint32_t get_pstate_core_power (msr_t pstate_def)
 
static size_t get_pstate_info (struct acpi_sw_pstate *pstate_values, struct acpi_xpss_sw_pstate *pstate_xpss_values)
 
void generate_cpu_entries (const struct device *device)
 Generate ACPI entries for Speedstep for each cpu. More...
 

Function Documentation

◆ acpi_fill_fadt()

void acpi_fill_fadt ( acpi_fadt_t fadt)

Definition at line 66 of file acpi.c.

References acpi_gen_regaddr::access_size, ACPI_ACCESS_SIZE_BYTE_ACCESS, ACPI_ACCESS_SIZE_DWORD_ACCESS, ACPI_ACCESS_SIZE_WORD_ACCESS, ACPI_ADDRESS_SPACE_IO, acpi_fadt::acpi_disable, acpi_fadt::acpi_enable, ACPI_FADT_32BIT_TIMER, ACPI_FADT_C1_SUPPORTED, ACPI_FADT_C2_NOT_SUPPORTED, ACPI_FADT_C3_NOT_SUPPORTED, ACPI_FADT_PCI_EXPRESS_WAKE, ACPI_FADT_PLATFORM_CLOCK, ACPI_FADT_REMOTE_POWER_ON, ACPI_FADT_S4_RTC_VALID, ACPI_FADT_S4_RTC_WAKE, ACPI_FADT_WBINVD, ACPI_GPE0_BLK, ACPI_IO_BASE, ACPI_PM1_CNT_BLK, ACPI_PM_EVT_BLK, ACPI_PM_TMR_BLK, acpi_gen_regaddr::addrh, acpi_gen_regaddr::addrl, APM_CNT, APM_CNT_ACPI_DISABLE, APM_CNT_ACPI_ENABLE, acpi_fadt::ARM_boot_arch, BIOS_DEBUG, acpi_gen_regaddr::bit_offset, acpi_gen_regaddr::bit_width, acpi_fadt::day_alrm, acpi_fadt::duty_offset, acpi_fadt::duty_width, soc_amd_common_config::fadt_boot_arch, soc_amd_common_config::fadt_flags, acpi_fadt::flags, acpi_fadt::gpe0_blk, acpi_fadt::gpe0_blk_len, acpi_fadt::iapc_boot_arch, acpi_fadt::mon_alrm, acpi_fadt::p_lvl2_lat, acpi_fadt::p_lvl3_lat, permanent_smi_handler(), acpi_fadt::pm1_cnt_len, acpi_fadt::pm1_evt_len, acpi_fadt::pm1a_cnt_blk, acpi_fadt::pm1a_evt_blk, acpi_fadt::pm_tmr_blk, acpi_fadt::pm_tmr_len, printk, acpi_fadt::res2, RTC_DATE_ALARM, acpi_fadt::sci_int, acpi_fadt::smi_cmd, soc_get_common_config(), acpi_gen_regaddr::space_id, acpi_fadt::x_firmware_ctl_h, acpi_fadt::x_firmware_ctl_l, acpi_fadt::x_gpe0_blk, acpi_fadt::x_pm1a_cnt_blk, acpi_fadt::x_pm1a_evt_blk, and acpi_fadt::x_pm_tmr_blk.

Here is the call graph for this function:

◆ acpi_fill_madt()

◆ generate_cpu_entries()

◆ get_pstate_core_freq()

static uint32_t get_pstate_core_freq ( msr_t  pstate_def)
static

◆ get_pstate_core_power()

◆ get_pstate_info()