Update CR8 structure

This commit is contained in:
EnderIce2 2024-03-13 18:08:20 +02:00
parent 292b022393
commit d247dcd4a3
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD
2 changed files with 4 additions and 12 deletions

View File

@ -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()
{

View File

@ -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;