managarm/hel
Loading...
Searching...
No Matches
Public Attributes | List of all members
HelSqSetSwapRegion Struct Reference

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.
 

Detailed Description

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.

Member Data Documentation

◆ numPages

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.

◆ swapHandle

HelHandle HelSqSetSwapRegion::swapHandle

Handle to the swap space (from helCreateSwapSpace).

Requires kHelRightManage.


The documentation for this struct was generated from the following file: