Restructering Kernel folder before moving to higher half kernel

The boot up process will be changed somewhat dramatically, therefor a
restructering of the kernel seems as a good starting point.
This commit is contained in:
2022-08-17 14:29:26 +02:00
parent 0b0e37b762
commit 3b3e2597a1
39 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,34 @@
#pragma once
#include <stdint.h>
#include "../tty/kterm.h"
typedef enum ScanCodeSet{
None = 0,
ScanCodeSet1 = 1,
ScanCodeSet2 = 2,
ScanCodeSet3 = 3,
};
typedef enum Modifiers{
LSHIFT = 1,
RSHIFT = 2,
LCTRL = 3,
RCTRL = 4,
LALT = 5,
RALT = 6
};
struct KeyPressInfo{
uint8_t PressedModifiers;
uint8_t ScanCode;
};
extern KeyPressInfo keyPress;
void KeyHandled();
char getASCIIKey();
uint8_t getKey();