Given a slice descriptor, store state data
Synopsis:
#include <qvm/utils.h>
void qvm_slice_store(const struct qvm_slice_descriptor *desc,
unsigned off,
unsigned nbytes,
void *dst,
const void *src)
Arguments:
- desc
- A pointer to the slice descriptor.
- off
- The starting offset of the state data.
- nbytes
- The number of bytes to be stored.
- dst
- A pointer to the start of the state data block.
- src
- A pointer to start of the source bytes to be stored.
Library:
Provided by qvm; no external library is required.
Description:
For more information, see the Virtual Device Developer's Guide.