MCPcopy Create free account
hub / github.com/Bareflank/hypervisor / bferror_d64

Function bferror_d64

loader/windows/include/debug.h:450–463  ·  view source on GitHub ↗

* <!-- description --> * @brief Outputs a string and an 64bit dec to the console * * <!-- inputs/outputs --> * @param str the string to output * @param val the 64bit dec value to output */

Source from the content-addressed store, hash-verified

448 * @param val the 64bit dec value to output
449 */
450static inline void
451bferror_d64(char const *const str, uint64_t const val)
452{
453 char num[65] = {0};
454 bfitoa(((uint64_t)val), num, BASE10);
455
456 serial_write("[BAREFLANK ERROR] ");
457 serial_write(str);
458 serial_write(": ");
459 serial_write(num);
460 serial_write("\n");
461
462 DbgPrintEx(DPFLTR_IHVDRIVER_ID, DPFLTR_ERROR_LEVEL, "[BAREFLANK ERROR] %s: %s\n", str, num);
463}
464
465/**
466 * <!-- description -->

Callers

nothing calls this directly

Calls 2

bfitoaFunction · 0.85
serial_writeFunction · 0.50

Tested by

no test coverage detected