ia64/xen-unstable

changeset 10181:f4f4dd936103

Fix x86/64 build after previous changeset.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Thu May 25 16:00:09 2006 +0100 (2006-05-25)
parents 4c058926e92b
children da7fe04d8e80
files xen/arch/x86/x86_emulate.c
line diff
     1.1 --- a/xen/arch/x86/x86_emulate.c	Thu May 25 15:55:07 2006 +0100
     1.2 +++ b/xen/arch/x86/x86_emulate.c	Thu May 25 16:00:09 2006 +0100
     1.3 @@ -1103,7 +1103,7 @@ x86_emulate_memop(
     1.4  #elif defined(__x86_64__)
     1.5      {
     1.6          unsigned long old, new;
     1.7 -        if ( (rc = ops->read_emulated(cr2, &old, 8)) != 0 )
     1.8 +        if ( (rc = ops->read_emulated(cr2, &old, 8, ctxt)) != 0 )
     1.9              goto done;
    1.10          if ( ((uint32_t)(old>>0) != (uint32_t)_regs.eax) ||
    1.11               ((uint32_t)(old>>32) != (uint32_t)_regs.edx) )
    1.12 @@ -1115,7 +1115,7 @@ x86_emulate_memop(
    1.13          else
    1.14          {
    1.15              new = (_regs.ecx<<32)|(uint32_t)_regs.ebx;
    1.16 -            if ( (rc = ops->cmpxchg_emulated(cr2, old, new, 8)) != 0 )
    1.17 +            if ( (rc = ops->cmpxchg_emulated(cr2, old, new, 8, ctxt)) != 0 )
    1.18                  goto done;
    1.19              _regs.eflags |= EFLG_ZF;
    1.20          }