HomeFreeBSD

Calculate PTI, PCID and INVPCID modes earlier, before ifuncs are resolved.

Description

Calculate PTI, PCID and INVPCID modes earlier, before ifuncs are resolved.

This will be used in following conversion of pmap_activate_sw().

Reviewed by: alc, markj
Sponsored by: The FreeBSD Foundation
Approved by: re (gjb)
Differential revision: https://reviews.freebsd.org/D17181

Details

Provenance
kibAuthored on
Reviewer
alc
Differential Revision
D17181: Use ifunc to resolve context switching mode on amd4.
Parents
rS338711: Make the PTI violation check to follow style of the SMAP check.
Branches
Unknown
Tags
Unknown