Remove hardcoded throttle value
This commit is contained in:
@@ -14,6 +14,9 @@
|
||||
#include <ketypes.h>
|
||||
|
||||
|
||||
#define POWER_PERFORMANCE_SCALE 100
|
||||
|
||||
|
||||
/* C/C++ specific code */
|
||||
#ifndef __XTOS_ASSEMBLER__
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ PO::Idle::InitializeProcessorIdleState(IN OUT PKPROCESSOR_CONTROL_BLOCK Prcb)
|
||||
|
||||
/* Initialize default power state */
|
||||
Prcb->PowerState.Idle0TimeLimit = 0xFFFFFFFF;
|
||||
Prcb->PowerState.CurrentThrottle = 100;
|
||||
Prcb->PowerState.CurrentThrottle = POWER_PERFORMANCE_SCALE;
|
||||
Prcb->PowerState.CurrentThrottleIndex = 0;
|
||||
Prcb->PowerState.IdleFunction = Idle0Function;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user