summaryrefslogtreecommitdiff
path: root/kernel/shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/shell.c')
-rw-r--r--kernel/shell.c7
1 files changed, 7 insertions, 0 deletions
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!");