search for: vmi_power_off

Displaying 4 results from an estimated 4 matches for "vmi_power_off".

Did you mean: mic_power_off
2007 Apr 18
2
[RFC, PATCH 14/24] i386 Vmi reboot fixes
...ch_hooks.h> #include <asm/processor.h> @@ -205,7 +206,6 @@ void __init intr_init_hook(void) setup_irq(2, &irq2); } - /* * Probe for the VMI option ROM */ @@ -238,6 +238,13 @@ void __init probe_vmi_rom(void) } } +/* Simple shutdown routine to power down in a VM */ +void +vmi_power_off(void) +{ + /* Shutdown halt powers off the CPU */ + shutdown_halt(); +} /* * Activate the VMI interfaces @@ -267,6 +274,9 @@ void __init vmi_init(void) "(kernel requires version >= %d.%d) " " - falling back to native mode\n", VMI_API_REV_MAJ...
2007 Apr 18
2
[RFC, PATCH 14/24] i386 Vmi reboot fixes
...ch_hooks.h> #include <asm/processor.h> @@ -205,7 +206,6 @@ void __init intr_init_hook(void) setup_irq(2, &irq2); } - /* * Probe for the VMI option ROM */ @@ -238,6 +238,13 @@ void __init probe_vmi_rom(void) } } +/* Simple shutdown routine to power down in a VM */ +void +vmi_power_off(void) +{ + /* Shutdown halt powers off the CPU */ + shutdown_halt(); +} /* * Activate the VMI interfaces @@ -267,6 +274,9 @@ void __init vmi_init(void) "(kernel requires version >= %d.%d) " " - falling back to native mode\n", VMI_API_REV_MAJ...
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
..._VECTOR, apic_vmi_timer_interrupt); #endif setup_irq(2, &irq2); @@ -275,8 +284,10 @@ void __init vmi_init(void) " - falling back to native mode\n", VMI_API_REV_MAJOR, MIN_VMI_API_REV_MINOR); - if (hypervisor_found) + if (hypervisor_found) { pm_power_off = vmi_power_off; + probe_vmi_timer(); + } } @@ -306,6 +317,8 @@ void __init trap_init_hook(void) static struct irqaction irq0 = { timer_interrupt, SA_INTERRUPT, CPU_MASK_NONE, "timer", NULL, NULL}; +static struct irqaction vmi_irq0 = { vmi_timer_interrupt, SA_INTERRUPT, CPU_MASK_NONE, "...
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
..._VECTOR, apic_vmi_timer_interrupt); #endif setup_irq(2, &irq2); @@ -275,8 +284,10 @@ void __init vmi_init(void) " - falling back to native mode\n", VMI_API_REV_MAJOR, MIN_VMI_API_REV_MINOR); - if (hypervisor_found) + if (hypervisor_found) { pm_power_off = vmi_power_off; + probe_vmi_timer(); + } } @@ -306,6 +317,8 @@ void __init trap_init_hook(void) static struct irqaction irq0 = { timer_interrupt, SA_INTERRUPT, CPU_MASK_NONE, "timer", NULL, NULL}; +static struct irqaction vmi_irq0 = { vmi_timer_interrupt, SA_INTERRUPT, CPU_MASK_NONE, "...