mempr_off

Function mempr_off 

Source
pub unsafe extern "C" fn mempr_off()
Expand description

Disables protections on the page whose address is currently in PAGE_ADDR.

SAFETY: PAGE_ADDR should be set to a page-aligned pointer to an owned page, PAGE_SIZE should be the host pagesize, and the range from PAGE_ADDR to PAGE_SIZE * PAGE_COUNT must be owned and allocated memory. No other threads should be running.