Version 5.8.4

This commit is contained in:
Ulf Frisk
2023-09-21 23:19:19 +02:00
parent 4a501ff7fa
commit d9bd9f8482
37 changed files with 1801 additions and 1650 deletions

View File

@@ -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();
}