Don't truncate physical addresses to 32-bits.

This commit is contained in:
Juli Mallett 2012-03-10 06:43:41 +00:00
parent 13a7423bf5
commit 4b6b28c350
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232768

View File

@ -383,11 +383,11 @@ nexus_activate_resource(device_t bus, device_t child, int type, int rid,
struct resource *r)
{
void *vaddr;
u_int32_t paddr, psize;
vm_paddr_t paddr;
vm_size_t psize;
/*
* If this is a memory resource, track the direct mapping
* in the uncached MIPS KSEG1 segment.
* If this is a memory resource, use pmap_mapdev to map it.
*/
if (type == SYS_RES_MEMORY) {
paddr = rman_get_start(r);