-
-
Save daaximus/f23bd0f0909cd2486d7b444ec13e67ce to your computer and use it in GitHub Desktop.
CR0 union
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
union __cr0_t | |
{ | |
unsigned __int64 control; | |
struct | |
{ | |
unsigned __int64 protection_enable : 1; | |
unsigned __int64 monitor_coprocessor : 1; | |
unsigned __int64 emulate_fpu : 1; | |
unsigned __int64 task_switched : 1; | |
unsigned __int64 extension_type : 1; | |
unsigned __int64 numeric_error : 1; | |
unsigned __int64 reserved_0 : 10; | |
unsigned __int64 write_protection : 1; | |
unsigned __int64 reserved_1 : 1; | |
unsigned __int64 alignment_mask : 1; | |
unsigned __int64 reserved_2 : 10; | |
unsigned __int64 not_write_through : 1; | |
unsigned __int64 cache_disable : 1; | |
unsigned __int64 paging_enable : 1; | |
} bits; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment