[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [RFC PATCH v5 09/10] xen/arm: add XEN_SYSCTL_cpufreq_op definition
Kernel uses this op to start/stop cpufreq notification events sending. Signed-off-by: Oleksandr Dmytryshyn <oleksandr.dmytryshyn@xxxxxxxxxxxxxxx> --- include/xen/interface/sysctl.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/xen/interface/sysctl.h b/include/xen/interface/sysctl.h index 97c91b0..a4d52e5 100644 --- a/include/xen/interface/sysctl.h +++ b/include/xen/interface/sysctl.h @@ -63,14 +63,24 @@ struct xen_sysctl_physinfo { }; DEFINE_GUEST_HANDLE_STRUCT(xen_sysctl_physinfo); +#define XEN_SYSCTL_CPUFREQ_event_start 0 +#define XEN_SYSCTL_CPUFREQ_event_stop 1 + +struct xen_sysctl_cpufreq_op { + uint32_t cmd; /* XEN_SYSCTL_CPUFREQ_* */ + uint32_t port; /* OUT: event channel for notifications */ +}; +DEFINE_GUEST_HANDLE_STRUCT(xen_sysctl_cpufreq_op); struct xen_sysctl { uint32_t cmd; #define XEN_SYSCTL_physinfo 3 +#define XEN_SYSCTL_cpufreq_op 21 uint32_t interface_version; /* XEN_SYSCTL_INTERFACE_VERSION */ union { struct xen_sysctl_physinfo physinfo; + struct xen_sysctl_cpufreq_op cpufreq_op; uint8_t pad[128]; } u; }; -- 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 |