You've already forked DasharoModulePkg
mirror of
https://github.com/Dasharo/DasharoModulePkg.git
synced 2026-03-06 14:50:17 -08:00
The CPU throttling used an excessive number of variables. The allowed range of values should be fixed at build, saving it as a NV variable makes no sense. Simplify the logic of the CPU throttling range, gaining a better UX than some error popups. Instead of setting the temperature, set the offset which has a fixed allowed range. Display the current threshold temperatue as grayed out fields instead. Also add PCD to control the default value of the throttling offset. Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>