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 }
#define printk(level,...)
Definition: stdlib.h:16
static uintptr_t acpi_align_current(uintptr_t current)
Definition: acpi.h:1435
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
Definition: loglevel.h:128
unsigned long northbridge_write_acpi_tables(const struct device *device, unsigned long start, struct acpi_rsdp *rsdp)
Definition: acpi.c:56
Definition: acpi.h:82
Definition: device.h:107