Update kernel

This commit is contained in:
EnderIce2
2024-01-19 06:47:42 +02:00
parent fd15592608
commit 96daa43d38
282 changed files with 25486 additions and 15700 deletions

View File

@ -43,10 +43,20 @@ namespace Memory
enum MemoryAllocatorType
{
None,
/** Allocate memory by pages. */
Pages,
XallocV1,
XallocV2,
liballoc11
liballoc11,
/**
* @warning Not working as expected.
*
* FIXME: This allocator is not working as expected.
*/
rpmalloc_,
};
}
@ -61,6 +71,7 @@ namespace Memory
#include <memory/brk.hpp>
void InitializeMemoryManagement();
void CreatePageTable(Memory::PageTable *pt);
void *operator new(std::size_t Size);
void *operator new[](std::size_t Size);