Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix WAITPKG flag of ExtendedFeaturesEcx structure #175

Merged
merged 1 commit into from
Apr 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -114,8 +114,8 @@

#[cfg(not(test))]
mod std {
pub use core::ops;

Check warning on line 117 in src/lib.rs

View workflow job for this annotation

GitHub Actions / ci (stable)

unused import: `core::ops`

Check warning on line 117 in src/lib.rs

View workflow job for this annotation

GitHub Actions / ci (stable)

unused import: `core::ops`

Check warning on line 117 in src/lib.rs

View workflow job for this annotation

GitHub Actions / ci (stable)

unused import: `core::ops`

Check warning on line 117 in src/lib.rs

View workflow job for this annotation

GitHub Actions / ci (stable)

unused import: `core::ops`

Check warning on line 117 in src/lib.rs

View workflow job for this annotation

GitHub Actions / ci (stable)

unused import: `core::ops`

Check warning on line 117 in src/lib.rs

View workflow job for this annotation

GitHub Actions / ci (nightly)

unused import: `core::ops`

Check warning on line 117 in src/lib.rs

View workflow job for this annotation

GitHub Actions / ci (nightly)

unused import: `core::ops`

Check warning on line 117 in src/lib.rs

View workflow job for this annotation

GitHub Actions / ci (nightly)

unused import: `core::ops`

Check warning on line 117 in src/lib.rs

View workflow job for this annotation

GitHub Actions / ci (nightly)

unused import: `core::ops`

Check warning on line 117 in src/lib.rs

View workflow job for this annotation

GitHub Actions / ci (nightly)

unused import: `core::ops`

Check warning on line 117 in src/lib.rs

View workflow job for this annotation

GitHub Actions / Coverage

unused import: `core::ops`
pub use core::option;

Check warning on line 118 in src/lib.rs

View workflow job for this annotation

GitHub Actions / ci (stable)

unused import: `core::option`

Check warning on line 118 in src/lib.rs

View workflow job for this annotation

GitHub Actions / ci (stable)

unused import: `core::option`

Check warning on line 118 in src/lib.rs

View workflow job for this annotation

GitHub Actions / ci (stable)

unused import: `core::option`

Check warning on line 118 in src/lib.rs

View workflow job for this annotation

GitHub Actions / ci (stable)

unused import: `core::option`

Check warning on line 118 in src/lib.rs

View workflow job for this annotation

GitHub Actions / ci (stable)

unused import: `core::option`

Check warning on line 118 in src/lib.rs

View workflow job for this annotation

GitHub Actions / ci (nightly)

unused import: `core::option`

Check warning on line 118 in src/lib.rs

View workflow job for this annotation

GitHub Actions / ci (nightly)

unused import: `core::option`

Check warning on line 118 in src/lib.rs

View workflow job for this annotation

GitHub Actions / ci (nightly)

unused import: `core::option`

Check warning on line 118 in src/lib.rs

View workflow job for this annotation

GitHub Actions / ci (nightly)

unused import: `core::option`

Check warning on line 118 in src/lib.rs

View workflow job for this annotation

GitHub Actions / ci (nightly)

unused import: `core::option`

Check warning on line 118 in src/lib.rs

View workflow job for this annotation

GitHub Actions / Coverage

unused import: `core::option`
}

/// Macro which queries cpuid directly.
Expand Down Expand Up @@ -3768,7 +3768,7 @@
/// 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