| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ | 
|  | 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 |  | 
|  | 13 | GLOBAL(real_mode_blob) | 
|  | 14 | .incbin	"arch/x86/realmode/rm/realmode.bin" | 
|  | 15 | END(real_mode_blob) | 
|  | 16 |  | 
|  | 17 | GLOBAL(real_mode_blob_end); | 
|  | 18 |  | 
|  | 19 | GLOBAL(real_mode_relocs) | 
|  | 20 | .incbin	"arch/x86/realmode/rm/realmode.relocs" | 
|  | 21 | END(real_mode_relocs) |