search for: ioapic_pm_state

Displaying 1 result from an estimated 1 matches for "ioapic_pm_state".

Did you mean: apic_pm_state
2007 May 15
3
[PATCH 1/12] Add suspend/resume to devices owned by Xen
...x86/io_apic.c Tue May 08 10:21:23 2007 +0100 +++ b/xen/arch/x86/io_apic.c Mon May 14 15:09:20 2007 -0400 @@ -1793,6 +1793,78 @@ void __init setup_IO_APIC(void) register_keyhandler(''z'', print_IO_APIC_keyhandler, "print ioapic info"); } +struct IO_APIC_route_entry *ioapic_pm_state=NULL; + +void ioapic_pm_state_alloc(void) +{ + int i, nr_entry=0; + + if (ioapic_pm_state!=NULL) + return; + + for (i=0; i<nr_ioapics; i++) + nr_entry += nr_ioapic_registers[i]; + ioapic_pm_state = _xmalloc( sizeof(struct IO_APIC_route_entry)*nr_entry, +...