[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [IA64] fix a mmio bug
# HG changeset patch # User awilliam@xxxxxxxxxxx # Node ID 042b695ffc691f63179684129854bc2e9612b8f7 # Parent b5c2dba60b6907ffdec48b78b69528f4193f1513 [IA64] fix a mmio bug Fix a bug in mmio emulation Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx> diff -r b5c2dba60b69 -r 042b695ffc69 xen/arch/ia64/vmx/mmio.c --- a/xen/arch/ia64/vmx/mmio.c Fri Apr 14 14:21:54 2006 -0600 +++ b/xen/arch/ia64/vmx/mmio.c Fri Apr 14 14:24:09 2006 -0600 @@ -489,11 +489,11 @@ void emulate_io_inst(VCPU *vcpu, u64 pad mmio_access(vcpu, padr, &data, size, ma, dir); }else{ mmio_access(vcpu, padr, &data, size, ma, dir); - if(size==0) + if(size==1) data = (value & 0xffffffffffffff00U) | (data & 0xffU); - else if(size==1) + else if(size==2) data = (value & 0xffffffffffff0000U) | (data & 0xffffU); - else if(size==2) + else if(size==4) data = (value & 0xffffffff00000000U) | (data & 0xffffffffU); if(inst_type==SL_INTEGER){ //gp _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |