DisablePROCHOT | small EFI executable for disabling BD
kandi X-RAY | DisablePROCHOT Summary
kandi X-RAY | DisablePROCHOT Summary
A small EFI executable for disabling BD(Bi-directional) PROCHOT upon boot. BD PROCHOT causes CPU to lock on the lowest clock speed, if motherboard deems certain parts are overheated(hence bi-directional). If a thermal sensor on the motherboard is broken, BD PROCHOT can always be tripped. If your motherboard is out of warranty, feel free to use this instead. While modern PC setups are very safe from components overheating so extremely to cause BD PROCHOT(it's mostly for extremely poorly maintained PCs), I still hold no responsibilities from possible damages being caused to your PC.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of DisablePROCHOT
DisablePROCHOT Key Features
DisablePROCHOT Examples and Code Snippets
Community Discussions
Trending Discussions on DisablePROCHOT
QUESTION
I have a macbookpro11,3 without a battery. When battery is removed the firmware throttles the CPU to half speed. In Windows I can override this using Throttlestop to turn off BD PROCHOT and set multiplier to 25. I want to do this from EFI so that boot and updates run at a normal speed.
Based on source for rEFInd which updates 0x3a register I wrote this program but while BD PROCHOT is disabled correctly after booting into Windows the multiplier is not.
...ANSWER
Answered 2019-May-27 at 15:12You have to create a loop and change processor affinity each time through the loop. Then you do a wrmsr for each thread (CPU1, CPU2, CPU3, CPU4) each time through the loop. In Windows you use this function.
https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-setthreadaffinitymask
As soon as you boot up, Windows changes the values in MSR 0x199 so seeing what values are in MSR 0x199 after you boot up does not prove anything.
To simplify things, you can do this in SetMultiplier,
low_bits = 0x1900
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install DisablePROCHOT
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page