Displaying 3 results from an estimated 3 matches for "acpi_sleep_init".
2007 Jun 27
1
[PATCH 7/10] SMP support to Xen PM
...0 has been paused\n");
+
+ /* now safe to suspend whole system from cpu 0 */
+ regs = &v->arch.guest_context.user_regs;
+ regs->eax = enter_state(acpi_sinfo.sleep_state);
+
+ /* Now unpause vcpu0/dom0 */
+ vcpu_unpause(v);
+
+ thaw_domains();
}
static int __init acpi_sleep_init(void)
@@ -268,6 +377,8 @@ static int __init acpi_sleep_init(void)
sleep_states[i] = 0;
}
printk(")\n");
+
+ open_softirq(PM_SOFTIRQ, pm_softirq);
return 0;
}
__initcall(acpi_sleep_init);
diff -r 1539f5a2b3ba xen/include/asm-x86/smp.h
--- a/xen/include/asm-...
2007 Jun 27
0
[PATCH 1/10] Provide basic Xen PM infrastructure
...+ device_power_up();
+
+ pmprintk(XENLOG_INFO, "PM: Finishing wakeup.\n");
+
+ Done:
+ local_irq_restore(flags);
+
+ for_each_domain(d)
+ if (d->domain_id!=0)
+ domain_unpause(d);
+
+ spin_unlock(&pm_lock);
+ return error;
+
+}
+
+static int __init acpi_sleep_init(void)
+{
+ int i = 0;
+
+ pmprintk(XENLOG_INFO, "ACPI (supports");
+ for (i = 0; i < ACPI_S_STATE_COUNT; i++)
+ {
+ if (i == ACPI_STATE_S3)
+ {
+ sleep_states[i] = 1;
+ printk(" S%d", i);
+ }
+ else
+ s...
2007 Feb 14
4
[PATCH 3/12] Provide basic Xen PM infrastructure
...em();
+
+ Powerup:
+ device_power_up();
+
+ printk("PM: Finishing wakeup.\n");
+ for_each_domain(d)
+ if (d->domain_id!=0)
+ domain_unpause(d);
+
+ Done:
+ local_irq_restore(flags);
+ spin_unlock(&pm_lock);
+ return error;
+
+}
+
+static int __init acpi_sleep_init(void)
+{
+ int i = 0;
+
+ printk("ACPI (supports");
+ for (i = 0; i < ACPI_S_STATE_COUNT; i++) {
+ if (i == ACPI_STATE_S3){
+ sleep_states[i] = 1;
+ printk(" S%d", i);
+ }
+ else{
+ sleep_states[i] = 0;
+...