Lifecycle management of threads #29

Merged
harraiken merged 240 commits from threads into master 2026-09-07 13:45:09 +02:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit cc288f5417 - Show all commits

View File

@@ -14,6 +14,9 @@
#include <ketypes.h>
#define POWER_PERFORMANCE_SCALE 100
/* C/C++ specific code */
#ifndef __XTOS_ASSEMBLER__

View File

@@ -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;