Skip to content

Commit

Permalink
Fix WAITPKG flag of ExtendedFeaturesEcx structure
Browse files Browse the repository at this point in the history
  • Loading branch information
GnoCiYeH authored and gz committed Apr 29, 2024
1 parent 4db9c7f commit 3fa2e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -3768,7 +3768,7 @@ bitflags! {
/// Bit 04: OSPKE. If 1, OS has set CR4.PKE to enable protection keys (and the RDPKRU/WRPKRU instruc-tions).
const OSPKE = 1 << 4;
/// Bit 5: WAITPKG
const WAITPKG = 1 >> 5;
const WAITPKG = 1 << 5;
/// Bit 6: AV512_VBMI2
const AVX512VBMI2 = 1 << 6;
/// Bit 7: CET_SS. Supports CET shadow stack features if 1. Processors that set this bit define bits 0..2 of the
Expand Down

0 comments on commit 3fa2e4e

Please sign in to comment.