of 'Erratum 343 for AMD Fam10h CPUs' (rev 4345). The original code
sets msr c001_102a bit 3 when bit 35 was intended.
Signed-off-by: Scott Duplichan <scott@notabs.org>
Acked-by: Marc Jones <marcj303@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5814
2b7e53f0-3cfb-0310-b3e9-
8179ed1497e1
/* execute special read command for msr-register. Result is then in the EDX:EAX-registers (MSBs in EDX) */
rdmsr
- /* Set bit 35 to 1 in EAX */
- bts $35, %eax
+ /* Set bit 35 to 1 in EAX:EDX */
+ bts $35-32, %edx
/* write back the modified register EDX:EAX to the MSR specified in ECX */
wrmsr