2006-04-20 Yoshinori K. Okuji <okuji@enbug.org>
Add support for pre-loaded modules into the EFI port.
        * util/i386/efi/grub-mkimage.c (make_mods_section): Rewritten
        completely. Accept one more argument DIR. The caller has changed.
        * kern/i386/efi/init.c (grub_arch_modules_addr): Removed.
        * kern/efi/efi.c: Include grub/efi/pe32.h and grub/kernel.h.
        (grub_efi_loaded_image_guid): New variable.
        (grub_efi_get_loaded_image): New function.
        (grub_arch_modules_addr): Likewise.
        * include/grub/efi/efi.h (grub_efi_get_loaded_image): New
        prototype.
        * include/grub/efi/api.h (GRUB_EFI_LOADED_IMAGE_GUID): New macro.
        (struct grub_efi_loaded_image): New structure.
        (grub_efi_loaded_image_t): New type.
			
			
This commit is contained in:
		
							parent
							
								
									c352d8dd0b
								
							
						
					
					
						commit
						2eab1c0dad
					
				
					 6 changed files with 180 additions and 14 deletions
				
			
		|  | @ -45,9 +45,3 @@ grub_arch_sync_caches (void *address __attribute__ ((unused)), | |||
|                        grub_size_t len __attribute__ ((unused))) | ||||
| { | ||||
| } | ||||
| 
 | ||||
| grub_addr_t | ||||
| grub_arch_modules_addr (void) | ||||
| { | ||||
|   return 0; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue