From cc24fb66eba250b765e4d012cf4fdc8b00dc1fd4 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Wed, 1 Oct 2025 02:52:20 +0200 Subject: [PATCH] Test hexdump in start.c --- kern/start.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/kern/start.c b/kern/start.c index 7847e84..0e42fdd 100644 --- a/kern/start.c +++ b/kern/start.c @@ -1,4 +1,5 @@ -#include "badrand.h" +#include +#include #include #include #include @@ -79,6 +80,11 @@ void start() { buddy_free(mem); } + { + char buffer[128]; + badrand_buf(buffer, 128); + hexdump(buffer, 128); + } kprintf("To exit qemu, press CTRL+a followed by x\n"); spin_unlock(&sl);