search for: lapic_suspend

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

2011 Apr 07
5
why are warning be treated as errors?
...kemain)" -D"KBUILD_MODNAME=KBUILD_STR(wakemain)" -D"DEBUG_HASH=57" -D"DEBUG_HASH2=38" -c -o arch/x86/kernel/acpi/realmode/.tmp_wakemain.o arch/x86/kernel/acpi/realmode/wakemain.c cc1: warnings being treated as errors arch/x86/kernel/apic/apic.c: In function 'lapic_suspend': arch/x86/kernel/apic/apic.c:2008:3: error: statement with no effect arch/x86/kernel/apic/apic.c: In function 'lapic_resume': arch/x86/kernel/apic/apic.c:2085:3: error: statement with no effect make[5]: *** [arch/x86/kernel/apic/apic.o] Error 1 make[4]: *** [arch/x86/kernel/apic] Error...
2007 May 15
3
[PATCH 1/12] Add suspend/resume to devices owned by Xen
...apic_dfr; + unsigned int apic_spiv; + unsigned int apic_lvtt; + unsigned int apic_lvtpc; + unsigned int apic_lvt0; + unsigned int apic_lvt1; + unsigned int apic_lvterr; + unsigned int apic_tmict; + unsigned int apic_tdcr; + unsigned int apic_thmr; +} apic_pm_state; + +int lapic_suspend(void) +{ + unsigned long flags; + + if (!apic_pm_state.active) + return 0; + + apic_pm_state.apic_id = apic_read(APIC_ID); + apic_pm_state.apic_taskpri = apic_read(APIC_TASKPRI); + apic_pm_state.apic_ldr = apic_read(APIC_LDR); + apic_pm_state.apic_dfr = apic_read(APIC_DFR);...
2007 Jun 27
0
[PATCH 1/10] Provide basic Xen PM infrastructure
...STATE_S4] = "disk", +}; + +unsigned long acpi_video_flags; +unsigned long saved_videomode; + +/* XXX: Add suspend failure recover later */ +static int device_power_down(void) +{ + console_suspend(); + + time_suspend(); + + i8259A_suspend(); + + ioapic_suspend(); + + lapic_suspend(); + + return 0; +} + +static void device_power_up(void) +{ + lapic_resume(); + + ioapic_resume(); + + i8259A_resume(); + + time_resume(); + + console_resume(); +} + +/* Main interface to do xen specific suspend/resume */ +int enter_state(u32 state) +{ + struct domain *...
2007 Feb 14
4
[PATCH 3/12] Provide basic Xen PM infrastructure
..."standby", + [ACPI_STATE_S3] = "mem", + [ACPI_STATE_S4] = "disk", +}; + +/* Add suspend failure recover later */ +static int device_power_down(void) +{ + console_suspend(); + + time_suspend(); + + i8259A_suspend(); + + ioapic_suspend(); + + lapic_suspend(); + + return 0; +} + +static void device_power_up(void) +{ + lapic_resume(); + + ioapic_resume(); + + i8259A_resume(); + + time_resume(); + + console_resume(); +} + +int enter_state(u32 state) +{ + struct domain *d; + unsigned long flags; + int error; + + if (...