* <!-- description --> * @brief Outputs a string and an 16bit dec to the console * * <!-- inputs/outputs --> * @param str the string to output * @param val the 16bit dec value to output */
| 405 | * @param val the 16bit dec value to output |
| 406 | */ |
| 407 | static inline void |
| 408 | bferror_d16(char const *const str, uint16_t const val) |
| 409 | { |
| 410 | char num[65] = {0}; |
| 411 | bfitoa(((uint64_t)val), num, BASE10); |
| 412 | |
| 413 | serial_write("[BAREFLANK ERROR] "); |
| 414 | serial_write(str); |
| 415 | serial_write(": "); |
| 416 | serial_write(num); |
| 417 | serial_write("\n"); |
| 418 | |
| 419 | printk(KERN_ALERT "[BAREFLANK ERROR] %s: %s\n", str, num); |
| 420 | } |
| 421 | |
| 422 | /** |
| 423 | * <!-- description --> |
nothing calls this directly
no test coverage detected