This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [xen-unstable] x86: Poison initmem at end of Xen bootstr

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86: Poison initmem at end of Xen bootstrap
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 08 Jan 2009 06:57:38 -0800
Delivery-date: Thu, 08 Jan 2009 07:01:58 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1231156524 0
# Node ID d77f66f89c0413eb468d9716913cc18515989531
# Parent  2c5a2e99a1d69d635843955310488fbd5e1bcdd2
x86: Poison initmem at end of Xen bootstrap

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
 xen/arch/x86/setup.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 2c5a2e99a1d6 -r d77f66f89c04 xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c      Mon Jan 05 11:52:34 2009 +0000
+++ b/xen/arch/x86/setup.c      Mon Jan 05 11:55:24 2009 +0000
@@ -386,6 +386,7 @@ void init_done(void)
     extern char __init_begin[], __init_end[];
     /* Free (or page-protect) the init areas. */
+    memset(__init_begin, 0xcc, __init_end - __init_begin); /* int3 poison */
     init_xenheap_pages(__pa(__init_begin), __pa(__init_end));

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] x86: Poison initmem at end of Xen bootstrap, Xen patchbot-unstable <=