public Process(int _pid, int _vmSize, PhysicalMemory pm) { pid = _pid; vmSize = _vmSize; vm = new VirtualMemory(pid, vmSize); pt = new PageTable(vmSize, pid, vm, pm, this); }
public PageTableEntry(int frameId, bool valid, bool resident, int pid, int step, PageTable _pageTable) { frameNumber = frameId; validBit = valid; residentBit = resident; ownerPID = pid; lastModified = step; pageTable = _pageTable; }