# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1205838920 0
# Node ID 1efc81ab19cde25e0ba9436dd5c0bb9866be1730
# Parent c949248d590a59ee558780b636fe753434b5c933
x86_64: Make VGCF_in_syscall definition available to assembly code.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
xen/include/public/arch-x86/xen-x86_64.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff -r c949248d590a -r 1efc81ab19cd xen/include/public/arch-x86/xen-x86_64.h
--- a/xen/include/public/arch-x86/xen-x86_64.h Tue Mar 18 11:07:00 2008 +0000
+++ b/xen/include/public/arch-x86/xen-x86_64.h Tue Mar 18 11:15:20 2008 +0000
@@ -96,8 +96,6 @@
#ifndef machine_to_phys_mapping
#define machine_to_phys_mapping ((unsigned long *)HYPERVISOR_VIRT_START)
#endif
-
-#ifndef __ASSEMBLY__
/*
* int HYPERVISOR_set_segment_base(unsigned int which, unsigned long base)
@@ -133,6 +131,9 @@
#define _VGCF_in_syscall 8
#define VGCF_in_syscall (1<<_VGCF_in_syscall)
#define VGCF_IN_SYSCALL VGCF_in_syscall
+
+#ifndef __ASSEMBLY__
+
struct iret_context {
/* Top of stack (%rsp at point of hypercall). */
uint64_t rax, r11, rcx, flags, rip, cs, rflags, rsp, ss;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|