From be691582ee12613278af24cb5a824eeb357f6324 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Mon, 29 Jul 2024 11:27:22 -0400 Subject: some work on compositor --- kernel/source/interrupts.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'kernel/source/interrupts.cpp') diff --git a/kernel/source/interrupts.cpp b/kernel/source/interrupts.cpp index 41d632c..1a1f4d1 100644 --- a/kernel/source/interrupts.cpp +++ b/kernel/source/interrupts.cpp @@ -79,6 +79,11 @@ extern "C" [[noreturn]] void print_exception() { print_reg("r14", exception_info.r14); print_reg("r15", exception_info.r15); + if (application::running_thread != 0) { + serial_putstr("running app = "); + serial_putstr(application::running_thread->owner->name); + } + panic(0xba40bb); } -- cgit v1.2.3