Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2008 19:31:08 GMT
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 134668 for review
Message-ID:  <200802021931.m12JV8kK057398@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=134668

Change 134668 by cognet@cognet-mips on 2008/02/02 19:30:11

	Revert phys_avail[1] to what it was.
	make sure phys_avail[2] and phys_avail[3] are 0.

Affected files ...

.. //depot/projects/mips2-jnpr/src/sys/mips/mips32/octeon32/octeon_machdep.c#9 edit

Differences ...

==== //depot/projects/mips2-jnpr/src/sys/mips/mips32/octeon32/octeon_machdep.c#9 (text+ko) ====

@@ -1145,7 +1145,8 @@
         realmem_bytes = (((octeon_board_real())?256:96) << 20);	
 	/* phys_avail regions are in bytes */
 	phys_avail[0] = (MIPS_KSEG0_TO_PHYS((vm_offset_t)&end) + PAGE_SIZE) & ~(PAGE_SIZE - 1);
-	phys_avail[1] = phys_avail[0] + realmem_bytes - 64 - 1;
+	phys_avail[1] = realmem_bytes - 64 - 1;
+	phys_avail[2] = phys_avail[3] = 0;
 
 #ifdef MEM_EXTEND
 



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