u-boot/arch/sandbox/lib/acpi_table.c
Patrick Rudolph 4a3fc0f525 acpi: x86: Move MADT to common code
Write MADT in common code and let the SoC fill out the body by
calling acpi_fill_madt() which must be implemented at SoC level.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
2024-10-27 17:12:44 -06:00

11 lines
209 B
C

// SPDX-License-Identifier: GPL-2.0+
#include <acpi/acpi_table.h>
void acpi_fill_fadt(struct acpi_fadt *fadt)
{
}
void *acpi_fill_madt(struct acpi_madt *madt, struct acpi_ctx *ctx)
{
return ctx->current;
}