summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/pmap.h
Commit message (Collapse)AuthorAgeFilesLines
* Cleaned up param.h:grehan2004-02-111-0/+4
| | | | | | | | | | | - 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 :-)
* Move pmap_resident_count() from the MD pmap.h to the MI pmap.h.bms2003-10-061-1/+0
| | | | | | | | Add a definition of pmap_wired_count(). Add a definition of vmspace_wired_count(). Reviewed by: truckman Discussed with: peter
* Made the prototypes for pmap_kenter and pmap_kremove MD. These functionsjake2003-03-161-0/+2
| | | | | | | | | are machine dependent because they are not required to update the tlb when mappings are added or removed, and doing so is machine dependent. In addition, an implementation may require that pages mapped with pmap_kenter have a backing vm_page_t, which is not necessarily true of all physical pages, and so may choose to pass the vm_page_t to pmap_kenter instead of the physical address in order to make this requirement clear.
* o Introduce pmap_page_is_mapped(). Its purpose is to obsoletealc2002-08-071-0/+1
| | | | the PG_MAPPED flag.
* Implement vtophys()benno2002-06-291-0/+2
|
* Add pmap_mapdev and pmap_unmapdev.benno2002-06-291-0/+2
|
* Tidy up some loose ends.peter2002-04-291-1/+0
| | | | | | | | | | | | i386/ia64/alpha - catch up to sparc64/ppc: - replace pmap_kernel() with refs to kernel_pmap - change kernel_pmap pointer to (&kernel_pmap_store) (this is a speedup since ld can set these at compile/link time) all platforms (as suggested by jake): - gc unused pmap_reference - gc unused pmap_destroy - gc unused struct pmap.pm_count (we never used pm_count - we track address space sharing at the vmspace)
* - Modify pmap_activate so it only marks the pmap as active.benno2002-02-281-0/+1
| | | | - Add a pmap_deactivate function.
* Complete rework of the PowerPC pmap and a number of other bits in the earlybenno2002-02-141-84/+34
| | | | | | | | | | | | | | boot sequence. The new pmap.c is based on NetBSD's newer pmap.c (for the mpc6xx processors) which is 70% faster than the older code that the original pmap.c was based on. It has also been based on the framework established by jake's initial sparc64 pmap.c. There is no change to how far the kernel gets (it makes it to the mountroot prompt in psim) but the new pmap code is a lot cleaner. Obtained from: NetBSD (pmap code)
* Implement pmap_mapdev.benno2001-10-141-0/+1
|
* Update PowerPC MD code to compile and do initial bootstrap based onmp2001-09-201-1/+2
| | | | | | recent changes (KSE and VM requiring physmem to be setup). Reviewed by: benno, jhb, julian
* Bring in NetBSD code used in the PowerPC port.benno2001-06-101-0/+134
Reviewed by: obrien, dfr Obtained from: NetBSD
OpenPOWER on IntegriCloud