mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-29 10:39:22 +00:00
boot services avoid code based on the patch by Matthew Garrett
This commit is contained in:
1 parent
86e5ab4b81
commit
9be4c45dbe
18 files changed
+136
-37
No files matched your search
@@ -85,4 +85,7 @@ extern grub_efi_handle_t EXPORT_VAR(grub_efi_image_handle);
|
||||
|
||||
extern int EXPORT_VAR(grub_efi_is_finished);
|
||||
|
||||
grub_err_t
|
||||
grub_efi_mmap_iterate (grub_memory_hook_t hook, int avoid_efi_boot_services);
|
||||
|
||||
#endif /* ! GRUB_EFI_EFI_HEADER */
|
||||
@@ -68,7 +68,8 @@ grub_err_t grub_relocator16_boot (struct grub_relocator *rel,
|
||||
struct grub_relocator16_state state);
|
||||
|
||||
grub_err_t grub_relocator32_boot (struct grub_relocator *rel,
|
||||
struct grub_relocator32_state state);
|
||||
struct grub_relocator32_state state,
|
||||
int avoid_efi_bootservices);
|
||||
|
||||
grub_err_t grub_relocator64_boot (struct grub_relocator *rel,
|
||||
struct grub_relocator64_state state,
|
||||
|
||||
@@ -46,7 +46,8 @@ grub_relocator_alloc_chunk_align (struct grub_relocator *rel,
|
||||
grub_phys_addr_t min_addr,
|
||||
grub_phys_addr_t max_addr,
|
||||
grub_size_t size, grub_size_t align,
|
||||
int preference);
|
||||
int preference,
|
||||
int avoid_efi_boot_services);
|
||||
|
||||
#define GRUB_RELOCATOR_PREFERENCE_NONE 0
|
||||
#define GRUB_RELOCATOR_PREFERENCE_LOW 1
|
||||
|
||||
Reference in new issue
Block a user