diff options
author | 2021-03-09 04:53:40 +0000 | |
---|---|---|
committer | 2021-03-09 04:53:40 +0000 | |
commit | a787a73b306a7b9834ab0efed0df7bf42567548f (patch) | |
tree | 7799d61dae50634f7ae25b0552565391f239a199 /lib/libc/stdlib | |
parent | Enable ixl(4). (diff) | |
download | wireguard-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