Files
jsix_import/src/kernel/memory.cpp
Justin C. Miller 57abb03deb Rearrange memory manager into two classes.
page_manager and memory_manager are now separate, and are also pre
allocated in the kernel so they don't have to allocate themselves.
2018-04-21 17:34:33 -07:00

12 lines
241 B
C++

#include "assert.h"
#include "console.h"
#include "memory.h"
#include "memory_pages.h"
memory_manager g_memory_manager;
memory_manager::memory_manager()
{
kassert(this == &g_memory_manager, "Attempt to create another memory_manager.");
}