summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorCliff Huang <cliff.huang@intel.com>2023-01-19 21:18:23 -0800
committerFelix Held <felix-coreboot@felixheld.de>2023-01-27 14:47:10 +0000
commite608308adebc058f47eb7c51721ae0f077018691 (patch)
treee5a7db7dfea09207fbb7029913685dcf623e3a20 /Documentation
parent5f4f1b8558948feae88320bae9101e99d21608e2 (diff)
src/acpi: add debug message with concatenated string
add functions for concatenate OP add debug message containing concatenated string with string, value, or OPs Ex1: to print string with another string provided from C side: acpigen_write_debug_concatenate_string_string("Wait loop Timeout! var=", name, LOCAL6_OP); will generate: Concatenate ("Wait loop Timeout! var=", "L23E", Local6) Debug = Local6 Ex2: to print string with a value: acpigen_write_debug_concatenate_string_int("ModPHY enabling for RP:", pcie_rp, LOCAL0_OP); will generate: Concatenate ("ModPHY enabling for RP:", 0x05, Local0) Debug = Local0 Ex3: to print string with an ACPI OP: acpigen_write_debug_concatenate_string_op("while Loop count: ", LOCAL7_OP, LOCAL6_OP) will generate: Concatenate ("while Loop count: ", Local7, Local6) Debug = Local6 TEST=Add above functions in the acpigen code and check the generated SSDT table after OS boot Signed-off-by: Cliff Huang <cliff.huang@intel.com> Change-Id: I370745efe3d6b513ec2c5376248362a3eb4b3d21 Reviewed-on: https://review.coreboot.org/c/coreboot/+/72126 Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Bora Guvendik <bora.guvendik@intel.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions