From owner-cvs-src-old@FreeBSD.ORG Thu Jan 13 06:48:51 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13D471065694 for ; Thu, 13 Jan 2011 06:48:51 +0000 (UTC) (envelope-from jchandra@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 010238FC08 for ; Thu, 13 Jan 2011 06:48:51 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p0D6moCP030902 for ; Thu, 13 Jan 2011 06:48:50 GMT (envelope-from jchandra@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p0D6moLP030901 for cvs-src-old@freebsd.org; Thu, 13 Jan 2011 06:48:50 GMT (envelope-from jchandra@repoman.freebsd.org) Message-Id: <201101130648.p0D6moLP030901@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jchandra@repoman.freebsd.org using -f From: "Jayachandran C." Date: Thu, 13 Jan 2011 06:48:43 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/mips/include md_var.h pmap.h src/sys/mips/mips machdep.c pmap.c trap.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2011 06:48:51 -0000 jchandra 2011-01-13 06:48:43 UTC FreeBSD src repository Modified files: sys/mips/include md_var.h pmap.h sys/mips/mips machdep.c pmap.c trap.c Log: SVN rev 217345 on 2011-01-13 06:48:43Z by jchandra Cleanup physical address and PTE types on MIPS. 1. Use vm_paddr_t for physical addresses. There are a few places in the MIPS platform code where vm_offset_t is used for physical addresses, change these to use vm_paddr_t: - phys_avail[], physmem_desc[] arrays - pmap_mapdev(), page_is_managed(), is_cacheable_mem() pmap_map() args - local variables of various pmap functions 2. Change init_pte_prot() return from int to pt_entry_t, as this can be 64 bit when using 64 bit TLB entries. 3. Update printing of pt_entry_t and of vm_paddr_t to use 'j' format with uintmax_t. This will be useful later if we plan to use 64bit phsical addr on 32 bit n32 compilation. Reviewed by: imp Revision Changes Path 1.11 +1 -1 src/sys/mips/include/md_var.h 1.24 +4 -4 src/sys/mips/include/pmap.h 1.39 +4 -4 src/sys/mips/mips/machdep.c 1.88 +22 -28 src/sys/mips/mips/pmap.c 1.23 +10 -10 src/sys/mips/mips/trap.c