1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:47:35 +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:
Andreas Kling 2018-10-16 11:01:38 +02:00
parent f608629704
commit 9396108034
55 changed files with 4600 additions and 0 deletions

15
Kernel/IO.h Normal file
View file

@ -0,0 +1,15 @@
#pragma once
#include "types.h"
namespace IO {
BYTE in8(WORD port);
WORD in16(WORD port);
DWORD in32(WORD port);
void out8(WORD port, BYTE data);
void out16(WORD port, WORD data);
void out32(WORD port, DWORD data);
}