Date: Fri, 7 Jul 2006 11:33:06 GMT From: Bruce M Simpson <bms@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 100864 for review Message-ID: <200607071133.k67BX66M099954@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100864 Change 100864 by bms@bms_montagne on 2006/07/07 11:32:15 Fix for mips32; kseg2 begins at 0xc0000000 Affected files ... .. //depot/projects/mips2/src/sys/mips/include/tlb.h#2 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/include/tlb.h#2 (text+ko) ==== @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/mips2/src/sys/mips/include/tlb.h#1 $ + * $P4: //depot/projects/mips2/src/sys/mips/include/tlb.h#2 $ */ #ifndef _MACHINE_TLB_H_ @@ -32,7 +32,7 @@ extern pt_entry_t *kptmap; extern vm_size_t kptsize; -#define tlb_pte_index(va) (((va) - (MIPS_XKSEG_START)) >> PAGE_SHIFT) +#define tlb_pte_index(va) (((va) - (MIPS_KSEG2_START)) >> PAGE_SHIFT) #define tlb_pte_find(t,va) (&(t)[tlb_pte_index((va))]) void tlb_bootstrap(vm_size_t, vm_offset_t (*)(vm_size_t));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607071133.k67BX66M099954>