Date: Tue, 30 Mar 2010 20:05:20 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/boot/sparc64/loader main.c Message-ID: <201003302005.o2UK5Utl010337@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2010-03-30 20:05:20 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/boot/sparc64/loader main.c
Log:
SVN rev 205922 on 2010-03-30 20:05:20Z by marius
MFC: r203830, r203831
Use the SUNW,{d,i}tlb-load methods for entering locked TLB entries like
OpenBSD and OpenSolaris do instead of fiddling with the MMUs ourselves.
Unlike direct access the firmware methods don't automatically use the
next free (?) TLB slot, instead the slot to be used has to be specified.
We allocate the TLB slots for the kernel top-down as OpenSolaris suggests
that the firmware will always allocate the ones for its own use bottom-up.
Besides being simpler, according to OpenBSD using the firmware methods is
required to allow booting on Sun Fire E10K with multi-systemboard domains.
Revision Changes Path
1.42.2.5 +26 -48 src/sys/boot/sparc64/loader/main.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003302005.o2UK5Utl010337>
