diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2019-09-23 18:10:44 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2019-09-23 18:10:44 +0000 |
commit | 463545311d6efc12283528be0f211a4b59892187 (patch) | |
tree | ee1e23cd959e1df5a572a1ce07b8112622efd856 /sys/arch/arm/include | |
parent | c1e7063ed40fd0bdaa4a227ebb0278e7c1b6881a (diff) |
Implement DVFS support.
ok patrick@
Diffstat (limited to 'sys/arch/arm/include')
-rw-r--r-- | sys/arch/arm/include/cpu.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/arm/include/cpu.h b/sys/arch/arm/include/cpu.h index 2a7f6097880..531ffd3767e 100644 --- a/sys/arch/arm/include/cpu.h +++ b/sys/arch/arm/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.53 2018/12/05 10:28:21 jsg Exp $ */ +/* $OpenBSD: cpu.h,v 1.54 2019/09/23 18:10:43 kettenis Exp $ */ /* $NetBSD: cpu.h,v 1.34 2003/06/23 11:01:08 martin Exp $ */ /* @@ -156,6 +156,8 @@ struct cpu_info { struct cpu_info *ci_next; struct schedstate_percpu ci_schedstate; /* scheduler state */ + int ci_node; + struct proc *ci_curproc; struct proc *ci_fpuproc; u_int32_t ci_cpuid; @@ -176,6 +178,11 @@ struct cpu_info { int ci_mutex_level; #endif + struct opp_table *ci_opp_table; + volatile int ci_opp_idx; + volatile int ci_opp_max; + uint32_t ci_cpu_supply; + #ifdef MULTIPROCESSOR struct srp_hazard ci_srp_hazards[SRP_HAZARD_NUM]; #endif |