mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-28 14:02:51 +00:00
Kernel: Rename OSPKU CPUID feature flag to OSPKE
Unlike "XSAVE enabled by OS" being indicated by the OSXSAVE flag, in this case it's "PKU enabled by OS" being indicated by the OSPKE flag.
This commit is contained in:
parent
280e99073b
commit
87aabb5ef7
Notes:
sideshowbarker
2024-07-18 02:13:10 +09:00
Author: https://github.com/linusg
Commit: 87aabb5ef7
Pull-request: https://github.com/SerenityOS/serenity/pull/13574
Reviewed-by: https://github.com/IdanHo ✅
3 changed files with 4 additions and 4 deletions
|
@ -287,7 +287,7 @@ UNMAP_AFTER_INIT void Processor::cpu_detect()
|
|||
if (extended_features.ecx() & (1 << 3))
|
||||
m_features |= CPUFeature::PKU;
|
||||
if (extended_features.ecx() & (1 << 4))
|
||||
m_features |= CPUFeature::OSPKU;
|
||||
m_features |= CPUFeature::OSPKE;
|
||||
if (extended_features.ecx() & (1 << 5))
|
||||
m_features |= CPUFeature::WAITPKG;
|
||||
if (extended_features.ecx() & (1 << 6))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue