* <!-- description --> * @brief Outputs a string and an 32bit dec to the console * * <!-- inputs/outputs --> * @param str the string to output * @param val the 32bit dec value to output */
| 428 | * @param val the 32bit dec value to output |
| 429 | */ |
| 430 | static inline void |
| 431 | bferror_d32(char const *const str, uint32_t const val) |
| 432 | { |
| 433 | char num[65] = {0}; |
| 434 | bfitoa(((uint64_t)val), num, BASE10); |
| 435 | |
| 436 | serial_write("[BAREFLANK ERROR] "); |
| 437 | serial_write(str); |
| 438 | serial_write(": "); |
| 439 | serial_write(num); |
| 440 | serial_write("\n"); |
| 441 | |
| 442 | printk(KERN_ALERT "[BAREFLANK ERROR] %s: %s\n", str, num); |
| 443 | } |
| 444 | |
| 445 | /** |
| 446 | * <!-- description --> |
nothing calls this directly
no test coverage detected