]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: 232681
authorjpaetzel <jpaetzel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 19 Mar 2012 22:52:19 +0000 (22:52 +0000)
committerjpaetzel <jpaetzel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 19 Mar 2012 22:52:19 +0000 (22:52 +0000)
commitcb2f6be2cda7e8ab8175c2774ddcd414b40d66a4
tree47644bf0b92be09dc3d085def3ff4c6592e5da7f
parent2b477031c1683a27b9b01bfd9a1e7874ef4e54b9
MFC: 232681

Work around broken BIOS memory reporting

Andrzej has a machine with 32GB of RAM, but only 16GB is reported by the
smbios.memory.enabled.  Thus, use the greater of hw.realmem and the smbios
value.

Reported by: Andrzej Tobola <ato of iem pw edu pl>

git-svn-id: svn://svn.freebsd.org/base/stable/9@233218 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/pc-sysinstall/backend-query/sys-mem.sh