Date: Thu, 13 Jan 2011 06:48:43 +0000 (UTC) From: "Jayachandran C." <jchandra@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/mips/include md_var.h pmap.h src/sys/mips/mips machdep.c pmap.c trap.c Message-ID: <201101130648.p0D6moLP030901@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101130648.p0D6moLP030901>
