* <!-- description --> * @brief Outputs a string and an pointer to the console * * <!-- inputs/outputs --> * @param str the string to output * @param p the pointer value to output */
| 471 | * @param p the pointer value to output |
| 472 | */ |
| 473 | static inline void |
| 474 | bferror_ptr(char const *const str, void const *const p) |
| 475 | { |
| 476 | char num[65] = {0}; |
| 477 | bfitoa(((uint64_t)p), num, BASE16); |
| 478 | |
| 479 | serial_write("[BAREFLANK ERROR] "); |
| 480 | serial_write(str); |
| 481 | serial_write(": 0x"); |
| 482 | serial_write(num); |
| 483 | serial_write("\n"); |
| 484 | |
| 485 | DbgPrintEx(DPFLTR_IHVDRIVER_ID, DPFLTR_ERROR_LEVEL, "[BAREFLANK ERROR] %s: %s\n", str, num); |
| 486 | } |
| 487 | |
| 488 | #endif |
nothing calls this directly
no test coverage detected