/// <summary> /// Requests a block of memory from the kernel /// </summary> /// <param name="address">The address.</param> /// <param name="size">The size.</param> /// <returns></returns> public static ConstrainedPointer GetPhysicalMemory(Pointer address, uint size) { return(hardwareAbstraction.GetPhysicalMemory(address, size)); }
/// <summary> /// Gets the physical address. /// </summary> /// <param name="memory">The memory.</param> /// <returns></returns> public static Pointer TranslateVirtualToPhysicalAddress(Pointer memory) { return(hardwareAbstraction.TranslateVirtualToPhysicalAddress(memory)); }
/// <summary> /// Gets the physical address. /// </summary> /// <param name="virtualAddress"></param> /// <returns></returns> public abstract Pointer TranslateVirtualToPhysicalAddress(Pointer virtualAddress);
public ConstrainedPointer(Pointer pointer, uint size) { this.address = pointer.Address; this.size = size; }
/// <summary> /// Gets a block of memory from the kernel /// </summary> /// <param name="address">The address.</param> /// <param name="size">The size.</param> /// <returns></returns> public abstract ConstrainedPointer GetPhysicalMemory(Pointer address, uint size);