search for: is_compat

Displaying 2 results from an estimated 2 matches for "is_compat".

Did you mean: s_compat
2006 Oct 04
0
[PATCH,RFC 6/17] 32-on-64 shared info handling
...========================================= --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ 2006-10-04/xen/include/asm-x86/shared.h 2006-10-04 15:11:03.000000000 +0200 @@ -0,0 +1,78 @@ +#ifndef __XEN_X86_SHARED_H__ +#define __XEN_X86_SHARED_H__ + +#ifdef CONFIG_COMPAT + +#define nmi_reason(d) (!IS_COMPAT(d) ? \ + (void *)&(d)->shared_info->native.arch.nmi_reason : \ + (void *)&(d)->shared_info->compat.arch.nmi_reason) + +#define GET_SET_SHARED(type, field) \ +static inline type arch_get_##field(const struct domain *d) \ +{ \ + retur...
2007 Jan 11
6
[PATCH 4/8] HVM save restore: vcpu context support
...&v->vcpu_flags) ) diff -r ee20d1905bde xen/arch/x86/domctl.c --- a/xen/arch/x86/domctl.c Thu Jan 11 16:40:55 2007 +0800 +++ b/xen/arch/x86/domctl.c Thu Jan 11 16:49:34 2007 +0800 @@ -322,8 +322,10 @@ void arch_get_info_guest(struct vcpu *v, if ( is_hvm_vcpu(v) ) { - if ( !IS_COMPAT(v->domain) ) + if ( !IS_COMPAT(v->domain) ) { hvm_store_cpu_guest_regs(v, &c.nat->user_regs, c.nat->ctrlreg); + hvm_save_cpu_context(v, &c.nat->hvmcpu_ctxt); + } #ifdef CONFIG_COMPAT else { diff -r ee20d1905bde xen/arch...