* <!-- 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 */
| 204 | * @param val the 32bit dec value to output |
| 205 | */ |
| 206 | static inline void |
| 207 | bfdebug_d32(char const *const str, uint32_t const val) |
| 208 | { |
| 209 | char num[65] = {0}; |
| 210 | bfitoa(((uint64_t)val), num, BASE10); |
| 211 | |
| 212 | serial_write("[BAREFLANK DEBUG] "); |
| 213 | serial_write(str); |
| 214 | serial_write(": "); |
| 215 | serial_write(num); |
| 216 | serial_write("\n"); |
| 217 | |
| 218 | printk(KERN_INFO "[BAREFLANK DEBUG] %s: %s\n", str, num); |
| 219 | } |
| 220 | |
| 221 | /** |
| 222 | * <!-- description --> |
nothing calls this directly
no test coverage detected