|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] make shadow code compile ok on FC4 which is using gc
We need this patch to make shadow code compile ok on FC4 which is using
gcc4.
-Xin
Signed-off-by: Xin Li <xin.b.li@xxxxxxxxx>
diff -r a29b4174d39c xen/arch/x86/shadow.c
--- a/xen/arch/x86/shadow.c Mon Jul 11 10:23:19 2005
+++ b/xen/arch/x86/shadow.c Mon Jul 11 20:19:03 2005
@@ -2623,7 +2623,7 @@
struct vcpu *v = current;
struct domain *d = v->domain;
pgentry_64_t sle;
- pgentry_64_t sle_up;
+ pgentry_64_t sle_up = {0};
l1_pgentry_t old_spte;
l1_pgentry_t sl1e = *(l1_pgentry_t *)sl1e_p;
int i;
diff -r a29b4174d39c xen/include/asm-x86/shadow_64.h
--- a/xen/include/asm-x86/shadow_64.h Mon Jul 11 10:23:19 2005
+++ b/xen/include/asm-x86/shadow_64.h Mon Jul 11 20:19:03 2005
@@ -485,8 +485,8 @@
static inline unsigned long gva_to_gpa(unsigned long gva)
{
struct vcpu *v = current;
- pgentry_64_t gl1e;
- pgentry_64_t gl2e;
+ pgentry_64_t gl1e = {0};
+ pgentry_64_t gl2e = {0};
unsigned long gpa;
if (guest_page_fault(v, gva, 0, &gl2e, &gl1e))
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] make shadow code compile ok on FC4 which is using gcc4,
Li, Xin B <=
|
|
|
|
|