Keyboard in progress
This commit is contained in:
parent
f005894088
commit
dfb65fd199
|
@ -81,9 +81,9 @@ noreturn void BtStartKern(multiboot_info_t *mbInfo, uint mbMagic, void *codeSeg)
|
||||||
IdtSetup();
|
IdtSetup();
|
||||||
KeEnableIRQs();
|
KeEnableIRQs();
|
||||||
|
|
||||||
/* // Test Page Fault
|
// Test Page Fault
|
||||||
long addr = -1;
|
long addr = -1;
|
||||||
DebugLog("%s", addr); */
|
DebugLog("%s", addr);
|
||||||
|
|
||||||
KernLog("\nGoodbye!");
|
KernLog("\nGoodbye!");
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ uchar KeybHandler(void)
|
||||||
uchar code;
|
uchar code;
|
||||||
|
|
||||||
// write EOI
|
// write EOI
|
||||||
outb(0x20, 0x20);
|
IoWriteByteOnPort(0x20, 0x20);
|
||||||
|
|
||||||
status = IoReadByteFromPort(KeybStatusPort);
|
status = IoReadByteFromPort(KeybStatusPort);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue