From f3aaa0e1539c16a3a26a769110ec1aca458ab410 Mon Sep 17 00:00:00 2001 From: Shuo Liu Date: Tue, 25 Jun 2024 18:50:06 +0800 Subject: acpi: Rename acpi_create_dmar_drhd For most of SoCs, DRHD is by default with the size of 4KB. However, larger sizes are allowed as well. Rename acpi_create_dmar_drhd to acpi_create_dmar_drhd_4k to support the default case while a later patch will re-add acpi_create_dmar_drhd with a size parameter. TEST=intel/archercity CRB Change-Id: Ic0a0618aa8e46d3fec2ceac7a91742122993df91 Signed-off-by: Shuo Liu Reviewed-on: https://review.coreboot.org/c/coreboot/+/83202 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Nico Huber --- src/acpi/acpi_dmar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/acpi') diff --git a/src/acpi/acpi_dmar.c b/src/acpi/acpi_dmar.c index 3853142b16..20a100d337 100644 --- a/src/acpi/acpi_dmar.c +++ b/src/acpi/acpi_dmar.c @@ -36,7 +36,7 @@ void acpi_create_dmar(acpi_dmar_t *dmar, enum dmar_flags flags, header->checksum = acpi_checksum((void *)dmar, header->length); } -unsigned long acpi_create_dmar_drhd(unsigned long current, u8 flags, +unsigned long acpi_create_dmar_drhd_4k(unsigned long current, u8 flags, u16 segment, u64 bar) { dmar_entry_t *drhd = (dmar_entry_t *)current; -- cgit v1.2.3