Page MenuHomeFreeBSD

Correct the memory rman ranges to be to BUS_SPACE_MAXADDR
ClosedPublic

Authored by jhibbits on Jan 30 2016, 3:53 PM.

Details

Summary

As part of the migration of rman_res_t to be typed to uintmax_t, memory ranges
must be clamped appropriately for the bus, to prevent completely bogus addresses
from being used.

This is extracted from D4544.

Diff Detail

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

Event Timeline

jhibbits retitled this revision from to Correct the memory rman ranges to be to BUS_SPACE_MAXADDR.
jhibbits updated this object.
jhibbits edited the test plan for this revision. (Show Details)
jhibbits added a reviewer: jhb.
cem added a reviewer: cem.
cem added a subscriber: cem.

The only concern I had was around the PAE special case. jhibbits assured me it was at the suggestion of kib and jhb. Looks fine to me.

This revision is now accepted and ready to land.Mar 1 2016, 2:56 AM
This revision was automatically updated to reflect the committed changes.