search for: sysexit_c

Displaying 1 result from an estimated 1 matches for "sysexit_c".

Did you mean: sysexit_cs
2007 Aug 08
2
[PATCH] x86-64: syscall/sysenter support for 32-bit apps
....000000000 +0200 +++ 2007-08-08/xen/arch/x86/domain.c 2007-08-08 11:37:08.000000000 +0200 @@ -413,6 +413,12 @@ int vcpu_initialise(struct vcpu *v) v->arch.perdomain_ptes = d->arch.mm_perdomain_pt + (v->vcpu_id << GDT_LDT_VCPU_SHIFT); +#ifdef __x86_64__ + v->arch.sysexit_cs = 3; + v->arch.syscall_eflags_mask = X86_EFLAGS_DF|X86_EFLAGS_TF|X86_EFLAGS_NT| + X86_EFLAGS_RF|X86_EFLAGS_VM; +#endif + return (is_pv_32on64_vcpu(v) ? setup_compat_l4(v) : 0); } @@ -625,7 +631,18 @@ int arch_set_info_guest( v->arch.flags...