diff options
| author | Liu Jinsong <jinsong.liu@intel.com> | 2013-01-24 09:12:30 -0500 |
|---|---|---|
| committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2013-02-19 22:02:27 -0500 |
| commit | b22ff77b82598ff131d215627533e09e4a472220 (patch) | |
| tree | 239af45631e67c97a5d4c08c9041a1d3028f41df /include | |
| parent | ef92e7caf9901884f19fdeb4d7a24333b33c5f37 (diff) | |
xen/stub: driver for CPU hotplug
Add Xen stub driver for CPU hotplug, early occupy to block native,
will be replaced later by real Xen processor driver module.
Signed-off-by: Liu Jinsong <jinsong.liu@intel.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/xen/acpi.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/xen/acpi.h b/include/xen/acpi.h index ce7e5264b320..2b3103b33725 100644 --- a/include/xen/acpi.h +++ b/include/xen/acpi.h | |||
| @@ -47,6 +47,13 @@ | |||
| 47 | int xen_stub_memory_device_init(void); | 47 | int xen_stub_memory_device_init(void); |
| 48 | void xen_stub_memory_device_exit(void); | 48 | void xen_stub_memory_device_exit(void); |
| 49 | 49 | ||
| 50 | #define ACPI_PROCESSOR_CLASS "processor" | ||
| 51 | #define ACPI_PROCESSOR_DEVICE_HID "ACPI0007" | ||
| 52 | #define ACPI_PROCESSOR_DEVICE_NAME "Processor" | ||
| 53 | |||
| 54 | int xen_stub_processor_init(void); | ||
| 55 | void xen_stub_processor_exit(void); | ||
| 56 | |||
| 50 | int xen_acpi_notify_hypervisor_state(u8 sleep_state, | 57 | int xen_acpi_notify_hypervisor_state(u8 sleep_state, |
| 51 | u32 pm1a_cnt, u32 pm1b_cnd); | 58 | u32 pm1a_cnt, u32 pm1b_cnd); |
| 52 | 59 | ||
