freebsd-dev/sys/mips
Jayachandran C. 0dd873372a 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
2011-01-13 06:48:43 +00:00
..
adm5120 - dump_avail layout should be sequence of [start, end) 2010-12-09 07:47:40 +00:00
alchemy - dump_avail layout should be sequence of [start, end) 2010-12-09 07:47:40 +00:00
atheros Add missing ar91xx definition for the WMAC reset control. 2011-01-09 06:17:46 +00:00
cavium Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
compile
conf o) Expand the CIU driver to be aware of newly-allocated parts of the IRQ range. 2011-01-10 03:48:41 +00:00
idt - dump_avail layout should be sequence of [start, end) 2010-12-09 07:47:40 +00:00
include Cleanup physical address and PTE types on MIPS. 2011-01-13 06:48:43 +00:00
malta - dump_avail layout should be sequence of [start, end) 2010-12-09 07:47:40 +00:00
mips Cleanup physical address and PTE types on MIPS. 2011-01-13 06:48:43 +00:00
rmi The message ring interrupt needs to be enabled for all cpus, not just 2011-01-12 13:16:35 +00:00
sentry5 - dump_avail layout should be sequence of [start, end) 2010-12-09 07:47:40 +00:00
sibyte - dump_avail layout should be sequence of [start, end) 2010-12-09 07:47:40 +00:00