Date: Sat, 13 Feb 2010 14:40:42 +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: <201002131440.o1DEen6o036871@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2010-02-13 14:40:42 UTC FreeBSD src repository Modified files: sys/boot/sparc64/loader main.c Log: SVN rev 203830 on 2010-02-13 14:40:42Z by marius 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.46 +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?201002131440.o1DEen6o036871>