]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Correct the memory rman ranges to be to BUS_SPACE_MAXADDR
authorjhibbits <jhibbits@FreeBSD.org>
Tue, 1 Mar 2016 02:59:06 +0000 (02:59 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Tue, 1 Mar 2016 02:59:06 +0000 (02:59 +0000)
commit23e52c351253c7260d6757e98af0854e074ad60f
treee8575fccac6d1a46eeda88feb03f17cc451d00ee
parent68514f02c586d3b3b6c559d310a3d0c4379d819c
Correct the memory rman ranges to be to BUS_SPACE_MAXADDR

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.

Reviewed By: cem
Sponsored by: Alex Perez/Inertial Computing
Differential Revision: https://reviews.freebsd.org/D5134
sys/arm/arm/nexus.c
sys/arm64/arm64/nexus.c
sys/mips/mips/nexus.c
sys/riscv/riscv/nexus.c
sys/sparc64/sparc64/nexus.c
sys/x86/x86/nexus.c