svn commit: r270658 - projects/amd64_xen_pv/sys/amd64/xen

Cherry G. Mathew cherry at FreeBSD.org
Tue Aug 26 10:56:51 UTC 2014


Author: cherry
Date: Tue Aug 26 10:56:51 2014
New Revision: 270658
URL: http://svnweb.freebsd.org/changeset/base/270658

Log:
  dump_avail[] offset correction. This was incorrectly offset by 1 in
  the previous commit.
  
  Approved by:	gibbs(implicit)

Modified:
  projects/amd64_xen_pv/sys/amd64/xen/machdep.c

Modified: projects/amd64_xen_pv/sys/amd64/xen/machdep.c
==============================================================================
--- projects/amd64_xen_pv/sys/amd64/xen/machdep.c	Tue Aug 26 10:55:08 2014	(r270657)
+++ projects/amd64_xen_pv/sys/amd64/xen/machdep.c	Tue Aug 26 10:56:51 2014	(r270658)
@@ -599,8 +599,8 @@ initxen(struct start_info *si)
 
 	/* We dump all of our given RAM */
 	/* XXX: revise this for dom0 */
-	dump_avail[1] = 0;
-	dump_avail[2] = ptoa(physmem);
+	dump_avail[0] = 0;
+	dump_avail[1] = ptoa(physmem);
 
 	PCPU_SET(prvspace, pc);
 	PCPU_SET(curthread, &thread0);


More information about the svn-src-projects mailing list