Adding a skeleton for the memory management code

Moved the PMM away from being object orientated as it is just plain annoying
renamed src folder to source
Set timeout to 5 seconds in the grub config
This commit is contained in:
2022-08-21 21:18:53 +02:00
parent e70f56a005
commit 0f0fc9f252
70 changed files with 308 additions and 404 deletions

View File

@ -0,0 +1,19 @@
#include "serial.h"
Serial Serial::init() {
// No clue what to setup yet!
return Serial();
}
void Serial::print(){
// Do nothing!
}
Serial::Serial(){
// Do nothing!
}
Serial::~Serial(){
// Do nothing!
}

View File

@ -0,0 +1,19 @@
#pragma once
class Serial {
public:
static Serial init();
void print();
private:
const int COM1 = 0x3F8;
const int COM2 = 0x2F8;
const int COM3 = 0x3E8;
const int COM4 = 0x2E8;
Serial();
~Serial();
};