summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm_sparc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove references to sparctedu2016-09-011-250/+0
|
* Do not include <machine/autoconf.h>, for it is a kernel-only header and libkvmmiod2015-03-301-8/+7
| | | | | doesn't need anything from it. While there, fix format strings and remove unused local variable declarations.
* Rework the virtual memory layout on SRMMU systems (sun4d/sun4m) to use a muchmiod2015-03-181-5/+5
| | | | | | | | | | | | | | | | | | | | | lower VM_MIN_KERNEL_ADDRESS, since these systems are not crippled by the Sun-4 MMU hole and have the real 4GB of address space. Kernels running on Sun-4 MMU are not affected and will still be restricted to the existing 128MB of kernel space, with 1GB - 128MB of user space. Kernels running on SRMMU will now provide the low 3GB of address space to userland, and use the top 1GB for the kernel, except when compiled with option SMALL_KERNEL, in which case they will keep Sun-4 style the layout (this is temporary to allow for people to boot bsd.rd to upgrade even when not running 2.10 boot blocks, and will be removed eventually) A consequence of this is that the top of the userland stack is no longer at 0xf0000000. But since nothing in userland uses USRSTACK anymore, this should not be an issue. Tested on sun4c and various sun4m, with physical memory sizes ranging from 32 to 448MB.
* reduce use of <sys/user.h>deraadt2013-11-011-2/+1
| | | | ok guenther millert
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-9/+1
| | | | | | | 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
* for some of internal functions use paddr_t where phys addr is intended insteadd of u_long; miod@ okmickey2006-03-201-4/+4
|
* knf; ok millertderaadt2004-06-151-39/+22
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Include more machdep headers. (paranoia)art2001-12-051-2/+4
|
* Adapt to new uvm/ includes.art2001-11-061-3/+3
|
* No need to pull in vm/vm_param.h in any of these files.art2001-11-051-3/+2
|
* Convert lseek/{read,write} pairs into pread and pwrite.art2001-05-181-4/+3
| | | | from my todo list, work by Jonathon Fletcher <jonathon.fletcher@pobox.com>.
* import some cleanup for libkvm/kvm.c from netbsd, udpate libkvm so that sparc can use libkvm vs. libkvm.old and update sparc pmap.c and machdep.c to make dumps compatible with the new libkvm's notions.grr1997-06-111-249/+113
|
* Switch alpha from libkvm.old to libkvm with code from NetBSD.niklas1997-02-261-4/+4
| | | | %x -> %lx format fixes from me.
* sync with 0430deraadt1996-05-051-42/+210
|
* initial import of NetBSD treederaadt1995-10-181-0/+249