Couple questions:<br><br>On Feb 3, 2008 10:49 AM, Urbez Santana Roma <<a href="mailto:urbez@linuxupc.upc.edu">urbez@linuxupc.upc.edu</a>> wrote:<br><div class="gmail_quote"><div>> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
6. If you want that your BIOS, runs at the maximum CPU speed, in my<br>case, the CPU starts<br>with 800MHz, and i needed in the bios that works with 1000MHz. You can<br>add this if u will:<br><br>#define MSR_IA32_PERF_STATUS                    0x00000198<br>
#define MSR_IA32_PERF_CTL                       0x00000199<br>#define MSR_IA32_MISC_ENABLE                    0x000001a0<br><br>        msr_t msr;<br>        print_debug("Enabling C7 Power Save\r\n");<br>        msr=rdmsr(MSR_IA32_MISC_ENABLE);<br>
        if (!(msr.lo & 0x10000)) {msr.lo|<br>0x10000;</blockquote><div><br>msr.lo |= 0x10000?<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
wrmsr(MSR_IA32_MISC_ENABLE,msr);<br>        msr=rdmsr(MSR_IA32_PERF_STATUS);<br>        //TODO: wait CPU not busy bit 16 & 17 off (STATUS)<br>        wrmsr(MSR_IA32_PERF_CTL, 0,  (hi&0xff00)| ((hi>>16)&0x00ff));<br>
        //Max multi Factor, and minimum voltage<br>        //TODO: wait CPU transition bit 16 & 17 off (STATUS)<br></blockquote><div><br>}<br><br>I'm about to test out the rest of the changes.<br><br>Thanks,<br>Corey<br>
</div></div>