ia64/xen-unstable

changeset 18988:d77f66f89c04

x86: Poison initmem at end of Xen bootstrap

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Jan 05 11:55:24 2009 +0000 (2009-01-05)
parents 2c5a2e99a1d6
children f6b92526e916
files xen/arch/x86/setup.c
line diff
     1.1 --- a/xen/arch/x86/setup.c	Mon Jan 05 11:52:34 2009 +0000
     1.2 +++ b/xen/arch/x86/setup.c	Mon Jan 05 11:55:24 2009 +0000
     1.3 @@ -386,6 +386,7 @@ void init_done(void)
     1.4      extern char __init_begin[], __init_end[];
     1.5  
     1.6      /* Free (or page-protect) the init areas. */
     1.7 +    memset(__init_begin, 0xcc, __init_end - __init_begin); /* int3 poison */
     1.8  #ifndef MEMORY_GUARD
     1.9      init_xenheap_pages(__pa(__init_begin), __pa(__init_end));
    1.10  #endif