coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
acpi.c File Reference
#include <types.h>
#include <console/console.h>
#include <acpi/acpi.h>
#include <acpi/acpigen.h>
#include <arch/cpu.h>
#include <cpu/intel/fsb.h>
#include <cpu/intel/speedstep.h>
#include <device/device.h>
Include dependency graph for acpi.c:

Go to the source code of this file.

Functions

static int determine_total_number_of_cores (void)
 
static void gen_pstate_entries (const sst_table_t *const pstates, const int cpuID, const int cores_per_package, const uint8_t coordination)
 
void generate_cpu_entries (const struct device *device)
 Generate ACPI entries for Speedstep for each cpu. More...
 

Function Documentation

◆ determine_total_number_of_cores()

static int determine_total_number_of_cores ( void  )
static

Definition at line 12 of file acpi.c.

References all_devices, device::bus, count, bus::dev, DEVICE_PATH_APIC, DEVICE_PATH_CPU_CLUSTER, device::enabled, device::next, device::path, and device_path::type.

Referenced by generate_cpu_entries().

Here is the caller graph for this function:

◆ gen_pstate_entries()

static void gen_pstate_entries ( const sst_table_t *const  pstates,
const int  cpuID,
const int  cores_per_package,
const uint8_t  coordination 
)
static

◆ generate_cpu_entries()