Fixed warnings

This commit is contained in:
Carlos
2015-03-23 16:08:34 +01:00
parent 8a5e637701
commit 8ad1936237
13 changed files with 75 additions and 15 deletions

View File

@@ -1,7 +1,9 @@
#include "isr.h"
#include "idt.h"
#include "../drivers/screen.h"
#include "../drivers/keyboard.h"
#include "../libc/string.h"
#include "timer.h"
#include "ports.h"
isr_t interrupt_handlers[256];

View File

@@ -81,6 +81,7 @@ typedef struct {
void isr_install();
void isr_handler(registers_t r);
void irq_install();
typedef void (*isr_t)(registers_t);
void register_interrupt_handler(u8 n, isr_t handler);

View File

@@ -1,9 +1,10 @@
#include "timer.h"
#include "isr.h"
#include "ports.h"
u32 tick = 0;
static void timer_callback(registers_t regs) {
static void timer_callback() {
tick++;
}