gasp.h

Updated: January 28, 2026

Functions for working in guest address spaces

Function safety

Function When used Thread safe? Notes
gasp_find_free() Startup (typically), running (see notes) During startup phase only In running phase, requires gasp_lock() to be called first
gasp_find_free_range() Startup (typically), running (see notes) During startup phase only In running phase, requires gasp_lock() to be called first
gasp_lock() Startup, running Yes  
gasp_map_contig() Startup, running Yes  
gasp_map_sys() Startup, running Yes  
gasp_map_vdma() Startup, running Yes  
gasp_region_info() Startup, running Yes  
gasp_region_set() Startup Yes Automatically calls gasp_lock() and gasp_unlock()
gasp_region_set_soft() Running No This function must be protected with gasp_lock() and gasp_unlock()
gasp_unlock() Startup, running Yes  
gasp_unmap() Startup, running Yes  
gasp_walk_count() Startup, running Yes  
gasp_walk_init() Startup, running Yes  
gasp_walk_next() Startup, running Yes  
gram_find_free() Startup No  
gram_find_free_range() Startup No  
gram_reserve() Startup No