* <!-- description --> * @brief Outputs a string and an 16bit dec to the console * * <!-- inputs/outputs --> * @param str the string to output * @param val the 16bit dec value to output */
| 402 | * @param val the 16bit dec value to output |
| 403 | */ |
| 404 | static inline void |
| 405 | bferror_d16(char const *const str, uint16_t const val) |
| 406 | { |
| 407 | char num[65] = {0}; |
| 408 | bfitoa(((uint64_t)val), num, BASE10); |
| 409 | |
| 410 | serial_write("[BAREFLANK ERROR] "); |
| 411 | serial_write(str); |
| 412 | serial_write(": "); |
| 413 | serial_write(num); |
| 414 | serial_write("\n"); |
| 415 | |
| 416 | DbgPrintEx(DPFLTR_IHVDRIVER_ID, DPFLTR_ERROR_LEVEL, "[BAREFLANK ERROR] %s: %s\n", str, num); |
| 417 | } |
| 418 | |
| 419 | /** |
| 420 | * <!-- description --> |
nothing calls this directly
no test coverage detected