cvs commit: src/sys/conf files.powerpc src/sys/powerpc/include mmuvar.h pmap.h src/sys/powerpc/powerpc machdep.c mmu_if.m pmap_dispatch.c

Peter Grehan grehan at FreeBSD.org
Tue Nov 8 06:48:11 GMT 2005


grehan      2005-11-08 06:48:08 UTC

  FreeBSD src repository

  Modified files:
    sys/conf             files.powerpc 
    sys/powerpc/include  pmap.h 
    sys/powerpc/powerpc  machdep.c 
  Added files:
    sys/powerpc/include  mmuvar.h 
    sys/powerpc/powerpc  mmu_if.m pmap_dispatch.c 
  Log:
  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
  
  Revision  Changes    Path
  1.45      +3 -1      src/sys/conf/files.powerpc
  1.1       +96 -0     src/sys/powerpc/include/mmuvar.h (new)
  1.18      +6 -4      src/sys/powerpc/include/pmap.h
  1.92      +4 -0      src/sys/powerpc/powerpc/machdep.c
  1.1       +758 -0    src/sys/powerpc/powerpc/mmu_if.m (new)
  1.1       +380 -0    src/sys/powerpc/powerpc/pmap_dispatch.c (new)


More information about the cvs-src mailing list