From be0505ecd594e15c5769b4d8ca97ab347b2ed1b6 Mon Sep 17 00:00:00 2001 From: miguel Date: Tue, 15 Jul 2014 18:19:08 +0200 Subject: minor experiments --- kernel/shell.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'kernel/shell.c') diff --git a/kernel/shell.c b/kernel/shell.c index 837a4c3..4507931 100644 --- a/kernel/shell.c +++ b/kernel/shell.c @@ -1,4 +1,5 @@ #include "kernel.h" +#include "interrupts.h" #define COMMAND_LENGTH 255 @@ -66,6 +67,12 @@ void shell_execute() scr_put_hex(timer16); scr_put_string_nl(" seconds passed since system start."); } + else if(1==strcmp(command,"INT")) + { + scr_put_string_nl(" getting count of unhandeled interrupts"); + scr_put_string(" "); + scr_put_hex(int_unhandled); + } else { scr_put_string_nl(" unsupported command, sorry!"); -- cgit v1.2.3