Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2012 06:43:41 +0000 (UTC)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232768 - head/sys/mips/mips
Message-ID:  <201203100643.q2A6hfEp043938@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203100643.q2A6hfEp043938>