coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
tables.c File Reference
#include <acpi/acpi.h>
#include <acpi/acpigen.h>
#include <amdblocks/acpi.h>
#include <amdblocks/chip.h>
#include <assert.h>
#include <cpu/amd/msr.h>
#include <cpu/amd/mtrr.h>
#include <device/device.h>
#include <types.h>
Include dependency graph for tables.c:

Go to the source code of this file.

Functions

unsigned long southbridge_write_acpi_tables (const struct device *device, unsigned long current, struct acpi_rsdp *rsdp)
 
unsigned long acpi_fill_madt_irqoverride (unsigned long current)
 
void acpi_fill_root_complex_tom (const struct device *device)
 

Function Documentation

◆ acpi_fill_madt_irqoverride()

unsigned long acpi_fill_madt_irqoverride ( unsigned long  current)

Definition at line 20 of file tables.c.

References acpi_create_madt_irqoverride(), ARRAY_SIZE, soc_amd_common_config::flags, soc_amd_common_config::irq, soc_amd_common_config::irq_override, and soc_get_common_config().

Referenced by acpi_fill_madt().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ acpi_fill_root_complex_tom()

void acpi_fill_root_complex_tom ( const struct device device)

Definition at line 42 of file tables.c.

References acpi_device_scope(), acpigen_pop_len(), acpigen_write_name_dword(), acpigen_write_scope(), assert, msr_struct::hi, msr_struct::lo, rdmsr(), TOP_MEM, and TOP_MEM2.

Referenced by root_complex_fill_ssdt().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ southbridge_write_acpi_tables()

unsigned long southbridge_write_acpi_tables ( const struct device device,
unsigned long  current,
struct acpi_rsdp rsdp 
)

Definition at line 13 of file tables.c.

References acpi_write_hpet().

Here is the call graph for this function: