Simple physical memory allocator, virtual memory manager

This commit is contained in:
2020-07-09 18:50:13 -05:00
parent d3ba3c1d2a
commit 52c3754305
25 changed files with 795 additions and 316 deletions

33
src/systeminfo.hpp Normal file
View File

@@ -0,0 +1,33 @@
#ifndef SYSTEMINFO_H
#define SYSTEMINFO_H
#include <stddef.h>
#include "systypes.hpp"
namespace qkernel
{
class SystemInfo
{
public:
size_t getLowMemory();
size_t getHighMemory();
physaddr_t getKernelBase();
private:
size_t lowMemory;
size_t highMemory;
physaddr_t kernelBase;
};
}
#endif