|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
boolean |
contains(long base,
long size)
Does the specified range of memory contain any of this type? |
long |
find(long base,
long size)
Search for memory of the right type. |
int |
getVMAttributes()
|
int |
getVMFlags()
|
void |
initialize(long base,
long vBase,
long size)
If configuration is required for memory to fit the attribute of this object, do the configuration here. |
boolean |
isPresent(long base,
long size)
Is all of the specified range of physical memory present in the system? (If any of it has been removed, return false.) |
boolean |
isRemovable()
If this type of memory is removable, return true. |
void |
onInsertion(long base,
long size,
AsyncEventHandler aeh)
Arrange for the specified AEH to be called if any memory in the specified range is inserted. |
void |
onRemoval(long base,
long size,
AsyncEventHandler aeh)
Arrange for the specified AEH to be called if any memory in the specified range is removed. |
long |
vFind(long base,
long size)
Search for virtual memory of the right type. |
Method Detail |
public long find(long base, long size)
base
- start searching heresize
- look for at least this much memorypublic long vFind(long base, long size)
base
- start searching heresize
- look for at least this much memorypublic void initialize(long base, long vBase, long size)
base
- address of the beginning of the physical memory region.vBase
- address of the beginning of the virtual memory region.size
- size of the memory regionpublic boolean isRemovable()
public boolean contains(long base, long size)
base
- physical address of the beginning of the memory regionsize
- size of the memory regionpublic void onRemoval(long base, long size, AsyncEventHandler aeh)
physical
- base address of the beginning of the memory regionsize
- size of the memory regionaeh
- Run this if any memory in the specified range is removed.public void onInsertion(long base, long size, AsyncEventHandler aeh)
physical
- base address of the beginning of the memory regionsize
- size of the memory regionaeh
- Run this if any memory in the specified range is inserted.public boolean isPresent(long base, long size)
physical
- base address of the beginning of the memory regionsize
- size of the memory regionaeh
- Run this if any memory in the specified range is inserted.public int getVMAttributes()
public int getVMFlags()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |