Some changes for PS/2 attempts
This commit is contained in:
parent
7017065d74
commit
4a283060cc
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
#include <kernel/interrupt.h>
|
#include <kernel/interrupt.h>
|
||||||
#include <sys/io.h>
|
#include <sys/io.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include "ps2_kbd.h"
|
||||||
|
|
||||||
void idt_init(void) {
|
void idt_init(void) {
|
||||||
extern int load_idt();
|
extern int load_idt();
|
||||||
|
@ -192,6 +194,7 @@ void irq0_handler(void) {
|
||||||
|
|
||||||
/* Keyboard Interrupt */
|
/* Keyboard Interrupt */
|
||||||
void irq1_handler(void) {
|
void irq1_handler(void) {
|
||||||
|
printf("owo\n");
|
||||||
outb(0x20, 0x20);
|
outb(0x20, 0x20);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue