mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:47:45 +00:00
Import the "gerbert" kernel I worked on earlier this year.
It's a lot crappier than I remembered it. It's gonna need a lot of work.
This commit is contained in:
parent
f608629704
commit
9396108034
55 changed files with 4600 additions and 0 deletions
16
Kernel/Keyboard.h
Normal file
16
Kernel/Keyboard.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
#pragma once
|
||||
|
||||
namespace Keyboard {
|
||||
|
||||
enum class LED {
|
||||
ScrollLock = 1 << 0,
|
||||
NumLock = 1 << 1,
|
||||
CapsLock = 1 << 2,
|
||||
};
|
||||
|
||||
void initialize();
|
||||
void setLED(LED);
|
||||
void unsetLED(LED);
|
||||
void handleInterrupt();
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue