diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-05-09 16:39:57 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-05-26 13:57:47 +0000 |
commit | 21594fd161957920a0bce94e24a52e9cab7f5397 (patch) | |
tree | e29efe951aaa5e12d4f2fc16d4e1ddefdf542507 /src/include/acpi | |
parent | 5c1455495e8d2030473d8194fcf2e1d1111696b7 (diff) |
acpi/acpigen: add acpigen_resource_mmio to generate MMIO resource
Add the acpigen_resource_mmio helper function to generate an MMIO range
resource.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Change-Id: I38d55dfcc2892bcb5d253a3aef6ed993cfdba0a5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75045
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/include/acpi')
-rw-r--r-- | src/include/acpi/acpigen.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/acpi/acpigen.h b/src/include/acpi/acpigen.h index 614cd6e713..2147990944 100644 --- a/src/include/acpi/acpigen.h +++ b/src/include/acpi/acpigen.h @@ -690,6 +690,7 @@ void acpigen_resource_qword(u16 res_type, u16 gen_flags, u16 type_flags, void acpigen_resource_bus_number(u16 bus_base, u16 bus_limit); void acpigen_resource_io(u16 io_base, u16 io_limit); +void acpigen_resource_mmio(u64 mmio_base, u64 mmio_limit, u16 type_flags); /* Emits Notify(namestr, value) */ void acpigen_notify(const char *namestr, int value); |