From f021512078e7d2447e46a4856a81c0ba6e030d43 Mon Sep 17 00:00:00 2001 From: Elizabeth Alexander Hunt Date: Thu, 8 Oct 2026 21:27:25 -0700 Subject: Call me a gastroenterologist the way I be searching for these colons --- src/kernel.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/kernel.c') diff --git a/src/kernel.c b/src/kernel.c index 917c07e..952eac2 100644 --- a/src/kernel.c +++ b/src/kernel.c @@ -104,8 +104,7 @@ void outportb(u16 port, u8 data) { asm("outb %1, %0" : : "dN" (port), "a" (data)); } -// TODO: Why won't this work? void macaroni_panic(char* msg) { -void macaroni_panic() { +void macaroni_panic(char* msg) { // we'll do something with msg later. while(true){ asm("nop\n\t"); } } @@ -114,7 +113,7 @@ void macaroni_assert(bool condition) { if (condition) { return; } - macaroni_panic(); + macaroni_panic("thisisatest"); } void cmain(void) { @@ -131,4 +130,4 @@ void cmain(void) { macaroni_assert(magic_response == 0x2BADB002); //asm("int $0x13"); -} \ No newline at end of file +} -- cgit v1.3