mirror of
https://gitlab.os-k.eu/os-k-team/os-k.git
synced 2023-08-25 14:03:10 +02:00
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…
x
Reference in New Issue
Block a user