d1ee433539
Use the unified trampoline allocation setup to allocate and install the ACPI wakeup code in low memory. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> LKML-Reference: <4D5DFBE4.7090104@intel.com> Cc: Rafael J. Wysocki <rjw@sisk.pl> Cc: Matthieu Castet <castet.matthieu@free.fr> Cc: Stephen Rothwell <sfr@canb.auug.org.au>
13 lines
325 B
ArmAsm
13 lines
325 B
ArmAsm
/*
|
|
* Wrapper script for the realmode binary as a transport object
|
|
* before copying to low memory.
|
|
*/
|
|
#include <asm/page_types.h>
|
|
|
|
.section ".x86_trampoline","a"
|
|
.balign PAGE_SIZE
|
|
.globl acpi_wakeup_code
|
|
acpi_wakeup_code:
|
|
.incbin "arch/x86/kernel/acpi/realmode/wakeup.bin"
|
|
.size wakeup_code_start, .-wakeup_code_start
|