gasp_unlock()

Release access to regions of the specified type

Synopsis:

#include <qvm/gasp.h>
int gasp_unlock(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 release the guest address space after you have finished a task that required you to lock it, meaning you must have called gasp_lock() before using this function.

Returns:

EOK for success; otherwise an error.

Page updated: