From: Ian Campbell Subject: Re: [PATCH] x86/setup: don't relocate the VGA hole Date: Thu, 7 Feb 2013 21:20:53 +0100 Message-ID: <1360268453.22622.30.camel@hastur.hellion.org.uk> References: <7feb83e3f79a3094e300.1360259377@whitby.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <7feb83e3f79a3094e300.1360259377@whitby.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Tim Deegan Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org > @@ -840,10 +839,8 @@ void __init __start_xen(unsigned long mb > * data until after we have switched to the relocated pagetables! > */ > barrier(); > - dst = move_memory(e, 0, (unsigned long)&_end - XEN_VIRT_START, 1); > - > - /* Poison low 1MB to detect stray pointers to physical 0-1MB. */ > - memset(dst, 0x55, 1U << 20); Is this poisoning not still desirable? > + move_memory(e + (1u << 20), (1u << 20), > + ((unsigned long)&_end - XEN_VIRT_START) - (1u << 20), 1); >