We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5af8aa8 commit b8acbdaCopy full SHA for b8acbda
src/registers/control.rs
@@ -143,6 +143,9 @@ bitflags! {
143
///
144
/// Also enables access to the PKRU register (via the `RDPKRU`/`WRPKRU`
145
/// instructions) to set user-mode protection key access controls.
146
+ const PROTECTION_KEY_USER = 1 << 22;
147
+ /// Alias for [`PROTECTION_KEY_USER`](Cr4Flags::PROTECTION_KEY_USER)
148
+ #[deprecated(since = "0.14.5", note = "use `PROTECTION_KEY_USER` instead")]
149
const PROTECTION_KEY = 1 << 22;
150
/// Enables Control-flow Enforcement Technology (CET)
151
0 commit comments