Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2008 22:46:25 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/boot/sparc64/loader locore.S main.c src/sys/sparc64/include tte.h src/sys/sun4v/include tte.h
Message-ID:  <200808072247.m77MlGGC033167@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808072247.m77MlGGC033167>