gasp_lock()
Lock access to regions of the specified type
Synopsis:
#include <qvm/gasp.h>int gasp_lock(uint16_t type)Arguments:
- type
- The type of address space, either QST_MEMORY for guest-physical memory, or QST_X86_IO for an I/O port number.
Description:
Use this function to lock the guest address space to ensure that no other vdev can interfere with this space before you have finished your task.
Returns:
EOK for success; otherwise an error.
Page updated:
