![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <assert.h>
#include <intelblocks/acpi.h>
#include <soc/pci_devs.h>
#include <soc/util.h>
#include "chip.h"
Go to the source code of this file.
Enumerations | |
enum | { C_STATE_C1 , C_STATE_C3 , C_STATE_C6 , C_STATE_C7 , NUM_C_STATES } |
Functions | |
const acpi_cstate_t * | soc_get_cstate_map (size_t *entries) |
static void | print_madt_ioapic (int socket, int stack, int ioapic_id, uint32_t ioapic_base, int gsi_base) |
const struct madt_ioapic_info * | soc_get_ioapic_info (size_t *entries) |
Variables | |
static const acpi_cstate_t | cstate_map [NUM_C_STATES] |
static int | cstate_set_all [] |
static int | cstate_set_c1_c6 [] |
anonymous enum |
|
static |
Definition at line 90 of file acpi.c.
References BIOS_DEBUG, and printk.
Referenced by soc_get_ioapic_info().
const acpi_cstate_t* soc_get_cstate_map | ( | size_t * | entries | ) |
Definition at line 61 of file acpi.c.
References ARRAY_SIZE, config, config_of_soc, cstate_map, cstate_set_all, cstate_set_c1_c6, CSTATES_ALL, CSTATES_C1C6, and acpi_cstate::ctype.
const struct madt_ioapic_info* soc_get_ioapic_info | ( | size_t * | entries | ) |
Definition at line 98 of file acpi.c.
References addr, madt_ioapic_info::addr, ARRAY_SIZE, assert, get_iio_uds(), madt_ioapic_info::gsi_base, madt_ioapic_info::id, is_iio_stack_res(), PCH_IOAPIC_ID, print_madt_ioapic(), and soc_get_iio_ioapicid().
|
static |
Definition at line 21 of file acpi.c.
Referenced by soc_get_cstate_map().
|
static |
Definition at line 49 of file acpi.c.
Referenced by soc_get_cstate_map().
|
static |
Definition at line 56 of file acpi.c.
Referenced by soc_get_cstate_map().