- sys-clk-OC: force disable charging, a temporary toggle that will be reset once power state changes (#57)

This commit is contained in:
KazushiM
2023-01-04 14:25:33 +08:00
parent 277f8d48e5
commit 012cd40a68
13 changed files with 95 additions and 14 deletions

View File

@@ -10,6 +10,10 @@
#include "file_utils.h"
#include "clocks.h"
// Forward declaration
class ClockManager;
#include "clock_manager.h"
class CpuCoreUtil {
public:
CpuCoreUtil (int coreid, uint64_t ns);
@@ -58,8 +62,8 @@ protected:
};
namespace PsmExt {
void ChargingHandler(uint32_t chargingCurrent, uint32_t chargingLimit);
};
void ChargingHandler(ClockManager* instance);
}
class Governor {
public: