Date: Sat, 14 Oct 2006 14:35:59 GMT From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 107890 for review Message-ID: <200610141435.k9EEZx1P024297@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=107890 Change 107890 by gonzo@gonzo_hq on 2006/10/14 14:35:33 o Rename tlb access methods to point out that this is used only for kernel address space. Affected files ... .. //depot/projects/mips2/src/sys/mips/include/tlb.h#6 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/include/tlb.h#6 (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#5 $ + * $P4: //depot/projects/mips2/src/sys/mips/include/tlb.h#6 $ */ #ifndef _MACHINE_TLB_H_ @@ -32,8 +32,8 @@ extern pt_entry_t *kptmap; extern vm_size_t kptsize; -#define tlb_pte_index(va) (((va) - (VM_MIN_KERNEL_ADDRESS)) >> PAGE_SHIFT) -#define tlb_pte_find(t,va) (&(t)[tlb_pte_index((va))]) +#define tlb_kern_pte_index(va) (((va) - (VM_MIN_KERNEL_ADDRESS)) >> PAGE_SHIFT) +#define tlb_kern_pte_find(t,va) (&(t)[tlb_kern_pte_index((va))]) void tlb_bootstrap(vm_size_t, vm_offset_t (*)(vm_size_t)); void tlb_enter(pmap_t, vm_offset_t, vm_paddr_t, pt_entry_t);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610141435.k9EEZx1P024297>