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

Function bfdebug_d32

loader/windows/include/debug.h:203–216  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

201 * @param val the 32bit dec value to output
202 */
203static inline void
204bfdebug_d32(char const *const str, uint32_t const val)
205{
206 char num[65] = {0};
207 bfitoa(((uint64_t)val), num, BASE10);
208
209 serial_write("[BAREFLANK DEBUG] ");
210 serial_write(str);
211 serial_write(": ");
212 serial_write(num);
213 serial_write("\n");
214
215 DbgPrintEx(DPFLTR_IHVDRIVER_ID, DPFLTR_INFO_LEVEL, "[BAREFLANK DEBUG] %s: %s\n", str, num);
216}
217
218/**
219 * <!-- description -->

Callers

nothing calls this directly

Calls 2

bfitoaFunction · 0.85
serial_writeFunction · 0.50

Tested by

no test coverage detected