summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/acpi/wakeup_rm.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/acpi/wakeup_rm.S')
-rw-r--r--arch/x86/kernel/acpi/wakeup_rm.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/kernel/acpi/wakeup_rm.S b/arch/x86/kernel/acpi/wakeup_rm.S
new file mode 100644
index 00000000..63b8ab52
--- /dev/null
+++ b/arch/x86/kernel/acpi/wakeup_rm.S
@@ -0,0 +1,12 @@
+/*
+ * 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 acpi_wakeup_code, .-acpi_wakeup_code