Пример #1
0
 public KernelMemoryMapArray(KernelMemoryMap *items, uint reserved)
 {
     Items    = items;
     Reserved = reserved;
     Count    = 0;
 }
Пример #2
0
 /// <summary>
 /// Sync specific mappings with another table.
 /// The virtual and physical Addresses in both table will be the same.
 /// </summary>
 public static void MapCopy(this IPageTable table, IPageTable fromTable, KernelMemoryMap *mm, bool present = true, bool flush = false)
 {
     table.MapCopy(fromTable, mm->Start, mm->Size, present, flush);
 }