summaryrefslogtreecommitdiff
path: root/lib/libkvm/kvm_mips64.c
AgeCommit message (Collapse)Author
2009-12-07Get page size information by reading the kernel image' struct uvmexp, insteadMiod Vallat
of the value of PAGE_SIZE found in the standard headers when compiling.
2009-11-22Oops, KSEG -> CKSEG.Miod Vallat
2009-11-22Allow mips ports to override VM_{MIN,MAX}_KERNEL_ADDRESS, and provide theMiod Vallat
address as a kernel variable for use by libkvm. On sgi IP27 and IP30 kernels, use XKSEG instead of CKSSEG; this will allow kernel KVM size to grow in the future if necessary.
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-06-20Move KREAD define to kvm_private.hTodd C. Miller
2007-10-18Get rid of the silly union for mips pte. No functional change exceptMiod Vallat
pmap.h now includes pte.h.
2007-05-03Enable support for > 512MB of physical memory on mips64 systems, by usingMiod Vallat
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.
2007-01-08the advertising clause on these can safely be removedTheo de Raadt
2006-11-29Fix cut'n'paste abuse in error message.Miod Vallat
2006-03-20for some of internal functions use paddr_t where phys addr is intended ↵Michael Shalayeff
insteadd of u_long; miod@ ok
2004-09-15Kill (almost all) warnings.Miod Vallat
2004-08-06wrong filenameTheo de Raadt