Date: Wed, 18 Mar 2009 23:25:12 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@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: <200903182325.n2INPPWr039329@repoman.freebsd.org>
index | next in thread | raw e-mail
marius 2009-03-18 23:25:12 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/boot/sparc64/loader locore.S main.c
sys/sparc64/include tte.h
sys/sun4v/include tte.h
Log:
SVN rev 190000 on 2009-03-18 23:25:12Z by marius
MFC: r181398
- 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.7.10.1 +11 -82 src/sys/boot/sparc64/loader/locore.S
1.32.2.3 +97 -39 src/sys/boot/sparc64/loader/main.c
1.16.22.1 +5 -1 src/sys/sparc64/include/tte.h
1.2.2.1 +4 -0 src/sys/sun4v/include/tte.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903182325.n2INPPWr039329>
