diff options
Diffstat (limited to 'include/xen/interface/platform.h')
-rw-r--r-- | include/xen/interface/platform.h | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/include/xen/interface/platform.h b/include/xen/interface/platform.h index 5e36932ab407..c57d5f67f702 100644 --- a/include/xen/interface/platform.h +++ b/include/xen/interface/platform.h | |||
@@ -324,10 +324,21 @@ struct xenpf_cpu_ol { | |||
324 | }; | 324 | }; |
325 | DEFINE_GUEST_HANDLE_STRUCT(xenpf_cpu_ol); | 325 | DEFINE_GUEST_HANDLE_STRUCT(xenpf_cpu_ol); |
326 | 326 | ||
327 | /* | 327 | #define XENPF_cpu_hotadd 58 |
328 | * CMD 58 and 59 are reserved for cpu hotadd and memory hotadd, | 328 | struct xenpf_cpu_hotadd { |
329 | * which are already occupied at Xen hypervisor side. | 329 | uint32_t apic_id; |
330 | */ | 330 | uint32_t acpi_id; |
331 | uint32_t pxm; | ||
332 | }; | ||
333 | |||
334 | #define XENPF_mem_hotadd 59 | ||
335 | struct xenpf_mem_hotadd { | ||
336 | uint64_t spfn; | ||
337 | uint64_t epfn; | ||
338 | uint32_t pxm; | ||
339 | uint32_t flags; | ||
340 | }; | ||
341 | |||
331 | #define XENPF_core_parking 60 | 342 | #define XENPF_core_parking 60 |
332 | struct xenpf_core_parking { | 343 | struct xenpf_core_parking { |
333 | /* IN variables */ | 344 | /* IN variables */ |
@@ -357,6 +368,8 @@ struct xen_platform_op { | |||
357 | struct xenpf_set_processor_pminfo set_pminfo; | 368 | struct xenpf_set_processor_pminfo set_pminfo; |
358 | struct xenpf_pcpuinfo pcpu_info; | 369 | struct xenpf_pcpuinfo pcpu_info; |
359 | struct xenpf_cpu_ol cpu_ol; | 370 | struct xenpf_cpu_ol cpu_ol; |
371 | struct xenpf_cpu_hotadd cpu_add; | ||
372 | struct xenpf_mem_hotadd mem_add; | ||
360 | struct xenpf_core_parking core_parking; | 373 | struct xenpf_core_parking core_parking; |
361 | uint8_t pad[128]; | 374 | uint8_t pad[128]; |
362 | } u; | 375 | } u; |