|
||||||||
| 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()
Return the virtual memory attributes of this type of memory. |
int |
getVMFlags()
Return the virtual memory flags of this type of memory. |
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)
Checks if all of the specified range of physical memory present in the system. |
boolean |
isRemovable()
If this type of memory is removable, return true. |
void |
onInsertion(long base,
long size,
AsyncEventHandler aeh)
Arrange for the specified AsyncEventHandler to be called if any memory in the specified
range is inserted. |
void |
onRemoval(long base,
long size,
AsyncEventHandler aeh)
Arrange for the specified AsyncEventHandler 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 at this address.size - Find at least this much memory.
public long vFind(long base,
long size)
base - Start searching at this address.size - Find at least this much memory.
public void initialize(long base,
long vBase,
long size)
base - The address of the beginning of the physical memory region.vBase - The address of the beginning of the virtual memory region.size - The size of the memory region.java.lang.IllegalArgumentException - if the base and size do not fall into
this type of memorypublic boolean isRemovable()
public boolean contains(long base,
long size)
base - The physical address of the beginning of the memory region.size - The size of the memory region.
public void onRemoval(long base,
long size,
AsyncEventHandler aeh)
AsyncEventHandler to be called if any memory in the specified
range is removed.base - The physical address of the beginning of the memory region.size - The size of the memory region.aeh - Run this if any memory in the specified range is removed.java.lang.IllegalArgumentException - if the base and size do not fall into
this type of memory
public void onInsertion(long base,
long size,
AsyncEventHandler aeh)
AsyncEventHandler to be called if any memory in the specified
range is inserted.base - The physical address of the beginning of the memory region.size - The size of the memory region.aeh - Run this if any memory in the specified range is inserted.java.lang.IllegalArgumentException - if the base and size do not fall into
this type of memory
public boolean isPresent(long base,
long size)
base - The physical address of the beginning of the memory region.size - The size of the memory region.java.lang.IllegalArgumentException - if the base and size do not fall into
this type of memorypublic int getVMAttributes()
public int getVMFlags()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||