* <!-- description --> * @brief Outputs a string and an 64bit dec to the console * * <!-- inputs/outputs --> * @param str the string to output * @param val the 64bit dec value to output */
| 345 | * @param val the 64bit dec value to output |
| 346 | */ |
| 347 | static inline void |
| 348 | bfdebug_d64(char const *const str, uint64_t const val) |
| 349 | { |
| 350 | char num[65] = {0}; |
| 351 | (void)bfitoa(((uint64_t)val), num, BASE10); |
| 352 | |
| 353 | serial_write("[BAREFLANK DEBUG] "); |
| 354 | serial_write(str); |
| 355 | serial_write(": "); |
| 356 | serial_write(num); |
| 357 | serial_write("\n"); |
| 358 | |
| 359 | console_write("[BAREFLANK DEBUG] "); |
| 360 | console_write(str); |
| 361 | console_write(": "); |
| 362 | console_write(num); |
| 363 | console_write("\r\n"); |
| 364 | } |
| 365 | |
| 366 | /** |
| 367 | * <!-- description --> |
nothing calls this directly
no test coverage detected