Beispiel #1
0
 public static uint AllocNewObject(uint aSize)
 {
     //if (Managed_Memory_System.ManagedMemory.SetUpDone == false)
     //{
     //    return Managed_Memory_System.ManagedMemory.SetUpMemoryAlloc(aSize);
     //}
     //else
     //{
     //    return Managed_Memory_System.ManagedMemory.KernelMemAlloc(aSize);
     //}
     GlobalSystemInfo.EnsureInitialized();
     return(Heap.MemAlloc(aSize));
 }
Beispiel #2
0
 public static uint AllocNewObject(uint aSize)
 {
     GlobalSystemInfo.EnsureInitialized();
     return(Heap.MemAlloc(aSize));
 }