コード例 #1
0
ファイル: HAL.cs プロジェクト: jwoff78/MOSA-Project
 /// <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));
 }
コード例 #2
0
ファイル: HAL.cs プロジェクト: jwoff78/MOSA-Project
 /// <summary>
 /// Gets the physical address.
 /// </summary>
 /// <param name="memory">The memory.</param>
 /// <returns></returns>
 public static Pointer TranslateVirtualToPhysicalAddress(Pointer memory)
 {
     return(hardwareAbstraction.TranslateVirtualToPhysicalAddress(memory));
 }
コード例 #3
0
 /// <summary>
 /// Gets the physical address.
 /// </summary>
 /// <param name="virtualAddress"></param>
 /// <returns></returns>
 public abstract Pointer TranslateVirtualToPhysicalAddress(Pointer virtualAddress);
コード例 #4
0
 public ConstrainedPointer(Pointer pointer, uint size)
 {
     this.address = pointer.Address;
     this.size    = size;
 }
コード例 #5
0
 /// <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);