Open xrysf03 opened 2 years ago
Note that the single WRMSR is a crude approach. Optimally, to avoid stomping over other, reserved, flags, you should:
unsigned long data = rdmsr(0x1FC); data &= 0xFFFFFFFE; // set bit 0 to 0, preserve the rest wrmsr(0x1FC, data);
Note that the single WRMSR is a crude approach. Optimally, to avoid stomping over other, reserved, flags, you should:
unsigned long data = rdmsr(0x1FC); data &= 0xFFFFFFFE; // set bit 0 to 0, preserve the rest wrmsr(0x1FC, data);