diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-08-27 23:10:04 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-08-27 23:10:04 +0200 |
| commit | 7aea8d20ec8816759c8439fc39d90579fc37e18b (patch) | |
| tree | f59d354ea1ad128929e0e810da0fa78bab00537b /kernel/interrupts.c | |
| parent | d680d4c641c085e7a31d19fe2d01f528e96d2ced (diff) | |
cleanup and switched logging to vesa mode console!
Diffstat (limited to 'kernel/interrupts.c')
| -rw-r--r-- | kernel/interrupts.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/interrupts.c b/kernel/interrupts.c index bac687b..b166669 100644 --- a/kernel/interrupts.c +++ b/kernel/interrupts.c @@ -1,6 +1,9 @@ #include "interrupts.h" #include "x86.h" +#include "../lib/logger/log.h" // logger facilities +#define FOOLOS_MODULE_NAME "interrupts" + // the interrupt descriptor table static struct int_desc { @@ -31,6 +34,7 @@ void int_disable() void int_enable() { __asm__("sti"); + log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"up and running"); } @@ -76,6 +80,7 @@ void int_init(uint16_t sel) int_install_ir(i, 0b10001110, sel,&int_def_handler); } + log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"initializing..."); } void int_install() |
