Skip to main content

xsave_size_for_xcr0

Function xsave_size_for_xcr0 

Source
pub fn xsave_size_for_xcr0(xcr0: u64) -> usize
Expand description

Compute the XSAVE area size needed for a given XCR0 mask. Falls back to 512 (FXSAVE) if XSAVE is not supported.