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

Function bfdebug_d64

loader/windows/include/debug.h:226–239  ·  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

224 * @param val the 64bit dec value to output
225 */
226static inline void
227bfdebug_d64(char const *const str, uint64_t const val)
228{
229 char num[65] = {0};
230 bfitoa(((uint64_t)val), num, BASE10);
231
232 serial_write("[BAREFLANK DEBUG] ");
233 serial_write(str);
234 serial_write(": ");
235 serial_write(num);
236 serial_write("\n");
237
238 DbgPrintEx(DPFLTR_IHVDRIVER_ID, DPFLTR_INFO_LEVEL, "[BAREFLANK DEBUG] %s: %s\n", str, num);
239}
240
241/**
242 * <!-- description -->

Callers

nothing calls this directly

Calls 2

bfitoaFunction · 0.85
serial_writeFunction · 0.50

Tested by

no test coverage detected