[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [RFC PATCH v4 8/9] xen: arm: add cpufreq shared info definition
This shared info will be used by xen-cpufreq driver to receive commands from the cpufreq driver in xen. Signed-off-by: Oleksandr Dmytryshyn <oleksandr.dmytryshyn@xxxxxxxxxxxxxxx> --- arch/arm/include/asm/xen/interface.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/xen/interface.h b/arch/arm/include/asm/xen/interface.h index acf4b7a..7da71e1 100644 --- a/arch/arm/include/asm/xen/interface.h +++ b/arch/arm/include/asm/xen/interface.h @@ -56,8 +56,17 @@ DEFINE_GUEST_HANDLE(xen_ulong_t); /* Maximum number of virtual CPUs in multi-processor guests. */ #define MAX_VIRT_CPUS 1 +struct cpufreq_sh_info { + uint32_t cpu; /* Physical CPU number */ + uint32_t freq; /* Frequency in KHz */ + uint32_t relation; /* CPUFREQ_RELATION_L/H (0) or (1) */ + int32_t result; /* Returned result of the operation */ +}; + struct arch_vcpu_info { }; -struct arch_shared_info { }; +struct arch_shared_info { + struct cpufreq_sh_info cpufreq; +}; /* TODO: Move pvclock definitions some place arch independent */ struct pvclock_vcpu_time_info { -- 1.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |