mirror of
https://github.com/ufrisk/MemProcFS.git
synced 2026-06-08 10:02:33 +08:00
Version 5.8.4
This commit is contained in:
@@ -7,54 +7,54 @@ package vmm;
|
||||
*/
|
||||
public interface IVmmMemScatterMemory
|
||||
{
|
||||
|
||||
/**
|
||||
* Retrieve the object validity. Will turn to false after Close().
|
||||
* @return
|
||||
*/
|
||||
public boolean isValid();
|
||||
|
||||
/**
|
||||
* Retrieve the flags.
|
||||
* @return
|
||||
*/
|
||||
public int getFlags();
|
||||
|
||||
/**
|
||||
* Prepare memory for reading. Read memory after a successful call to Execute()
|
||||
* @param va
|
||||
* @param size
|
||||
*/
|
||||
void prepare(long va, int size);
|
||||
|
||||
/**
|
||||
* Prepare memory for writing. Memory will hopefully be written after a call to Execute()
|
||||
* @param va
|
||||
* @param data
|
||||
*/
|
||||
void prepareWrite(long va, byte[] data);
|
||||
|
||||
/**
|
||||
* Execute memory read/write operations queued by previous calls to Prepare()/PrepareWrite()
|
||||
*/
|
||||
void execute();
|
||||
|
||||
/**
|
||||
* Clear the IVmmMemScatter for new calls to Prepare()/PrepareWrite()
|
||||
*/
|
||||
void clear();
|
||||
|
||||
/**
|
||||
* Read scatter data previously prepared by Prepare() after an Execute() call.
|
||||
* @param va
|
||||
* @param size
|
||||
* @return
|
||||
*/
|
||||
byte[] read(long va, int size);
|
||||
|
||||
/**
|
||||
* Close the IVmmMemScatter object and clean up native resources.
|
||||
*/
|
||||
void close();
|
||||
|
||||
|
||||
/**
|
||||
* Retrieve the object validity. Will turn to false after Close().
|
||||
* @return
|
||||
*/
|
||||
public boolean isValid();
|
||||
|
||||
/**
|
||||
* Retrieve the flags.
|
||||
* @return
|
||||
*/
|
||||
public int getFlags();
|
||||
|
||||
/**
|
||||
* Prepare memory for reading. Read memory after a successful call to Execute()
|
||||
* @param va
|
||||
* @param size
|
||||
*/
|
||||
void prepare(long va, int size);
|
||||
|
||||
/**
|
||||
* Prepare memory for writing. Memory will hopefully be written after a call to Execute()
|
||||
* @param va
|
||||
* @param data
|
||||
*/
|
||||
void prepareWrite(long va, byte[] data);
|
||||
|
||||
/**
|
||||
* Execute memory read/write operations queued by previous calls to Prepare()/PrepareWrite()
|
||||
*/
|
||||
void execute();
|
||||
|
||||
/**
|
||||
* Clear the IVmmMemScatter for new calls to Prepare()/PrepareWrite()
|
||||
*/
|
||||
void clear();
|
||||
|
||||
/**
|
||||
* Read scatter data previously prepared by Prepare() after an Execute() call.
|
||||
* @param va
|
||||
* @param size
|
||||
* @return
|
||||
*/
|
||||
byte[] read(long va, int size);
|
||||
|
||||
/**
|
||||
* Close the IVmmMemScatter object and clean up native resources.
|
||||
*/
|
||||
void close();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user