mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 03:58:17 +00:00 
			
		
		
		
	Add the required pieces to support the EFI loader on x86. Since U-Boot only builds for 32-bit on x86, only a 32-bit EFI application is supported. If a 64-bit kernel must be booted, U-Boot supports this directly using FIT (see doc/uImage.FIT/kernel.its). U-Boot can act as a payload for both 32-bit and 64-bit EFI. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
		
			
				
	
	
		
			13 lines
		
	
	
		
			437 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			437 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Copyright 2013 Albert ARIBAUD <albert.u.boot@aribaud.net>
 | |
|  *
 | |
|  * SPDX-License-Identifier:	GPL-2.0+
 | |
|  */
 | |
| 
 | |
| char __efi_runtime_start[0] __attribute__((section(".__efi_runtime_start")));
 | |
| char __efi_runtime_stop[0] __attribute__((section(".__efi_runtime_stop")));
 | |
| char __efi_runtime_rel_start[0]
 | |
| 		__attribute__((section(".__efi_runtime_rel_start")));
 | |
| char __efi_runtime_rel_stop[0]
 | |
| 		__attribute__((section(".__efi_runtime_rel_stop")));
 |