summaryrefslogtreecommitdiffstats
path: root/src/include/acpi
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-05-09 16:18:51 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-05-11 19:30:10 +0000
commit6695be65f331b3cc76189d828fbb14e2be95ab0d (patch)
treef951ee4c9c420a3f6663c25e0f11758f5726fe10 /src/include/acpi
parent5a82f0d3a9124c2c7603cb971f3d4e9eb4a74246 (diff)
downloadcoreboot-6695be65f331b3cc76189d828fbb14e2be95ab0d.tar.gz
coreboot-6695be65f331b3cc76189d828fbb14e2be95ab0d.tar.bz2
coreboot-6695be65f331b3cc76189d828fbb14e2be95ab0d.zip
acpi/acpigen: add acpigen_resource_io to generate I/O resource
Add the acpigen_resource_io helper function to generate an I/O range resource. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: I177f59b52d4dbbff0a3ceeef5fc8c7455cef9ff8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75044 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <inforichland@gmail.com>
Diffstat (limited to 'src/include/acpi')
-rw-r--r--src/include/acpi/acpigen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/acpi/acpigen.h b/src/include/acpi/acpigen.h
index efd26e4d84c2..35d14ab3503f 100644
--- a/src/include/acpi/acpigen.h
+++ b/src/include/acpi/acpigen.h
@@ -694,6 +694,7 @@ void acpigen_resource_qword(u16 res_type, u16 gen_flags, u16 type_flags,
u64 gran, u64 range_min, u64 range_max, u64 translation, u64 length);
void acpigen_resource_bus_number(u16 bus_base, u16 bus_limit);
+void acpigen_resource_io(u16 io_base, u16 io_limit);
/* Emits Notify(namestr, value) */
void acpigen_notify(const char *namestr, int value);