ia64/linux-2.6.18-xen.hg

changeset 535:26c60aa94b9f

Keep platform.h sync with Xen side.

Signed-off-by: Wei Gang <gang.wei@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon May 05 10:14:25 2008 +0100 (2008-05-05)
parents a947207da4e4
children e39cf97647af
files include/xen/interface/platform.h
line diff
     1.1 --- a/include/xen/interface/platform.h	Thu May 01 11:28:23 2008 +0100
     1.2 +++ b/include/xen/interface/platform.h	Mon May 05 10:14:25 2008 +0100
     1.3 @@ -239,11 +239,11 @@ typedef struct xen_processor_cx xen_proc
     1.4  DEFINE_XEN_GUEST_HANDLE(xen_processor_cx_t);
     1.5  
     1.6  struct xen_processor_flags {
     1.7 -    uint8_t bm_control:1;
     1.8 -    uint8_t bm_check:1;
     1.9 -    uint8_t has_cst:1;
    1.10 -    uint8_t power_setup_done:1;
    1.11 -    uint8_t bm_rld_set:1;
    1.12 +    uint32_t bm_control:1;
    1.13 +    uint32_t bm_check:1;
    1.14 +    uint32_t has_cst:1;
    1.15 +    uint32_t power_setup_done:1;
    1.16 +    uint32_t bm_rld_set:1;
    1.17  };
    1.18  
    1.19  struct xen_processor_power {
    1.20 @@ -252,20 +252,12 @@ struct xen_processor_power {
    1.21      XEN_GUEST_HANDLE(xen_processor_cx_t) states; /* supported c states */
    1.22  };
    1.23  
    1.24 -struct xen_processor_performance {
    1.25 -};
    1.26 -
    1.27 -struct xen_processor_throttling {
    1.28 -};
    1.29 -
    1.30  struct xenpf_set_processor_pminfo {
    1.31      /* IN variables */
    1.32      uint32_t id;    /* ACPI CPU ID */
    1.33 -    uint32_t type;  /* {XEN_PM_CX, XEN_PM_PX, XEN_PM_TX} */
    1.34 +    uint32_t type;  /* {XEN_PM_CX, ...} */
    1.35      union {
    1.36          struct xen_processor_power          power;/* Cx: _CST/_CSD */
    1.37 -        struct xen_processor_performance    perf; /* Px: _PPC/_PCT/_PSS/_PSD */
    1.38 -        struct xen_processor_throttling     throt;/* Tx: _TPC/_PTC/_TSS/_TSD */
    1.39      };
    1.40  };
    1.41  typedef struct xenpf_set_processor_pminfo xenpf_set_processor_pminfo_t;