[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Miod Vallat <miod_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Thu, 3 May 2007 13:34:01 -0600 (MDT)
Module name: src
Changes by: miod_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2007/05/03 13:34:01
lib/libkvm : kvm_mips64.c
sys/arch/mips64/include: cpu.h vmparam.h
sys/arch/mips64/mips64: db_machdep.c mem.c pmap.c trap.c
sys/arch/sgi/localbus: crimebus.h macebus.c
Enable support for > 512MB of physical memory on mips64 systems, by using
XKPHYS instead of KSEG 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.
Visit your host, monkey.org