summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/vmparam.h
Commit message (Collapse)AuthorAgeFilesLines
* Increase kernel VA from 256Mb to 512Mb by shifting the segment usedgrehan2004-03-021-1/+1
| | | | | | | | | | | | | for user copyinout down to 12, and keeping segments 13/14 for kernel VA. It would be nice to have more available, but segments lower than this are reserved for either memory or 1:1 mapped device i/o, and seg 15 is OpenFirmware ROM. Also, the effort to keep OpenFirmware available for callbacks limits the use of VA-mapped segments. Fortunately UMA_MD_SMALL_ALLOC takes away a lot of VM pressure. Obtained from: NetBSD
* Cleaned up param.h:grehan2004-02-111-0/+2
| | | | | | | | | | | - culled long-dead #define's - segment register defs moved to sr.h - NPMAPS moved to pmap.h - KERNBASE moved to vmparam.h - removed include of <machine/cpu.h> and fixed src files that relied on this. Modifying segment register code no longer causes gcc rebuilds :-)
* Implement UMA_MD_SMALL_ALLOC, since the BAT registers allow directgrehan2004-01-291-0/+6
| | | | | | | addressing of memory. Makes a substantial improvement for apps that stress the limited amount of KVM on PPC (e.g. untarring the ports tree). uma_machdep.c stolen from amd64/ia64.
* Bring in NetBSD code used in the PowerPC port.benno2001-06-101-0/+124
Reviewed by: obrien, dfr Obtained from: NetBSD
OpenPOWER on IntegriCloud