freebsd-skq/sys/mips
jhb 32e8cc997d Support 2GB of memory on Malta systems with FreeBSD/mips.
When 2GB of memory is enabled for QEMU's Malta emulation, the physical
memory ends at an address of 2^32 - 1.  This causes an integer overflow
to zero when computing the upper bound of the second phys_avail[] range.
As a result, FreeBSD/mips kernels were only using the first 256MB of
RAM and ignoring the remaining 1.75GB.  To work around this, truncate
the extended memory size to 2GB minus one page for 32-bit mips kernels.

Sponsored by:	DARPA / AFRL
Differential Revision:	https://reviews.freebsd.org/D16027
2018-06-28 21:27:34 +00:00
..
atheros hwpmc: yet another missed fixup 2018-06-08 18:54:47 +00:00
beri
broadcom
cavium hwpmc: simplify calling convention for hwpmc interrupt handling 2018-06-08 04:58:03 +00:00
conf MALTA64EL: disable modules until objcopy is fixed 2018-05-24 23:58:57 +00:00
gxemul
include
ingenic
malta Support 2GB of memory on Malta systems with FreeBSD/mips. 2018-06-28 21:27:34 +00:00
mediatek
mips Make memmove an alias for memcpy 2018-05-24 21:11:24 +00:00
nlm
sibyte