]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r259007
authorandreast <andreast@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 11 Dec 2013 22:00:03 +0000 (22:00 +0000)
committerandreast <andreast@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 11 Dec 2013 22:00:03 +0000 (22:00 +0000)
commit7752ada57b0fd0d072256e0229b8bd1e0b3a8887
treeba3122cec4c0abf36dc26ed81dbe0f426c43995b
parent85b6e2c30521da43309bbef8a05d8b98e83de6b8
MFC r259007

Increase PHYS_AVAIL_SZ because on pSeries machines we can have many logical
regions which represent the total amount of memory. The size of these regions
is not the physical size of the chip but it is a logical one and it is given
by the OpenFirmware, it is selectable at boot time and varies between 16MB and
256MB in my case. There is an 'automatic' option which would select the size as
64MB in case you have around 16GB of RAM.
To make sure we can allocate RAM with the automatic option bump this value
of PHYS_AVAIL_SZ to 256.

git-svn-id: svn://svn.freebsd.org/base/stable/10@259233 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/powerpc/include/pmap.h