mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-28 18:19:23 +00:00
Fix type problem
This commit is contained in:
1 parent
3f995850a4
commit
d3fbca98e1
1 file changed
+5
-3
+5
-3
@@ -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",
|
||||||
|
|||||||
Reference in new issue
Block a user