acpi/acpigen: rename and clarify bus/IO/MMIO resource producer functions
The acpigen_resource_[bus_number,io,mmio*] functions didn't make it very clear that they are generating resource producer ranges and not resource consumer ranges. To clarify this, change the function names to acpigen_resource_producer_[bus_number,io,mmio*] and explicitly add the ADDR_SPACE_GENERAL_FLAG_PRODUCER flag which evaluates to 0, so this doesn't change the functionality. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I334f38aa8ab418d5577f92b980ff750504e2bb4e Reviewed-on: https://review.coreboot.org/c/coreboot/+/75486 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <inforichland@gmail.com>
This commit is contained in:
parent
bc069ea6b3
commit
0fdede09e0
2 changed files with 18 additions and 14 deletions
|
|
@ -688,9 +688,9 @@ void acpigen_resource_dword(u16 res_type, u16 gen_flags, u16 type_flags,
|
|||
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);
|
||||
void acpigen_resource_mmio(u64 mmio_base, u64 mmio_limit, u16 type_flags);
|
||||
void acpigen_resource_producer_bus_number(u16 bus_base, u16 bus_limit);
|
||||
void acpigen_resource_producer_io(u16 io_base, u16 io_limit);
|
||||
void acpigen_resource_producer_mmio(u64 mmio_base, u64 mmio_limit, u16 type_flags);
|
||||
|
||||
/* Emits Notify(namestr, value) */
|
||||
void acpigen_notify(const char *namestr, int value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue