[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Fix x86/64 Xen build.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1201777514 0 # Node ID 938446025b5b8fd8719f9796fd556a0e811bdca6 # Parent c4a06902febfb19e6ee34496144ee04e353e5dae Fix x86/64 Xen build. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- xen/arch/x86/hvm/vmx/realmode.c | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff -r c4a06902febf -r 938446025b5b xen/arch/x86/hvm/vmx/realmode.c --- a/xen/arch/x86/hvm/vmx/realmode.c Thu Jan 31 09:43:05 2008 +0000 +++ b/xen/arch/x86/hvm/vmx/realmode.c Thu Jan 31 11:05:14 2008 +0000 @@ -416,7 +416,9 @@ realmode_read_msr( uint64_t *val, struct x86_emulate_ctxt *ctxt) { - struct cpu_user_regs _regs = { .ecx = (uint32_t)reg }; + struct cpu_user_regs _regs; + + _regs.ecx = (uint32_t)reg; if ( !vmx_msr_read_intercept(&_regs) ) { @@ -438,10 +440,11 @@ realmode_write_msr( uint64_t val, struct x86_emulate_ctxt *ctxt) { - struct cpu_user_regs _regs = { - .edx = (uint32_t)(val >> 32), - .eax = (uint32_t)val, - .ecx = (uint32_t)reg }; + struct cpu_user_regs _regs; + + _regs.edx = (uint32_t)(val >> 32); + _regs.eax = (uint32_t)val; + _regs.ecx = (uint32_t)reg; if ( !vmx_msr_write_intercept(&_regs) ) { _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |