|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--MemSys
The MemSys class represents the memory subsystem of an operating system.
Method Summary | |
static void |
createPageTable(PCB proc)
MemSys.createPageTable(proc) creates a new page table with entry permissions determined by the image used by proc. |
static void |
freeMemory(PCB proc)
MemSys.freeMemory(proc) frees all of the memory held by proc and releases its swap space. |
static void |
handlePageFault(int pageNum)
MemSys.handlePageFault(pageNum) deals with a page fault at page pageNum in the currently executing process. |
static void |
printFrameTable()
MemSys.printFrameTable() prints the frame table in tabular form. |
static void |
setPageTable(PCB proc)
MemSys.setPageTable(proc) sets the PTBR to proc's page table and does any necessary local bookkeeping for a process switch. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void createPageTable(PCB proc)
public static void freeMemory(PCB proc)
public static void setPageTable(PCB proc)
public static void handlePageFault(int pageNum)
public static void printFrameTable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |