matt
b2c694f892
Multiprocessing fixes.
2011-06-29 05:53:44 +00:00
matt
c0b4eeb495
Redo how the pte_*wire* inlines work. Now pmap.c makes no assuming about
...
what type pt_entry_t. It can now be a scalar or a union/struct.
2011-06-23 20:46:15 +00:00
matt
6f0eba90a5
Make sure to include "opt_multiprocessor.h".
...
Add missing ). (spotted by uebayashi@)
2011-06-23 08:11:56 +00:00
matt
610c6a55ae
Add pmap_tlb_asid_check and use it verify asid handling.
...
The shared pmap is now in a state that mips could switch to it.
2011-06-23 07:58:19 +00:00
matt
c79d75041e
Use new names for the pmap_syncicache routines
2011-06-23 07:45:24 +00:00
matt
a523fdee41
Separate code out from pmap_tlb.c which handles the synchronization of the
...
icache across CPUs.
2011-06-23 07:43:19 +00:00
matt
ffa4fdffea
Add pmap_md_tlb_info_attach prototype.
2011-06-23 05:50:24 +00:00
matt
79492abbce
Cleanup comments in pmap_tlb.c. Attach tlb evcnts.
...
eliminate ti_mask
Cleanup some of the MP code. Conditionalize shootdown code.
2011-06-23 05:42:27 +00:00
matt
055140992d
Move some MD parts back to the booke pmap.c. Cleanup initialization a bit.
2011-06-23 02:33:44 +00:00
matt
8b35e8e3c4
Switch to using the common <common/pmap/tlb/tlb.h>
2011-06-23 01:27:20 +00:00
matt
0ea10ea329
Add #define __PMAP_PRIVATE
2011-06-21 06:43:38 +00:00
matt
9e2ba13093
Add a common struct containing tlb ops needed by the tlb pmap.c
2011-06-21 04:55:01 +00:00
matt
fc311b7702
PowerPC now exports a common view of cpu.h, vmparam.h and pmap.h
...
when building a MODULAR kernel or compiling _MODULE.
It should be noted that MODULAR or _MODULE export a view of the kernel
as being MULTIPROCESSOR (even if isn't).
The shared pmap TLB uses mdpg in places where it used mdpg to avoid
deadly embrance inclusion problems.
2011-06-20 20:24:28 +00:00
matt
34ff1d7e1a
Make the vm_page_md definition common for all users of the shared tlb pmap.
2011-06-20 19:31:58 +00:00
matt
0e3e55183b
For debugging, use UVMHIST to create kernel histories pmaphist and
...
pmapexechist. This replaces the old pmapdebug/PDB stuff.
In ddb, you can just use kernhist_dump(pmaphist) to view the history
or vmstat -H from userland.
2011-06-12 05:32:38 +00:00
matt
01fd92550a
Remove <machine/atomic.h>; use <sys/atomic.h> instead.
...
Add <powerpc/cpuset.h> (for mpc85xx pmap).
Add some initial MP code for mpc85xx
Rework ipi code to be common across all ppcs
Change PPC to keep curlwp in %r13 while in the kernel.
Move astpending from cpu_info to mdlwp
Improve cpu_need_resched to be more MP friendly.
2011-06-05 16:52:22 +00:00
matt
443ca4d0d2
Use _PMAP_PRIVATE to control the inclusion of <powerpc/booke/cpuvar.h>.
...
This prevents most of the MI files from depending on it.
2011-02-17 13:55:44 +00:00
matt
f82770bafc
Remove forced DEBUG.
2011-01-18 01:20:06 +00:00
matt
6b63943ce9
Add common TLB PMAP framework. Used my mpc85xx (and soon MIPS).
2011-01-18 01:11:50 +00:00
thorpej
5e0605242c
Add some common bus_dmamem routines to be shared by multiple platforms.
2009-08-21 03:33:17 +00:00