Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2014 10:56:51 +0000 (UTC)
From:      "Cherry G. Mathew" <cherry@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r270658 - projects/amd64_xen_pv/sys/amd64/xen
Message-ID:  <201408261056.s7QAupEk017208@svn.freebsd.org>

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



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