svn commit: r232768 - head/sys/mips/mips
Juli Mallett
jmallett at FreeBSD.org
Sat Mar 10 06:43:42 UTC 2012
Author: jmallett
Date: Sat Mar 10 06:43:41 2012
New Revision: 232768
URL: http://svn.freebsd.org/changeset/base/232768
Log:
Don't truncate physical addresses to 32-bits.
Modified:
head/sys/mips/mips/nexus.c
Modified: head/sys/mips/mips/nexus.c
==============================================================================
--- head/sys/mips/mips/nexus.c Sat Mar 10 06:31:28 2012 (r232767)
+++ head/sys/mips/mips/nexus.c Sat Mar 10 06:43:41 2012 (r232768)
@@ -383,11 +383,11 @@ nexus_activate_resource(device_t bus, de
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);
More information about the svn-src-all
mailing list