mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Update CR8 structure
This commit is contained in:
parent
292b022393
commit
d247dcd4a3
@ -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()
|
||||
{
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user