Displaying 2 results from an estimated 2 matches for "lguest_vcpu_".
Did you mean:
lguest_vcpu
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 05/13] asm-offsets update
...sm/lguest.h>
+#endif
#define DEFINE(sym, val) \
asm volatile("\n->" #sym " %0 " #val : : "i" (val))
@@ -89,5 +92,51 @@ int main(void)
ENTRY(read_cr2);
ENTRY(swapgs);
#endif
+
+#ifdef CONFIG_LGUEST_GUEST
+#undef ENTRY
+#define ENTRY(entry) DEFINE(LGUEST_VCPU_ ##entry, offsetof(struct lguest_vcpu, entry))
+ ENTRY(vcpu);
+ ENTRY(debug);
+ ENTRY(magic);
+ ENTRY(guest_syscall);
+ ENTRY(host_stack);
+ ENTRY(host_cr3);
+ ENTRY(host_gs_a);
+ ENTRY(host_gs_d);
+ ENTRY(host_proc_gs_a);
+ ENTRY(host_proc_gs_d);
+ ENTRY(guest_gs_a);
+ ENTRY(guest_gs_d);
+ ENTRY(gd...
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 05/13] asm-offsets update
...sm/lguest.h>
+#endif
#define DEFINE(sym, val) \
asm volatile("\n->" #sym " %0 " #val : : "i" (val))
@@ -89,5 +92,51 @@ int main(void)
ENTRY(read_cr2);
ENTRY(swapgs);
#endif
+
+#ifdef CONFIG_LGUEST_GUEST
+#undef ENTRY
+#define ENTRY(entry) DEFINE(LGUEST_VCPU_ ##entry, offsetof(struct lguest_vcpu, entry))
+ ENTRY(vcpu);
+ ENTRY(debug);
+ ENTRY(magic);
+ ENTRY(guest_syscall);
+ ENTRY(host_stack);
+ ENTRY(host_cr3);
+ ENTRY(host_gs_a);
+ ENTRY(host_gs_d);
+ ENTRY(host_proc_gs_a);
+ ENTRY(host_proc_gs_d);
+ ENTRY(guest_gs_a);
+ ENTRY(guest_gs_d);
+ ENTRY(gd...