projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f326f4
)
x86: Poison initmem at end of Xen bootstrap
author
Keir Fraser
<keir.fraser@citrix.com>
Mon, 5 Jan 2009 11:55:24 +0000
(11:55 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Mon, 5 Jan 2009 11:55:24 +0000
(11:55 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/setup.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/setup.c
b/xen/arch/x86/setup.c
index c8639d35f3c5316292f3a7c916da7a4d609b92a2..051b542ce3113721dc0abbd0fa4ea10286026de7 100644
(file)
--- a/
xen/arch/x86/setup.c
+++ b/
xen/arch/x86/setup.c
@@
-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