From a2a1e4bbfcda8c1314b592c8c940e96e95cb68d4 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 3 Aug 2022 00:23:50 +0200 Subject: shared: clean up printf, %u support (amongst other things) --- src/kernel/arch/amd64/boot.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/kernel/arch/amd64/boot.c') diff --git a/src/kernel/arch/amd64/boot.c b/src/kernel/arch/amd64/boot.c index 301df52..570cebb 100644 --- a/src/kernel/arch/amd64/boot.c +++ b/src/kernel/arch/amd64/boot.c @@ -53,8 +53,7 @@ void kmain_early(struct multiboot_info *multiboot) { vid.height = multiboot->framebuffer_height; vid.bpp = multiboot->framebuffer_bpp; - // TODO printf decimal - kprintf("framebuffer at 0x%x, %xx%x bpp 0x%x\n", vid.b, vid.width, vid.height, vid.bpp); + kprintf("framebuffer at 0x%x, %ux%u bpp %u\n", vid.b, vid.width, vid.height, vid.bpp); video_init(vid); -- cgit v1.2.3