MCPcopy Create free account
hub / github.com/coreboot/coreboot / acpigen_write_debug_sprintf

Function acpigen_write_debug_sprintf

src/acpi/acpigen.c:1555–1568  ·  view source on GitHub ↗

Store("formatted string", DEBUG) */

Source from the content-addressed store, hash-verified

1553
1554/* Store("formatted string", DEBUG) */
1555void acpigen_write_debug_sprintf(const char *fmt, ...)
1556{
1557 va_list args;
1558
1559 acpigen_write_store();
1560
1561 acpigen_emit_byte(STRING_PREFIX);
1562 va_start(args, fmt);
1563 vtxprintf(acpigen_tx_byte, fmt, args, NULL);
1564 va_end(args);
1565 acpigen_emit_byte('\0');
1566
1567 acpigen_emit_ext_op(DEBUG_OP);
1568}
1569
1570void acpigen_write_if(void)
1571{

Calls 4

acpigen_write_storeFunction · 0.85
acpigen_emit_byteFunction · 0.85
vtxprintfFunction · 0.85
acpigen_emit_ext_opFunction · 0.85

Tested by

no test coverage detected