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

(cherry picked from commit 6818ff7797c6a9ab104e5d7e91d4e422874bf50d)

Details

Provenance
ahmadkhalifa570_gmail.comAuthored on May 14 2024, 7:29 PM
ngieCommitted on Thu, Mar 27, 5:21 PM
Parents
rGd6552ebf26bc: mca_log: add missing breaks when handling thresholds
Branches
Unknown
Tags
Unknown