diff options
Diffstat (limited to 'include/xen/interface')
-rw-r--r-- | include/xen/interface/hvm/params.h | 6 | ||||
-rw-r--r-- | include/xen/interface/physdev.h | 7 | ||||
-rw-r--r-- | include/xen/interface/platform.h | 20 |
3 files changed, 31 insertions, 2 deletions
diff --git a/include/xen/interface/hvm/params.h b/include/xen/interface/hvm/params.h index 1888d8c157e6..1b4f923d7086 100644 --- a/include/xen/interface/hvm/params.h +++ b/include/xen/interface/hvm/params.h | |||
@@ -90,6 +90,10 @@ | |||
90 | /* Boolean: Enable aligning all periodic vpts to reduce interrupts */ | 90 | /* Boolean: Enable aligning all periodic vpts to reduce interrupts */ |
91 | #define HVM_PARAM_VPT_ALIGN 16 | 91 | #define HVM_PARAM_VPT_ALIGN 16 |
92 | 92 | ||
93 | #define HVM_NR_PARAMS 17 | 93 | /* Console debug shared memory ring and event channel */ |
94 | #define HVM_PARAM_CONSOLE_PFN 17 | ||
95 | #define HVM_PARAM_CONSOLE_EVTCHN 18 | ||
96 | |||
97 | #define HVM_NR_PARAMS 19 | ||
94 | 98 | ||
95 | #endif /* __XEN_PUBLIC_HVM_PARAMS_H__ */ | 99 | #endif /* __XEN_PUBLIC_HVM_PARAMS_H__ */ |
diff --git a/include/xen/interface/physdev.h b/include/xen/interface/physdev.h index c1080d9c705d..0c28989007fb 100644 --- a/include/xen/interface/physdev.h +++ b/include/xen/interface/physdev.h | |||
@@ -145,6 +145,13 @@ struct physdev_manage_pci { | |||
145 | uint8_t devfn; | 145 | uint8_t devfn; |
146 | }; | 146 | }; |
147 | 147 | ||
148 | #define PHYSDEVOP_restore_msi 19 | ||
149 | struct physdev_restore_msi { | ||
150 | /* IN */ | ||
151 | uint8_t bus; | ||
152 | uint8_t devfn; | ||
153 | }; | ||
154 | |||
148 | #define PHYSDEVOP_manage_pci_add_ext 20 | 155 | #define PHYSDEVOP_manage_pci_add_ext 20 |
149 | struct physdev_manage_pci_ext { | 156 | struct physdev_manage_pci_ext { |
150 | /* IN */ | 157 | /* IN */ |
diff --git a/include/xen/interface/platform.h b/include/xen/interface/platform.h index c1684680431b..486653f0dd8f 100644 --- a/include/xen/interface/platform.h +++ b/include/xen/interface/platform.h | |||
@@ -200,7 +200,7 @@ DEFINE_GUEST_HANDLE_STRUCT(xenpf_getidletime_t); | |||
200 | #define XEN_PM_CX 0 | 200 | #define XEN_PM_CX 0 |
201 | #define XEN_PM_PX 1 | 201 | #define XEN_PM_PX 1 |
202 | #define XEN_PM_TX 2 | 202 | #define XEN_PM_TX 2 |
203 | 203 | #define XEN_PM_PDC 3 | |
204 | /* Px sub info type */ | 204 | /* Px sub info type */ |
205 | #define XEN_PX_PCT 1 | 205 | #define XEN_PX_PCT 1 |
206 | #define XEN_PX_PSS 2 | 206 | #define XEN_PX_PSS 2 |
@@ -293,10 +293,27 @@ struct xenpf_set_processor_pminfo { | |||
293 | union { | 293 | union { |
294 | struct xen_processor_power power;/* Cx: _CST/_CSD */ | 294 | struct xen_processor_power power;/* Cx: _CST/_CSD */ |
295 | struct xen_processor_performance perf; /* Px: _PPC/_PCT/_PSS/_PSD */ | 295 | struct xen_processor_performance perf; /* Px: _PPC/_PCT/_PSS/_PSD */ |
296 | GUEST_HANDLE(uint32_t) pdc; | ||
296 | }; | 297 | }; |
297 | }; | 298 | }; |
298 | DEFINE_GUEST_HANDLE_STRUCT(xenpf_set_processor_pminfo); | 299 | DEFINE_GUEST_HANDLE_STRUCT(xenpf_set_processor_pminfo); |
299 | 300 | ||
301 | #define XENPF_get_cpuinfo 55 | ||
302 | struct xenpf_pcpuinfo { | ||
303 | /* IN */ | ||
304 | uint32_t xen_cpuid; | ||
305 | /* OUT */ | ||
306 | /* The maxium cpu_id that is present */ | ||
307 | uint32_t max_present; | ||
308 | #define XEN_PCPU_FLAGS_ONLINE 1 | ||
309 | /* Correponding xen_cpuid is not present*/ | ||
310 | #define XEN_PCPU_FLAGS_INVALID 2 | ||
311 | uint32_t flags; | ||
312 | uint32_t apic_id; | ||
313 | uint32_t acpi_id; | ||
314 | }; | ||
315 | DEFINE_GUEST_HANDLE_STRUCT(xenpf_pcpuinfo); | ||
316 | |||
300 | struct xen_platform_op { | 317 | struct xen_platform_op { |
301 | uint32_t cmd; | 318 | uint32_t cmd; |
302 | uint32_t interface_version; /* XENPF_INTERFACE_VERSION */ | 319 | uint32_t interface_version; /* XENPF_INTERFACE_VERSION */ |
@@ -312,6 +329,7 @@ struct xen_platform_op { | |||
312 | struct xenpf_change_freq change_freq; | 329 | struct xenpf_change_freq change_freq; |
313 | struct xenpf_getidletime getidletime; | 330 | struct xenpf_getidletime getidletime; |
314 | struct xenpf_set_processor_pminfo set_pminfo; | 331 | struct xenpf_set_processor_pminfo set_pminfo; |
332 | struct xenpf_pcpuinfo pcpu_info; | ||
315 | uint8_t pad[128]; | 333 | uint8_t pad[128]; |
316 | } u; | 334 | } u; |
317 | }; | 335 | }; |