summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-01-28 09:13:17 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-02-07 11:47:50 +0000
commit9c8249195d0c8fc115dc951215411bf025800870 (patch)
tree01a07cf9a9ac82ba4d949c33aeaa2c8230416d99 /src
parent0095fce186ce0122a024e0e84e3b5869406e0646 (diff)
acpi/acpigen.c: Add a comment to deprecate acpigen_write_processor()
ACPI Revision 6.0 deprecates Processor keyword, so use acpigen_write_processor_device() instead. Change-Id: I31626f4e323dd9053a63c0f5e89d1685103e4bd4 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/72487 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src')
-rw-r--r--src/acpi/acpigen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/acpi/acpigen.c b/src/acpi/acpigen.c
index 305cddb0f0..b6a409eb96 100644
--- a/src/acpi/acpigen.c
+++ b/src/acpi/acpigen.c
@@ -395,6 +395,7 @@ void acpigen_write_processor_namestring(unsigned int cpu_index)
acpigen_emit_namestring(buffer);
}
+/* Processor() operator is deprecated as of ACPI 6.0, use Device() instead. */
void acpigen_write_processor(u8 cpuindex, u32 pblock_addr, u8 pblock_len)
{
/*