HomeFreeBSD

x86: Add routines for querying XSAVE feature information

Description

x86: Add routines for querying XSAVE feature information

This patch adds several routines that track and expose information
about various XSAVE-related features. More specifically, it adds the
ability to check whether a given XFEATURE is supported and which XSAVE
extensions are supported. Furthermore, it adds several routines for
calculating the size and offsets within a save area given a XSAVE
feature bitmap.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D47394

Details

Provenance
bnovkovAuthored on Sun, Dec 15, 2:04 PM
Reviewer
kib
Differential Revision
D47394: x86: Add routines for querying XSAVE feature information
Parents
rG0c4fa0bdcf87: x86: Add definitions for some Intel Processor Trace bits
Branches
Unknown
Tags
Unknown