Simple physical memory allocator, virtual memory manager
This commit is contained in:
33
src/systeminfo.hpp
Normal file
33
src/systeminfo.hpp
Normal 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
|
||||
Reference in New Issue
Block a user