diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-05-03 19:34:02 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-05-03 19:34:02 +0000 |
commit | 1d129884bc49d41d473d6f2decdc90e6cab9d6ee (patch) | |
tree | 910e16374d6d542cce48bfea72bd39041b6a3d21 /games | |
parent | 615596163a04038381e3aa3bdee5b62150be1813 (diff) |
Enable support for > 512MB of physical memory on mips64 systems, by using
XKPHYS instead of KSEG[01] for direct mappings.
Then, detect memory above 256MB on O2 by poking at the CRIME registers
(ARCbios will not report memory above 256MB, which is mapped above 1GB
physical, to the system), and add it to the UVM managed memory.
Tested on r5k, rm5200 and r10k with and without more than 256MB, matching
hinv reports in all cases. CRIME memory decoding based on a diff from
kettenis@ in december 2005.
Diffstat (limited to 'games')
0 files changed, 0 insertions, 0 deletions