|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86: Poison initmem at end of Xen bootstr
# 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 */
#ifndef MEMORY_GUARD
init_xenheap_pages(__pa(__init_begin), __pa(__init_end));
#endif
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86: Poison initmem at end of Xen bootstrap,
Xen patchbot-unstable <=
|
Previous by Date: |
[Xen-changelog] [xen-unstable] vmx: Print advanced features during boot, Xen patchbot-unstable |
Next by Date: |
[Xen-changelog] [xen-unstable] libxc: Define xc_ffs{8, 16, 32, 64} functions. Use them., Xen patchbot-unstable |
Previous by Thread: |
[Xen-changelog] [xen-unstable] vmx: Print advanced features during boot, Xen patchbot-unstable |
Next by Thread: |
[Xen-changelog] [xen-unstable] libxc: Define xc_ffs{8, 16, 32, 64} functions. Use them., Xen patchbot-unstable |
Indexes: |
[Date]
[Thread]
[Top]
[All Lists] |
|
|
|
|