* <!-- description --> * @brief Outputs a string and an 32bit hex to the console * * <!-- inputs/outputs --> * @param str the string to output * @param val the 32bit hex value to output */
| 336 | * @param val the 32bit hex value to output |
| 337 | */ |
| 338 | static inline void |
| 339 | bferror_x32(char const *const str, uint32_t const val) |
| 340 | { |
| 341 | char num[65] = {0}; |
| 342 | bfitoa(((uint64_t)val), num, BASE16); |
| 343 | |
| 344 | serial_write("[BAREFLANK ERROR] "); |
| 345 | serial_write(str); |
| 346 | serial_write(": 0x"); |
| 347 | serial_write(num); |
| 348 | serial_write("\n"); |
| 349 | |
| 350 | printk(KERN_ALERT "[BAREFLANK ERROR] %s: 0x%s\n", str, num); |
| 351 | } |
| 352 | |
| 353 | /** |
| 354 | * <!-- description --> |
nothing calls this directly
no test coverage detected