diff --git a/include/cpu/x86/x32/cr.hpp b/include/cpu/x86/x32/cr.hpp index 840ff74..6ecf257 100644 --- a/include/cpu/x86/x32/cr.hpp +++ b/include/cpu/x86/x32/cr.hpp @@ -141,16 +141,6 @@ namespace CPU }; uint32_t raw; } CR4; - - typedef union CR8 - { - struct - { - /** @brief Task Priority Level */ - uint32_t TPL : 1; - }; - uint32_t raw; - } CR8; #if defined(a32) nsa static inline CR0 readcr0() { diff --git a/include/cpu/x86/x64/cr.hpp b/include/cpu/x86/x64/cr.hpp index 4f6b8b1..adfa982 100644 --- a/include/cpu/x86/x64/cr.hpp +++ b/include/cpu/x86/x64/cr.hpp @@ -148,8 +148,10 @@ namespace CPU { struct { - /** @brief Task Priority Level */ - uint64_t TPL : 1; + /** @brief Task Priority Register */ + uint64_t TPR : 4; + /** @brief Reserved */ + uint64_t Reserved : 60; }; uint64_t raw; } CR8;