port added as well as kbd module to makefile

This commit is contained in:
shockrahwow 2019-11-29 13:29:48 -08:00
parent 0a8ea342c6
commit 9e97ca3d28
2 changed files with 3 additions and 1 deletions

2
kbd.h
View File

@ -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);

View File

@ -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 \