I want to down core machine(PC) using application or driver.
But every processor(Intel , AMD,..etc) having different hardware architecture. Still using msconfig , user can able to limit number of cores.
Please share your thoughts.
Windows uses HAL
(Hardware Abstraction Layer), which allows all its components to work the same way with the different hardware. Specifics are handled by the hardware device drivers.
CPU registers are used by processor when it is executes a code. There are many kinds of registers, they all are described in the processor developer specification. While msconfig of course using CPU registers, it just a configuration tool. Also you should understand, that each process has its own register state structure called CONTEXT
, so it is unclear what exactly you are trying to achieve.
msconfig
just saves a configuration information, which is used by Windows kernel, so it could limit CPU cores/memory on initialization. You could limit available processors for the selected process using API function SetProcessAffinityMask
.