* <!-- description --> * @brief Outputs a string and an 16bit hex to the console * * <!-- inputs/outputs --> * @param str the string to output * @param val the 16bit hex value to output */
| 86 | * @param val the 16bit hex value to output |
| 87 | */ |
| 88 | static inline void |
| 89 | bfdebug_x16(char const *const str, uint16_t const val) |
| 90 | { |
| 91 | char num[65] = {0}; |
| 92 | bfitoa(((uint64_t)val), num, BASE16); |
| 93 | |
| 94 | serial_write("[BAREFLANK DEBUG] "); |
| 95 | serial_write(str); |
| 96 | serial_write(": 0x"); |
| 97 | serial_write(num); |
| 98 | serial_write("\n"); |
| 99 | |
| 100 | DbgPrintEx(DPFLTR_IHVDRIVER_ID, DPFLTR_INFO_LEVEL, "[BAREFLANK DEBUG] %s: 0x%s\n", str, num); |
| 101 | } |
| 102 | |
| 103 | /** |
| 104 | * <!-- description --> |
nothing calls this directly
no test coverage detected