Implemented CR4 register for Winchip. Currently only Time Stamp Disable (TSD) has an effect.

Fixed stupid bug in WRMSR - MSRs can now be written with values other than zero.
This commit is contained in:
TomW 2014-08-23 16:28:16 +01:00
commit 262b188790
6 changed files with 49 additions and 2 deletions

View file

@ -154,7 +154,7 @@ union
#define cr0 CR0.l
#define msw CR0.w
uint32_t cr2,cr3;
uint32_t cr2, cr3, cr4;
#define C_FLAG 0x0001
#define P_FLAG 0x0004