Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Jarkko Sakkinen | b3266bd | 2012-05-08 21:22:25 +0300 | [diff] [blame] | 2 | /* |
| 3 | * Wrapper script for the realmode binary as a transport object |
| 4 | * before copying to low memory. |
| 5 | */ |
| 6 | #include <linux/linkage.h> |
| 7 | #include <asm/page_types.h> |
| 8 | |
| 9 | .section ".init.data","aw" |
| 10 | |
| 11 | .balign PAGE_SIZE |
| 12 | |
Jarkko Sakkinen | 8e029fc | 2012-05-08 21:22:40 +0300 | [diff] [blame] | 13 | GLOBAL(real_mode_blob) |
Jarkko Sakkinen | b3266bd | 2012-05-08 21:22:25 +0300 | [diff] [blame] | 14 | .incbin "arch/x86/realmode/rm/realmode.bin" |
| 15 | END(real_mode_blob) |
| 16 | |
Jarkko Sakkinen | b429dbf | 2012-05-08 21:22:41 +0300 | [diff] [blame] | 17 | GLOBAL(real_mode_blob_end); |
| 18 | |
Jarkko Sakkinen | 8e029fc | 2012-05-08 21:22:40 +0300 | [diff] [blame] | 19 | GLOBAL(real_mode_relocs) |
Jarkko Sakkinen | b3266bd | 2012-05-08 21:22:25 +0300 | [diff] [blame] | 20 | .incbin "arch/x86/realmode/rm/realmode.relocs" |
| 21 | END(real_mode_relocs) |