* <!-- description --> * @brief Outputs a string and an 32bit hex to the console * * <!-- inputs/outputs --> * @param str the string to output * @param val the 32bit hex value to output */
| 109 | * @param val the 32bit hex value to output |
| 110 | */ |
| 111 | static inline void |
| 112 | bfdebug_x32(char const *const str, uint32_t const val) |
| 113 | { |
| 114 | char num[65] = {0}; |
| 115 | bfitoa(((uint64_t)val), num, BASE16); |
| 116 | |
| 117 | serial_write("[BAREFLANK DEBUG] "); |
| 118 | serial_write(str); |
| 119 | serial_write(": 0x"); |
| 120 | serial_write(num); |
| 121 | serial_write("\n"); |
| 122 | |
| 123 | DbgPrintEx(DPFLTR_IHVDRIVER_ID, DPFLTR_INFO_LEVEL, "[BAREFLANK DEBUG] %s: 0x%s\n", str, num); |
| 124 | } |
| 125 | |
| 126 | /** |
| 127 | * <!-- description --> |
nothing calls this directly
no test coverage detected