mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 15:13:55 +08:00
c9b77ccb52
Migrated ACPI wakeup code to the real-mode blob. Code existing in .x86_trampoline can be completely removed. Static descriptor table in wakeup_asm.S is courtesy of H. Peter Anvin. Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@intel.com> Link: http://lkml.kernel.org/r/1336501366-28617-7-git-send-email-jarkko.sakkinen@intel.com Cc: Rafael J. Wysocki <rjw@sisk.pl> Cc: Len Brown <len.brown@intel.com> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
20 lines
423 B
C
20 lines
423 B
C
/*
|
|
* Variables and functions used by the code in sleep.c
|
|
*/
|
|
|
|
#include <linux/linkage.h>
|
|
#include <asm/realmode.h>
|
|
|
|
extern unsigned long saved_video_mode;
|
|
extern long saved_magic;
|
|
|
|
extern int wakeup_pmode_return;
|
|
|
|
extern u8 wake_sleep_flags;
|
|
extern asmlinkage void acpi_enter_s3(void);
|
|
|
|
extern unsigned long acpi_copy_wakeup_routine(unsigned long);
|
|
extern void wakeup_long64(void);
|
|
|
|
extern void do_suspend_lowlevel(void);
|