mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-27 15:45:30 +00:00
Fix type problem
This commit is contained in:
parent
3f995850a4
commit
d3fbca98e1
@ -68,7 +68,11 @@ static grub_uint32_t prot_mode_pages;
|
|||||||
static grub_uint32_t initrd_pages;
|
static grub_uint32_t initrd_pages;
|
||||||
static struct grub_relocator *relocator = NULL;
|
static struct grub_relocator *relocator = NULL;
|
||||||
static void *efi_mmap_buf;
|
static void *efi_mmap_buf;
|
||||||
static grub_size_t efi_mmap_size;
|
#ifdef GRUB_MACHINE_EFI
|
||||||
|
static grub_efi_uintn_t efi_mmap_size;
|
||||||
|
#else
|
||||||
|
static const grub_size_t efi_mmap_size = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* FIXME */
|
/* FIXME */
|
||||||
#if 0
|
#if 0
|
||||||
@ -352,8 +356,6 @@ allocate_pages (grub_size_t prot_size)
|
|||||||
|
|
||||||
#ifdef GRUB_MACHINE_EFI
|
#ifdef GRUB_MACHINE_EFI
|
||||||
efi_mmap_size = find_efi_mmap_size ();
|
efi_mmap_size = find_efi_mmap_size ();
|
||||||
#else
|
|
||||||
efi_mmap_size = 0;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
grub_dprintf ("linux", "real_size = %x, prot_size = %x, mmap_size = %x\n",
|
grub_dprintf ("linux", "real_size = %x, prot_size = %x, mmap_size = %x\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user