|
managarm/hel
|
SQ data for kHelSubmitSetSwapRegion. More...
#include <hel.h>
Public Attributes | |
| HelHandle | swapHandle |
| Handle to the swap space (from helCreateSwapSpace). | |
| size_t | numPages |
| New capacity of the region in pages. | |
| uint32_t | region |
| Index of the region. Must be smaller than kHelNumSwapRegions. | |
SQ data for kHelSubmitSetSwapRegion.
Sets the capacity of a region of a swap space (see helCreateSwapSpace). The capacity of region r is the number of pages that may be swapped out to the region.
| size_t HelSqSetSwapRegion::numPages |
New capacity of the region in pages.
Must be smaller than (1 << (kHelSwapRegionShift - page shift)), i.e., the last page of each region always stays unused.
| HelHandle HelSqSetSwapRegion::swapHandle |
Handle to the swap space (from helCreateSwapSpace).
Requires kHelRightManage.