|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnachos.kernel.userprog.NoffHeader.NoffSegment
static class NoffHeader.NoffSegment
A NoffSegment object contains information about one segment of a NOFF executable file.
Field Summary | |
---|---|
(package private) int |
inFileAddr
The location of the segment in the NOFF file. |
(package private) int |
size
The size of the segment in bytes. |
(package private) int |
virtualAddr
The location of segment in user virtual address space. |
Constructor Summary | |
---|---|
private |
NoffHeader.NoffSegment()
Private constructor, to force use of readSegment() to initialize a NoffSegment. |
Method Summary | |
---|---|
(package private) static NoffHeader.NoffSegment |
readSegment(OpenFile f)
Initialize a NoffSegment with data from a file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
int virtualAddr
int inFileAddr
int size
Constructor Detail |
---|
private NoffHeader.NoffSegment()
Method Detail |
---|
static NoffHeader.NoffSegment readSegment(OpenFile f)
f
- The file from which to read the data.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |