[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] Initialize guest register to valid value



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1205171545 21600
# Node ID 7d300a1ea762154fa6cbe75040727099806f1893
# Parent  b45f3a99a4bb27a9497bdcb11da89883505d2c54
[IA64] Initialize guest register to valid value

Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
---
 tools/libxc/ia64/xc_ia64_hvm_build.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r b45f3a99a4bb -r 7d300a1ea762 tools/libxc/ia64/xc_ia64_hvm_build.c
--- a/tools/libxc/ia64/xc_ia64_hvm_build.c      Mon Mar 10 11:50:59 2008 -0600
+++ b/tools/libxc/ia64/xc_ia64_hvm_build.c      Mon Mar 10 11:52:25 2008 -0600
@@ -1082,7 +1082,7 @@ xc_hvm_build(int xc_handle, uint32_t dom
     memset(ctxt, 0, sizeof(*ctxt));
     ctxt->regs.ip = 0x80000000ffffffb0UL;
     ctxt->regs.ar.fpsr = xc_ia64_fpsr_default();
-    ctxt->regs.cr.isr = 1UL << 63;
+    ctxt->regs.cr.itir = 14 << 2;
     ctxt->regs.psr = IA64_PSR_AC | IA64_PSR_BN;
     ctxt->regs.cr.dcr = 0;
     ctxt->regs.cr.pta = 15 << 2;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.