coreboot/src
Cliff Huang e608308ade 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>
2023-01-27 14:47:10 +00:00
..
acpi src/acpi: add debug message with concatenated string 2023-01-27 14:47:10 +00:00
arch arch/x86/Kconfig: Remove unused NUM_IPI_STARTS 2023-01-21 09:13:28 +00:00
commonlib commonlib/storage: Add common eMMC functions 2023-01-16 00:33:11 +00:00
console lib: Hook up libhwbase in romstage 2022-12-17 20:51:38 +00:00
cpu treewide: Remove unused <cpu/amd/msr.h> 2023-01-09 21:17:08 +00:00
device device/Kconfig: Fix selection of software connection manager 2023-01-11 16:53:59 +00:00
drivers soc/intel/alderlake: Wait for panel power cycle to complete 2023-01-26 16:55:00 +00:00
ec ec/google/chromeec/acpi/ec: add scope comment to nested #endif 2023-01-22 00:38:03 +00:00
include src/acpi: add debug message with concatenated string 2023-01-27 14:47:10 +00:00
lib treewide: stop calling custom TPM log "TCPA" 2023-01-11 16:00:55 +00:00
mainboard mb/siemens/mc_apl1/var/mc_apl5: Enable early POST 2023-01-27 14:36:23 +00:00
northbridge nb/intel/gm45: Add remaining raminit code to support DDR2 2023-01-26 13:40:58 +00:00
sbom src/sbom/Makefile.inc: Remove quotes on CONFIG_SBOM_ paths 2023-01-11 18:58:25 +00:00
security security/vboot: Check RW_NVRAM at buildtime 2023-01-13 08:25:33 +00:00
soc soc/intel/mtl: Add missing claimed memory regions 2023-01-27 14:45:05 +00:00
southbridge sb/amd/pi/hudson/Kconfig: Remove unused RAID_MISC_ROM_POSITION 2023-01-23 08:24:22 +00:00
superio {superio,ec}/acpi: Replace constant "Zero" with actual number 2022-12-27 09:06:29 +00:00
vendorcode vc/intel/fsp/mtl: Update header files from 2431_80 to 2473_86 2023-01-24 07:40:40 +00:00
Kconfig Kconfig: Add option to compress ramstage with LZ4 2023-01-08 01:20:15 +00:00