freebsd-nq/sys/powerpc/include
Peter Grehan f9c702db84 Insert a layer of indirection to the pmap code, using a kobj for
the interface. This allows run-time selection of MMU code, based
on CPU-type detection, or tunable-overrides when testing new code.

Pre-requisite for G5 support.

conf/files.powerpc
  - remove pmap.c
  - add mmu_if.h, mmu_oea.c, pmap_dispatch.c

powerpc/include/mmuvar.h
  - definitions for MMU implementations

powerpc/include/pmap.h
  - remove pmap_pte_spill declaration
  - add pmap_mmu_install declaration
  - size the phys_avail array
  - pmap_bootstrapped is now global-scope

powerpc/powerpc/machdep.c
  - call kobj_machdep_init early in the boot sequence to allow
    kobj usage prior to SI_SUB_LOCK
  - install the OEA pmap code. This will be moved to CPU-specific
    init code in the future.

powerpc/powerpc/mmu_if.m
  - Kobj MMU interface definitions

powerpc/powerpc/pmap_dispatch.c
  - central dispatch for pmap calls
  - contains the global mmu kobj and the routine to locate the
   the mmu implementation and init the kobj
2005-11-08 06:48:08 +00:00
..
_bus.h Break out the definition of bus_space_{tag,handle}_t and a few other types 2005-04-18 21:45:34 +00:00
_inttypes.h
_limits.h Move MINSIGSTKSZ from <machine/signal.h> to <machine/_limits.h> and rename 2005-08-20 16:44:41 +00:00
_stdint.h <stdint.h> should define WINT_M{AX,IN} independent from whether WCHAR_MIN is 2004-05-18 16:04:57 +00:00
_types.h netchild's mega-patch to isolate compiler dependencies into a central 2005-03-02 21:33:29 +00:00
asm.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
atomic.h Add a new atomic_fetchadd() primitive that atomically adds a value to a 2005-09-27 17:39:11 +00:00
bat.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
bootinfo.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
bus_dma.h Refactor the bus_dma header files so that the interface is described in 2005-03-14 16:46:28 +00:00
bus.h Break out the definition of bus_space_{tag,handle}_t and a few other types 2005-04-18 21:45:34 +00:00
clock.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
cpu.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
cpufunc.h Always isync after a mtmsr. While perhaps not strictly necessary for PSL_EE 2004-08-07 00:20:00 +00:00
db_machdep.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
elf.h Implement TLS relocations for powerpc. 2004-11-02 09:47:01 +00:00
endian.h netchild's mega-patch to isolate compiler dependencies into a central 2005-03-02 21:33:29 +00:00
exec.h Use a common multi-inclusion protection, and add such a 2005-02-19 21:16:48 +00:00
float.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
floatingpoint.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
fpu.h
frame.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
hid.h HID0 updates: 2005-02-04 01:14:38 +00:00
ieee.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
ieeefp.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
in_cksum.h netchild's mega-patch to isolate compiler dependencies into a central 2005-03-02 21:33:29 +00:00
interruptvar.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
intr_machdep.h Reorganize the interrupt handling code a bit to make a few things cleaner 2005-10-25 19:48:48 +00:00
intr.h
ipl.h
kdb.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
limits.h netchild's mega-patch to isolate compiler dependencies into a central 2005-03-02 21:33:29 +00:00
md_var.h
memdev.h Add /dev/mem and /dev/kmem to powerpc. 2004-08-16 13:07:40 +00:00
metadata.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
mmuvar.h Insert a layer of indirection to the pmap code, using a kobj for 2005-11-08 06:48:08 +00:00
mutex.h
nexusvar.h
ofw_machdep.h Add /dev/mem and /dev/kmem to powerpc. 2004-08-16 13:07:40 +00:00
openpicreg.h
openpicvar.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
param.h Remove UAREA_PAGES. 2004-11-20 02:29:50 +00:00
pcb.h Add prototype for KDB's makectx routine 2004-07-12 22:17:20 +00:00
pcpu.h Gratuitous namechange to avoid low-level association with ddb. 2004-07-12 22:18:02 +00:00
pio.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
pmap.h Insert a layer of indirection to the pmap code, using a kobj for 2005-11-08 06:48:08 +00:00
pmc_mdep.h MFP4: 2005-06-09 19:45:09 +00:00
powerpc.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
proc.h Divorce critical sections from spinlocks. Critical sections as denoted by 2005-04-04 21:53:56 +00:00
profile.h Unbreak the PowerPC GENERIC build. 2005-06-11 10:59:02 +00:00
psl.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
pte.h
ptrace.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
reg.h Add comment explaining struct reg and struct fpreg must match the trapframe. 2004-07-29 13:39:27 +00:00
reloc.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
resource.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
runq.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
sc_machdep.h
setjmp.h
sf_buf.h MFamd64 2004-04-18 08:10:04 +00:00
sigframe.h
signal.h Move MINSIGSTKSZ from <machine/signal.h> to <machine/_limits.h> and rename 2005-08-20 16:44:41 +00:00
smp.h
spr.h - add definitions for MPC7447A/7448 (i.e. miniMac) 2005-02-04 01:17:04 +00:00
sr.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
stdarg.h netchild's mega-patch to isolate compiler dependencies into a central 2005-03-02 21:33:29 +00:00
trap.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
ucontext.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
varargs.h netchild's mega-patch to isolate compiler dependencies into a central 2005-03-02 21:33:29 +00:00
vmparam.h