cvs commit: src/sys/boot/sparc64/loader locore.S main.c src/sys/sparc64/include tte.h src/sys/sun4v/include tte.h

Marius Strobl marius at FreeBSD.org
Thu Aug 7 22:47:17 UTC 2008


marius      2008-08-07 22:46:25 UTC

  FreeBSD src repository

  Modified files:
    sys/boot/sparc64/loader locore.S main.c 
    sys/sparc64/include  tte.h 
    sys/sun4v/include    tte.h 
  Log:
  SVN rev 181398 on 2008-08-07 22:46:25Z by marius
  
  - Reimplement {d,i}tlb_enter() and {d,i}tlb_va_to_pa() in C. There's
    no particular reason for them to be implemented in assembler and
    having them in C allows easier extension as well as using more C
    macros and {d,i}tlb_slot_max rather than hard-coding magic (and
    actually spitfire-only) values.
  - Fix the compilation of pmap_print_tte().
  - Change pmap_print_tlb() to use ldxa() rather than re-rolling it
    inline as well as TLB_DAR_SLOT and {d,i}tlb_slot_max rather than
    hardcoding magic (and actually spitfire-only) values.
  - While at it, suffix the above mentioned functions with "_sun4u" to
    underline they're architecture-specific.
  - Use __FBSDID and macros instead of magic values in locore.S.
  - Remove unused includes and smp_stack in locore.S.
  
  Revision  Changes    Path
  1.8       +11 -82    src/sys/boot/sparc64/loader/locore.S
  1.33      +97 -39    src/sys/boot/sparc64/loader/main.c
  1.17      +5 -1      src/sys/sparc64/include/tte.h
  1.3       +4 -0      src/sys/sun4v/include/tte.h


More information about the cvs-src mailing list