* <!-- description --> * @brief Outputs a string and an 8bit dec to the console * * <!-- inputs/outputs --> * @param str the string to output * @param val the 8bit dec value to output */
| 379 | * @param val the 8bit dec value to output |
| 380 | */ |
| 381 | static inline void |
| 382 | bferror_d8(char const *const str, uint8_t const val) |
| 383 | { |
| 384 | char num[65] = {0}; |
| 385 | bfitoa(((uint64_t)val), num, BASE10); |
| 386 | |
| 387 | serial_write("[BAREFLANK ERROR] "); |
| 388 | serial_write(str); |
| 389 | serial_write(": "); |
| 390 | serial_write(num); |
| 391 | serial_write("\n"); |
| 392 | |
| 393 | DbgPrintEx(DPFLTR_IHVDRIVER_ID, DPFLTR_ERROR_LEVEL, "[BAREFLANK ERROR] %s: %s\n", str, num); |
| 394 | } |
| 395 | |
| 396 | /** |
| 397 | * <!-- description --> |
nothing calls this directly
no test coverage detected