aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/programs/sh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/userspace/programs/sh.c')
-rw-r--r--src/userspace/programs/sh.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/userspace/programs/sh.c b/src/userspace/programs/sh.c
index d1ae1f8..2575c26 100644
--- a/src/userspace/programs/sh.c
+++ b/src/userspace/programs/sh.c
@@ -28,6 +28,10 @@ int interrupts_enabled()
void main()
{
printf("Shell started\n");
+ if (interrupts_enabled())
+ printf("INTs enabled :)\n");
+ else
+ printf("INTs disabled :(\n");
//syscall_map(MAP_KEYBOARD, (u32)&test);