HomeFreeBSD

vtgpu: Fix the physical memory size

Description

vtgpu: Fix the physical memory size

Use the correct endian switching function when switching to a little
endian 64-bit address. Even on a little-endian machine this will
truncate the address to a 32-bit value.

Sponsored by: Arm Ltd

(cherry picked from commit 4386935191c576fa62a52d52734e264fe8329a67)

Details

Provenance
andrewAuthored on Sep 21 2023, 10:50 AM
Parents
rGcaf7bc535622: arm64: Fix errata workarounds that depend on smccc
Branches
Unknown
Tags
Unknown