* <!-- description --> * @brief Outputs a string and an 64bit dec to the console * * <!-- inputs/outputs --> * @param str the string to output * @param val the 64bit dec value to output */
| 227 | * @param val the 64bit dec value to output |
| 228 | */ |
| 229 | static inline void |
| 230 | bfdebug_d64(char const *const str, uint64_t const val) |
| 231 | { |
| 232 | char num[65] = {0}; |
| 233 | bfitoa(((uint64_t)val), num, BASE10); |
| 234 | |
| 235 | serial_write("[BAREFLANK DEBUG] "); |
| 236 | serial_write(str); |
| 237 | serial_write(": "); |
| 238 | serial_write(num); |
| 239 | serial_write("\n"); |
| 240 | |
| 241 | printk(KERN_INFO "[BAREFLANK DEBUG] %s: %s\n", str, num); |
| 242 | } |
| 243 | |
| 244 | /** |
| 245 | * <!-- description --> |
nothing calls this directly
no test coverage detected