Page MenuHomeFreeBSD

Minimal changes for MPR to build on architectures with physical addresses larger than virtual
ClosedPublic

Authored by jhibbits on Jan 25 2018, 4:46 AM.

Details

Summary

Some architectures use large (36-bit) physical addresses, with smaller
virtual addresses. Casting between vm_paddr_t (or bus_addr_t) and void * is
considered illegal, so cast through uintptr_t. No functional change on existing
platforms.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jhibbits created this revision.Jan 25 2018, 4:46 AM
scottl accepted this revision.Feb 4 2018, 3:07 PM
This revision is now accepted and ready to land.Feb 4 2018, 3:07 PM
This revision was automatically updated to reflect the committed changes.