* <!-- description --> * @brief Outputs a string and an 8bit dec to the console * * <!-- inputs/outputs --> * @param str the string to output * @param val the 8bit dec value to output */
| 382 | * @param val the 8bit dec value to output |
| 383 | */ |
| 384 | static inline void |
| 385 | bferror_d8(char const *const str, uint8_t const val) |
| 386 | { |
| 387 | char num[65] = {0}; |
| 388 | bfitoa(((uint64_t)val), num, BASE10); |
| 389 | |
| 390 | serial_write("[BAREFLANK ERROR] "); |
| 391 | serial_write(str); |
| 392 | serial_write(": "); |
| 393 | serial_write(num); |
| 394 | serial_write("\n"); |
| 395 | |
| 396 | printk(KERN_ALERT "[BAREFLANK ERROR] %s: %s\n", str, num); |
| 397 | } |
| 398 | |
| 399 | /** |
| 400 | * <!-- description --> |
nothing calls this directly
no test coverage detected