gram_reserve()
Mark a RAM/ROM range as being in use
Synopsis:
#include <qvm/gasp.h>int gram_reserve(uint64_t loc,
uint64_t size)Arguments:
- loc
- The starting address of the memory range to mark as in use.
- size
- The size, in bytes, of the range to mark as in use.
Description:
This function is called by gram_find_free() and gram_find_free_range() to mark a RAM or ROM range of the guest system as in use.
Returns:
EOK on success, or errno if unsuccessful.
Page updated:
