ia64/xen-unstable

changeset 17204:7d300a1ea762

[IA64] Initialize guest register to valid value

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
author Alex Williamson <alex.williamson@hp.com>
date Mon Mar 10 11:52:25 2008 -0600 (2008-03-10)
parents b45f3a99a4bb
children 716a637722e4
files tools/libxc/ia64/xc_ia64_hvm_build.c
line diff
     1.1 --- a/tools/libxc/ia64/xc_ia64_hvm_build.c	Mon Mar 10 11:50:59 2008 -0600
     1.2 +++ b/tools/libxc/ia64/xc_ia64_hvm_build.c	Mon Mar 10 11:52:25 2008 -0600
     1.3 @@ -1082,7 +1082,7 @@ xc_hvm_build(int xc_handle, uint32_t dom
     1.4      memset(ctxt, 0, sizeof(*ctxt));
     1.5      ctxt->regs.ip = 0x80000000ffffffb0UL;
     1.6      ctxt->regs.ar.fpsr = xc_ia64_fpsr_default();
     1.7 -    ctxt->regs.cr.isr = 1UL << 63;
     1.8 +    ctxt->regs.cr.itir = 14 << 2;
     1.9      ctxt->regs.psr = IA64_PSR_AC | IA64_PSR_BN;
    1.10      ctxt->regs.cr.dcr = 0;
    1.11      ctxt->regs.cr.pta = 15 << 2;