* <!-- description --> * @brief Outputs a string and an pointer to the console * * <!-- inputs/outputs --> * @param str the string to output * @param p the pointer to output */
| 247 | * @param p the pointer to output |
| 248 | */ |
| 249 | static inline void |
| 250 | bfdebug_ptr(char const *const str, void const *const p) |
| 251 | { |
| 252 | char num[65] = {0}; |
| 253 | bfitoa(((uint64_t)p), num, BASE16); |
| 254 | |
| 255 | serial_write("[BAREFLANK DEBUG] "); |
| 256 | serial_write(str); |
| 257 | serial_write(": 0x"); |
| 258 | serial_write(num); |
| 259 | serial_write("\n"); |
| 260 | |
| 261 | DbgPrintEx(DPFLTR_IHVDRIVER_ID, DPFLTR_INFO_LEVEL, "[BAREFLANK DEBUG] %s: 0x%s\n", str, num); |
| 262 | } |
| 263 | |
| 264 | /** |
| 265 | * <!-- description --> |
nothing calls this directly
no test coverage detected