PERFORCE change 134668 for review

Olivier Houchard cognet at FreeBSD.org
Sat Feb 2 11:31:10 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=134668

Change 134668 by cognet at 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
 


More information about the p4-projects mailing list