diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/interrupts.c | 1 | ||||
-rw-r--r-- | src/drivers/timer.c | 2 | ||||
-rw-r--r-- | src/main.c | 4 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/drivers/interrupts.c b/src/drivers/interrupts.c index d65490c..dc031e0 100644 --- a/src/drivers/interrupts.c +++ b/src/drivers/interrupts.c @@ -190,5 +190,4 @@ void interrupts_install() idt_install(); isr_install(); irq_install(); - __asm__("sti"); } diff --git a/src/drivers/timer.c b/src/drivers/timer.c index 922b385..a3b4137 100644 --- a/src/drivers/timer.c +++ b/src/drivers/timer.c @@ -34,6 +34,6 @@ void timer_wait(u32 ticks) // Install timer handler into IRQ0 void timer_install() { - /* timer_phase(1000); */ + timer_phase(1000); irq_install_handler(0, timer_handler); } @@ -9,7 +9,7 @@ #include <keyboard.h> #include <print.h> #include <serial.h> -/* #include <timer.h> */ +#include <timer.h> u32 HEAP = 0x00200000; u32 HEAP_START; @@ -29,7 +29,7 @@ void main(struct mem_info *mem_info, struct vid_info *vid_info) // Install drivers interrupts_install(); - /* timer_install(); */ + timer_install(); keyboard_install(); // Enable drivers |