]> xenbits.xensource.com Git - xenclient/kernel.git/commitdiff
Keep platform.h sync with Xen side.
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 5 May 2008 09:14:25 +0000 (10:14 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 5 May 2008 09:14:25 +0000 (10:14 +0100)
Signed-off-by: Wei Gang <gang.wei@intel.com>
include/xen/interface/platform.h

index d9c4d6c0f43e93fd892b3524777f0b9f0fa1ef18..9e839ee73ebccbb15646e9cee137122436ab1747 100644 (file)
@@ -239,11 +239,11 @@ typedef struct xen_processor_cx xen_processor_cx_t;
 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;