coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
acpi_tables.c File Reference
#include <console/console.h>
#include <acpi/acpi.h>
#include <acpi/acpigen.h>
#include <device/device.h>
#include "i82371eb.h"
Include dependency graph for acpi_tables.c:

Go to the source code of this file.

Functions

static int determine_total_number_of_cores (void)
 
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 9 of file acpi_tables.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:

◆ generate_cpu_entries()

void generate_cpu_entries ( const struct device device)

Generate ACPI entries for Speedstep for each cpu.

Definition at line 26 of file acpi_tables.c.

References acpigen_pop_len(), acpigen_write_processor(), acpigen_write_scope(), BIOS_DEBUG, DEFAULT_PMBASE, determine_total_number_of_cores(), PCNTRL, and printk.

Here is the call graph for this function: