diff --git a/kbd.h b/kbd.h index 6b82bce..26d9fe4 100644 --- a/kbd.h +++ b/kbd.h @@ -3,6 +3,8 @@ #include "types.h" #include "interrupts.h" +#define KBD_PORT 0x60 + void kbd_install_keyboard(void); void kbd_read_key(struct cpu_reg_state* cpu); diff --git a/makefile b/makefile index 22b81c8..9aad594 100644 --- a/makefile +++ b/makefile @@ -4,7 +4,7 @@ LINK=ld ISO=genisoimage OBJECTS=mem.o kernel.o gdt_seg.o gdt.o interrupts.o loader.o serial.o \ - framebuffer.o ports.o stlio.o tests.o interrupt_entry.o pit.o + framebuffer.o ports.o stlio.o tests.o interrupt_entry.o pit.o kbd.o AFLAGS=-f elf32 CFLAGS=-masm=intel -O2 -m32 -nostdlib -nostdinc -fno-builtin -fno-stack-protector -nostartfiles \