HomeFreeBSD

loader: Fix 32-bit compatibility

Description

loader: Fix 32-bit compatibility

main.c - Fix rsdp cast.
framebuffer.c -

  • Use temp variable instead of directly passing pointer when EFI_PHYSICAL_ADDRESS is expected.
	  Also fix FreePages cast.
  • Mask framebuffer address given to us by UEFI.

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

Details

Provenance
Ahmad Khalifa <ahmadkhalifa570@gmail.com>Authored on May 14 2024, 7:29 PM
impCommitted on Fri, Sep 20, 2:45 PM
Parents
rG95f75b0e6e5f: loader: Fix shadow_fb allocation
Branches
Unknown
Tags
Unknown

Event Timeline

imp committed rG6818ff7797c6: loader: Fix 32-bit compatibility (authored by Ahmad Khalifa <ahmadkhalifa570@gmail.com>).Fri, Sep 20, 2:45 PM