mirror of
https://github.com/justinian/jsix.git
synced 2025-12-11 08:54:31 -08:00
[util] Move remaining *printf impementations to util::format
I added util::format as a replacement for other printf implementations last year, but it sat there only being used by the kernel all this time. Now I've templated it so that it can be used by the bootloader, and removed printf from panic.serial as well.
This commit is contained in:
@@ -21,10 +21,6 @@ public:
|
||||
|
||||
void announce();
|
||||
|
||||
size_t print_hex(uint32_t n) const;
|
||||
size_t print_dec(uint32_t n) const;
|
||||
size_t print_long_hex(uint64_t n) const;
|
||||
size_t print_long_dec(uint64_t n) const;
|
||||
size_t printf(const wchar_t *fmt, ...) const;
|
||||
|
||||
static console & get() { return *s_console; }
|
||||
|
||||
Reference in New Issue
Block a user