* <!-- description --> * @brief Outputs a string and an 8bit dec to the console * * <!-- inputs/outputs --> * @param str the string to output * @param val the 8bit dec value to output */
| 158 | * @param val the 8bit dec value to output |
| 159 | */ |
| 160 | static inline void |
| 161 | bfdebug_d8(char const *const str, uint8_t const val) |
| 162 | { |
| 163 | char num[65] = {0}; |
| 164 | bfitoa(((uint64_t)val), num, BASE10); |
| 165 | |
| 166 | serial_write("[BAREFLANK DEBUG] "); |
| 167 | serial_write(str); |
| 168 | serial_write(": "); |
| 169 | serial_write(num); |
| 170 | serial_write("\n"); |
| 171 | |
| 172 | printk(KERN_INFO "[BAREFLANK DEBUG] %s: %s\n", str, num); |
| 173 | } |
| 174 | |
| 175 | /** |
| 176 | * <!-- description --> |
nothing calls this directly
no test coverage detected