From ae6d4ecabd61cf16257cfa4772441513a7a89427 Mon Sep 17 00:00:00 2001 From: Curle Date: Wed, 11 Sep 2019 03:59:11 +0100 Subject: [PATCH] ? --- kernel/interrupts.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/interrupts.c b/kernel/interrupts.c index c40a873..c7d6c0f 100644 --- a/kernel/interrupts.c +++ b/kernel/interrupts.c @@ -52,8 +52,8 @@ void ISR_Common(INTERRUPT_FRAME* Frame, size_t Exception) { if(Exception < 32) { /* ExceptionStrings is an array of c-strings defined in kernel.h */ - serial_print(ExceptionStrings[Exception]); - serial_print(" Exception.\r\n"); + serialPrint(ExceptionStrings[Exception]); + serialPrint(" Exception.\r\n"); printf("%s exception!", ExceptionStrings[Exception]); panic(); } @@ -63,8 +63,8 @@ void ISR_Common(INTERRUPT_FRAME* Frame, size_t Exception) { into what went wrong. In pure Curle style, though, we just ignore the error code. */ void ISR_Error_Common(EXCEPTION_FRAME* Frame, size_t Exception) { if(Exception < 32) { - serial_print(ExceptionStrings[Exception]); - serial_printf(" Exception. Context given: %d\r\n", Frame->ErrorCode); + serialPrint(ExceptionStrings[Exception]); + serialPrintf(" Exception. Context given: %d\r\n", Frame->ErrorCode); printf("%s exception. Context: %x", ExceptionStrings[Exception], Frame->ErrorCode); panic(); }