coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
acpi.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <
console/console.h
>
4
#include <
acpi/acpi.h
>
5
#include <
acpi/acpigen.h
>
6
#include <
device/device.h
>
7
#include "
x4x.h
"
8
9
unsigned
long
northbridge_write_acpi_tables
(
const
struct
device
*
device
,
10
unsigned
long
start,
11
struct
acpi_rsdp
*rsdp)
12
{
13
unsigned
long
current;
14
current =
acpi_align_current
(start);
15
16
printk
(
BIOS_DEBUG
,
"current = %lx\n"
, current);
17
18
return
current;
19
}
printk
#define printk(level,...)
Definition:
stdlib.h:16
console.h
acpi.h
acpi_align_current
static uintptr_t acpi_align_current(uintptr_t current)
Definition:
acpi.h:1435
acpigen.h
device.h
BIOS_DEBUG
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
Definition:
loglevel.h:128
northbridge_write_acpi_tables
unsigned long northbridge_write_acpi_tables(const struct device *device, unsigned long start, struct acpi_rsdp *rsdp)
Definition:
acpi.c:56
acpi_rsdp
Definition:
acpi.h:82
device
Definition:
device.h:107
x4x.h
src
northbridge
intel
x4x
acpi.c
Generated by
1.9.1