|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--PageTable
A PageTable represents a virtual memory page table for a process.
Constructor Summary | |
PageTable(PCB proc)
new PageTable(proc) returns a page table for proc. |
Method Summary | |
PCB |
getOwner()
pt.getOwner() returns the the process that owns pt. |
PTE |
getPTE(int pageNum)
pt.getPTE(pageNum) returns the page table entry in pt for page number pageNum. |
PTE |
getPTEByAddress(int addr)
pt.getPTEByAddress(addr) returns the page table entry in pt for the page that contains address addr. |
void |
printTable()
pt.printTable() prints pt in tabular form to System.out. |
void |
setPTE(int pageNum,
PTE pte)
pt.setPTE(pageNum, pte) sets the page table entry in pt for page number pageNum to pte. |
java.lang.String |
toString()
pt.toString() returns a string describing the type and owner of pt. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PageTable(PCB proc)
Method Detail |
public PCB getOwner()
public PTE getPTE(int pageNum)
public void setPTE(int pageNum, PTE pte)
public PTE getPTEByAddress(int addr)
public java.lang.String toString()
toString
in class java.lang.Object
public void printTable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |