Date: Tue, 4 Nov 2008 20:10:24 GMT From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 152487 for review Message-ID: <200811042010.mA4KAOWq050984@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=152487 Change 152487 by gonzo@gonzo_jeeves on 2008/11/04 20:10:08 - Add some debugging printf's Affected files ... .. //depot/projects/mips2/src/sys/mips/mips/pmap.c#36 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/mips/pmap.c#36 (text+ko) ==== @@ -107,6 +107,8 @@ #define PMAP_DIAGNOSTIC #endif +#undef PMAP_DEBUG + #ifndef PMAP_SHPGPERPROC #define PMAP_SHPGPERPROC 200 #endif @@ -694,6 +696,9 @@ register pt_entry_t *pte; pt_entry_t npte, opte; +#ifdef PMAP_DEBUG + printf("pmap_kenter: va: 0x%08x -> pa: 0x%08x\n", va, pa); +#endif npte = mips_paddr_to_tlbpfn(pa) | PTE_RW | PTE_V | PTE_G | PTE_W; if (is_cacheable_mem(pa)) @@ -1801,6 +1806,9 @@ validate: rw = init_pte_prot(va, m, prot); +#ifdef PMAP_DEBUG + printf("pmap_enter: va: 0x%08x -> pa: 0x%08x\n", va, pa); +#endif /* * Now validate mapping with desired protection/wiring. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811042010.mA4KAOWq050984>