* <!-- description --> * @brief Outputs a string and an 64bit hex to the console * * <!-- inputs/outputs --> * @param str the string to output * @param val the 64bit hex value to output */
| 135 | * @param val the 64bit hex value to output |
| 136 | */ |
| 137 | static inline void |
| 138 | bfdebug_x64(char const *const str, uint64_t const val) |
| 139 | { |
| 140 | char num[65] = {0}; |
| 141 | bfitoa(((uint64_t)val), num, BASE16); |
| 142 | |
| 143 | serial_write("[BAREFLANK DEBUG] "); |
| 144 | serial_write(str); |
| 145 | serial_write(": 0x"); |
| 146 | serial_write(num); |
| 147 | serial_write("\n"); |
| 148 | |
| 149 | printk(KERN_INFO "[BAREFLANK DEBUG] %s: 0x%s\n", str, num); |
| 150 | } |
| 151 | |
| 152 | /** |
| 153 | * <!-- description --> |
nothing calls this directly
no test coverage detected