From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aron Griffis Subject: Re: [HVM][IPF][PATCH] A small fix about guest 3G memory Date: Wed, 15 Nov 2006 16:04:35 -0500 Message-ID: <20061115210435.GD31802@fc.hp.com> References: <51CFAB8CB6883745AE7B93B3E084EBE207DD31@pdsmsx412.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <51CFAB8CB6883745AE7B93B3E084EBE207DD31@pdsmsx412.ccr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Xu, Anthony" Cc: xen-devel@lists.xensource.com, xen-ia64-devel List-Id: xen-devel@lists.xenproject.org Nice catch. Xu, Anthony wrote: [Tue Nov 14 2006, 03:30:59AM EST] > - for (i = 0 ; i < MEM_G >> PAGE_SHIFT; i++) > - page_array[MMIO_START >> PAGE_SHIFT + i] = > - page_array[IO_PAGE_START >> PAGE_SHIFT + 1]; > + for (i = 0 ; i < (MEM_G >> PAGE_SHIFT); i++) > + page_array[(MMIO_START >> PAGE_SHIFT) + i] = > + page_array[(IO_PAGE_START >> PAGE_SHIFT) + 1];