[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] Keep platform.h sync with Xen side.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1209978865 -3600
# Node ID 26c60aa94b9f715027cf32cf5163ae9305e1abd4
# Parent  a947207da4e49d003dff47fe47a27bf119b17740
Keep platform.h sync with Xen side.

Signed-off-by: Wei Gang <gang.wei@xxxxxxxxx>
---
 include/xen/interface/platform.h |   20 ++++++--------------
 1 files changed, 6 insertions(+), 14 deletions(-)

diff -r a947207da4e4 -r 26c60aa94b9f include/xen/interface/platform.h
--- a/include/xen/interface/platform.h  Thu May 01 11:28:23 2008 +0100
+++ b/include/xen/interface/platform.h  Mon May 05 10:14:25 2008 +0100
@@ -239,11 +239,11 @@ DEFINE_XEN_GUEST_HANDLE(xen_processor_cx
 DEFINE_XEN_GUEST_HANDLE(xen_processor_cx_t);
 
 struct xen_processor_flags {
-    uint8_t bm_control:1;
-    uint8_t bm_check:1;
-    uint8_t has_cst:1;
-    uint8_t power_setup_done:1;
-    uint8_t bm_rld_set:1;
+    uint32_t bm_control:1;
+    uint32_t bm_check:1;
+    uint32_t has_cst:1;
+    uint32_t power_setup_done:1;
+    uint32_t bm_rld_set:1;
 };
 
 struct xen_processor_power {
@@ -252,20 +252,12 @@ struct xen_processor_power {
     XEN_GUEST_HANDLE(xen_processor_cx_t) states; /* supported c states */
 };
 
-struct xen_processor_performance {
-};
-
-struct xen_processor_throttling {
-};
-
 struct xenpf_set_processor_pminfo {
     /* IN variables */
     uint32_t id;    /* ACPI CPU ID */
-    uint32_t type;  /* {XEN_PM_CX, XEN_PM_PX, XEN_PM_TX} */
+    uint32_t type;  /* {XEN_PM_CX, ...} */
     union {
         struct xen_processor_power          power;/* Cx: _CST/_CSD */
-        struct xen_processor_performance    perf; /* Px: _PPC/_PCT/_PSS/_PSD */
-        struct xen_processor_throttling     throt;/* Tx: _TPC/_PTC/_TSS/_TSD */
     };
 };
 typedef struct xenpf_set_processor_pminfo xenpf_set_processor_pminfo_t;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.