diff options
Diffstat (limited to 'kernel/kernel.c')
| -rw-r--r-- | kernel/kernel.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/kernel/kernel.c b/kernel/kernel.c index 898994c..df5e276 100644 --- a/kernel/kernel.c +++ b/kernel/kernel.c @@ -5,7 +5,7 @@ #include "../lib/logger/log.h" // logger facilities #define FOOLOS_MODULE_NAME "kernel" -// TODO: cleanup . how can i compile it without the includes!?? +// TODO: cleanup . WHHYY can i compile it without the includes!?? /////// // interrupt handler prototypes @@ -21,12 +21,18 @@ void int_floppy_handler(); // just a test handler for software interrupt 88, todo: remove and // implement some syscalls! // +void int_test_handler_worker() +{ + // this can not be called directly from interrupt handler + // due to optional parameters (...) probably! + log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"irq 88"); +} void int_test_handler() { X86_IRQ_BEGIN + int_test_handler_worker(); sleep(30); X86_IRQ_END - } // heart of our operating system. |
