fix(Heap): Remove target architecture check in HeapAllocator
This commit is contained in:
1 parent
a567bd8437
commit
da424ae7b3
1 file changed
-6
@@ -13,12 +13,6 @@
|
|||||||
|
|
||||||
namespace Memory
|
namespace Memory
|
||||||
{
|
{
|
||||||
#if defined(__x86_64__) || defined(__aarch64__)
|
|
||||||
#define PAGE_SIZE 0x1000
|
|
||||||
#else
|
|
||||||
#error Sorry, Unimplemented!
|
|
||||||
#endif
|
|
||||||
|
|
||||||
HeapAllocator::HeapAllocator(LargestSection section)
|
HeapAllocator::HeapAllocator(LargestSection section)
|
||||||
{
|
{
|
||||||
g_section = section;
|
g_section = section;
|
||||||
|
|||||||
Reference in new issue
Block a user