RequestPhysicalMemory() static private method

Requests a block of memory from the kernel
static private RequestPhysicalMemory ( uint address, uint size ) : IMemory
address uint The address.
size uint The size.
return IMemory
 /// <summary>
 /// Gets the memory.
 /// </summary>
 /// <param name="region">The region.</param>
 /// <returns></returns>
 public IMemory GetMemory(byte region)
 {
     return(HAL.RequestPhysicalMemory(memoryRegions[region].BaseAddress, memoryRegions[region].Size));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Gets the memory.
 /// </summary>
 /// <param name="address">The address.</param>
 /// <param name="size">The size.</param>
 /// <returns></returns>
 public IMemory GetMemory(uint address, uint size)
 {
     return(HAL.RequestPhysicalMemory(address, size));
 }