aboutsummaryrefslogtreecommitdiff
path: root/stand
diff options
context:
space:
mode:
authorAhmad Khalifa <ahmadkhalifa570@gmail.com>2024-05-31 09:41:32 +0000
committerWarner Losh <imp@FreeBSD.org>2024-09-20 14:45:06 +0000
commit95f75b0e6e5f71d34e4eef151f43822e33838663 (patch)
tree7f8a283889447c73dfd336f8647ffbb9281c9058 /stand
parentf0d5b1bdf075c68ddb1dcfbc5a0eda0214510b5b (diff)
Diffstat (limited to 'stand')
-rw-r--r--stand/efi/loader/framebuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/efi/loader/framebuffer.c b/stand/efi/loader/framebuffer.c
index 2f580309c2f3..c954a2471340 100644
--- a/stand/efi/loader/framebuffer.c
+++ b/stand/efi/loader/framebuffer.c
@@ -656,7 +656,7 @@ efi_find_framebuffer(teken_gfx_t *gfx_state)
gfx_state->tg_shadow_sz =
EFI_SIZE_TO_PAGES(efifb.fb_height * efifb.fb_width *
sizeof(EFI_GRAPHICS_OUTPUT_BLT_PIXEL));
- status = BS->AllocatePages(AllocateMaxAddress, EfiLoaderData,
+ status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
gfx_state->tg_shadow_sz,
(EFI_PHYSICAL_ADDRESS *)&gfx_state->tg_shadow_fb);
if (status != EFI_SUCCESS)