HomeFreeBSD

loader: Fix shadow_fb allocation

Description

loader: Fix shadow_fb allocation

Using AllocateMaxAddress here means that gfx_state->tg_shadow_fb is
treated as the highest address we can receive. Since
gfx_state->tg_shadow_fb is NULL, we never receive anything. Use
AllocateAnyPages instead.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1098

Details

Provenance
Ahmad Khalifa <ahmadkhalifa570@gmail.com>Authored on May 31 2024, 9:41 AM
impCommitted on Fri, Sep 20, 2:45 PM
Parents
rGf0d5b1bdf075: stand/efi: Add a 32-bit variant of libefi
Branches
Unknown
Tags
Unknown

Event Timeline

imp committed rG95f75b0e6e5f: loader: Fix shadow_fb allocation (authored by Ahmad Khalifa <ahmadkhalifa570@gmail.com>).Fri, Sep 20, 2:45 PM