diff options
| author | Ahmad Khalifa <ahmadkhalifa570@gmail.com> | 2024-05-31 09:41:32 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2024-09-20 14:45:06 +0000 |
| commit | 95f75b0e6e5f71d34e4eef151f43822e33838663 (patch) | |
| tree | 7f8a283889447c73dfd336f8647ffbb9281c9058 /stand | |
| parent | f0d5b1bdf075c68ddb1dcfbc5a0eda0214510b5b (diff) | |
Diffstat (limited to 'stand')
| -rw-r--r-- | stand/efi/loader/framebuffer.c | 2 |
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) |
