diff options
Diffstat (limited to 'include/xen/interface')
-rw-r--r-- | include/xen/interface/platform.h | 8 | ||||
-rw-r--r-- | include/xen/interface/xen.h | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/xen/interface/platform.h b/include/xen/interface/platform.h index 486653f0dd8f..61fa66160983 100644 --- a/include/xen/interface/platform.h +++ b/include/xen/interface/platform.h | |||
@@ -314,6 +314,13 @@ struct xenpf_pcpuinfo { | |||
314 | }; | 314 | }; |
315 | DEFINE_GUEST_HANDLE_STRUCT(xenpf_pcpuinfo); | 315 | DEFINE_GUEST_HANDLE_STRUCT(xenpf_pcpuinfo); |
316 | 316 | ||
317 | #define XENPF_cpu_online 56 | ||
318 | #define XENPF_cpu_offline 57 | ||
319 | struct xenpf_cpu_ol { | ||
320 | uint32_t cpuid; | ||
321 | }; | ||
322 | DEFINE_GUEST_HANDLE_STRUCT(xenpf_cpu_ol); | ||
323 | |||
317 | struct xen_platform_op { | 324 | struct xen_platform_op { |
318 | uint32_t cmd; | 325 | uint32_t cmd; |
319 | uint32_t interface_version; /* XENPF_INTERFACE_VERSION */ | 326 | uint32_t interface_version; /* XENPF_INTERFACE_VERSION */ |
@@ -330,6 +337,7 @@ struct xen_platform_op { | |||
330 | struct xenpf_getidletime getidletime; | 337 | struct xenpf_getidletime getidletime; |
331 | struct xenpf_set_processor_pminfo set_pminfo; | 338 | struct xenpf_set_processor_pminfo set_pminfo; |
332 | struct xenpf_pcpuinfo pcpu_info; | 339 | struct xenpf_pcpuinfo pcpu_info; |
340 | struct xenpf_cpu_ol cpu_ol; | ||
333 | uint8_t pad[128]; | 341 | uint8_t pad[128]; |
334 | } u; | 342 | } u; |
335 | }; | 343 | }; |
diff --git a/include/xen/interface/xen.h b/include/xen/interface/xen.h index a890804945e3..0801468f9abe 100644 --- a/include/xen/interface/xen.h +++ b/include/xen/interface/xen.h | |||
@@ -80,6 +80,7 @@ | |||
80 | #define VIRQ_CONSOLE 2 /* (DOM0) Bytes received on emergency console. */ | 80 | #define VIRQ_CONSOLE 2 /* (DOM0) Bytes received on emergency console. */ |
81 | #define VIRQ_DOM_EXC 3 /* (DOM0) Exceptional event for some domain. */ | 81 | #define VIRQ_DOM_EXC 3 /* (DOM0) Exceptional event for some domain. */ |
82 | #define VIRQ_DEBUGGER 6 /* (DOM0) A domain has paused for debugging. */ | 82 | #define VIRQ_DEBUGGER 6 /* (DOM0) A domain has paused for debugging. */ |
83 | #define VIRQ_PCPU_STATE 9 /* (DOM0) PCPU state changed */ | ||
83 | 84 | ||
84 | /* Architecture-specific VIRQ definitions. */ | 85 | /* Architecture-specific VIRQ definitions. */ |
85 | #define VIRQ_ARCH_0 16 | 86 | #define VIRQ_ARCH_0 16 |