summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2021-03-09 04:53:40 +0000
committerderaadt <deraadt@openbsd.org>2021-03-09 04:53:40 +0000
commita787a73b306a7b9834ab0efed0df7bf42567548f (patch)
tree7799d61dae50634f7ae25b0552565391f239a199 /lib/libc/stdlib
parentEnable ixl(4). (diff)
downloadwireguard-openbsd-a787a73b306a7b9834ab0efed0df7bf42567548f.tar.xz
wireguard-openbsd-a787a73b306a7b9834ab0efed0df7bf42567548f.zip
ofw_read_mem_regions() can skip calculation of physmem. pmap.c
already calculates _usable_ memory and updates physmem (if it is 0), whereas ofw_read_mem_regions() was counting usable+unuseable memory. ie. 4G or more on some machines. powerpc's 32-bit pagetable cannot use memory beyond 4G phys addr. (On a 4G machine, physmem64 was calculated as 0, which caused the installer's auto-diskabel code to place /tmp on the b partition). ok gkoehler, works for kurt also
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions