* <!-- 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 */
| 425 | * @param val the 32bit dec value to output |
| 426 | */ |
| 427 | static inline void |
| 428 | bferror_d32(char const *const str, uint32_t const val) |
| 429 | { |
| 430 | char num[65] = {0}; |
| 431 | bfitoa(((uint64_t)val), num, BASE10); |
| 432 | |
| 433 | serial_write("[BAREFLANK ERROR] "); |
| 434 | serial_write(str); |
| 435 | serial_write(": "); |
| 436 | serial_write(num); |
| 437 | serial_write("\n"); |
| 438 | |
| 439 | DbgPrintEx(DPFLTR_IHVDRIVER_ID, DPFLTR_ERROR_LEVEL, "[BAREFLANK ERROR] %s: %s\n", str, num); |
| 440 | } |
| 441 | |
| 442 | /** |
| 443 | * <!-- description --> |
nothing calls this directly
no test coverage detected