Remove GetDefaultPageSize
Duplicate. We already have the API for this: `Platform::GetCPUInfo().PageSize`.
This commit is contained in:
@@ -51,11 +51,6 @@ void UnixPlatform::Free(void* ptr)
|
||||
}
|
||||
}
|
||||
|
||||
uint64 Win32Platform::GetDefaultPageSize()
|
||||
{
|
||||
return 16;
|
||||
}
|
||||
|
||||
void* Win32Platform::AllocatePages(uint64 numPages, uint64 pageSize)
|
||||
{
|
||||
const uint64 numBytes = numPages * pageSize;
|
||||
|
||||
@@ -16,7 +16,6 @@ public:
|
||||
// [PlatformBase]
|
||||
static void* Allocate(uint64 size, uint64 alignment);
|
||||
static void Free(void* ptr);
|
||||
static uint64 GetDefaultPageSize();
|
||||
static void* AllocatePages(uint64 numPages, uint64 pageSize);
|
||||
static void FreePages(void* ptr);
|
||||
static uint64 GetCurrentProcessId();
|
||||
|
||||
Reference in New Issue
Block a user