|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface BootImageInterface
Interface of BootImage that is used to define object model classes.
| Method Summary | |
|---|---|
Address |
allocateCodeStorage(int size,
int align,
int offset)
Allocate space in code portion of bootimage. |
Address |
allocateDataStorage(int size,
int align,
int offset)
Allocate space in data portion of bootimage. |
void |
setAddressWord(Address offset,
Word value,
boolean objField,
boolean root)
Fill in 4/8 bytes of bootimage, as object reference. |
void |
setByte(Address offset,
int value)
Fill in 1 byte of bootimage. |
void |
setDoubleWord(Address offset,
long value)
Fill in 8 bytes of bootimage. |
void |
setFullWord(Address offset,
int value)
Fill in 4 bytes of bootimage, as numeric. |
void |
setHalfWord(Address offset,
int value)
Fill in 2 bytes of bootimage. |
void |
setNullAddressWord(Address offset,
boolean objField,
boolean root)
Fill in 4 bytes of bootimage, as null object reference. |
| Method Detail |
|---|
Address allocateDataStorage(int size,
int align,
int offset)
size - the number of bytes to allocatealign - the alignment requested; must be a power of 2.offset - the offset at which the alignment is desired.
Address allocateCodeStorage(int size,
int align,
int offset)
size - the number of bytes to allocatealign - the alignment requested; must be a power of 2.offset - the offset at which the alignment is desired.
void setByte(Address offset,
int value)
offset - offset of target from start of image, in bytesvalue - value to write
void setHalfWord(Address offset,
int value)
offset - offset of target from start of image, in bytesvalue - value to write
void setFullWord(Address offset,
int value)
offset - offset of target from start of image, in bytesvalue - value to write
void setAddressWord(Address offset,
Word value,
boolean objField,
boolean root)
offset - offset of target from start of image, in bytesvalue - value to writeobjField - true if this word is an object field (as opposed
to a static, or tib, or some other metadata)root - Does this slot contain a possible reference into the heap? (objField must also be true)
void setNullAddressWord(Address offset,
boolean objField,
boolean root)
offset - offset of target from start of image, in bytesobjField - true if this word is an object field (as opposed
to a static, or tib, or some other metadata)root - Does this slot contain a possible reference into the heap? (objField must also be true)
void setDoubleWord(Address offset,
long value)
offset - offset of target from start of image, in bytesvalue - value to write
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||