diff options
| author | miguel <miguel@miguel-acer.softwarefools.com> | 2014-07-15 18:19:08 +0200 |
|---|---|---|
| committer | miguel <miguel@miguel-acer.softwarefools.com> | 2014-07-15 18:19:08 +0200 |
| commit | be0505ecd594e15c5769b4d8ca97ab347b2ed1b6 (patch) | |
| tree | cf1ce39f655b5e1c4157922ff9cab21ff77e6c91 /kernel/shell.c | |
| parent | d00e64542cb58b25cd67e8c3b682d0e07312f441 (diff) | |
minor experiments
Diffstat (limited to 'kernel/shell.c')
| -rw-r--r-- | kernel/shell.c | 7 |
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!"); |
