ia64/xen-unstable

changeset 17230:1efc81ab19cd

x86_64: Make VGCF_in_syscall definition available to assembly code.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 18 11:15:20 2008 +0000 (2008-03-18)
parents c949248d590a
children 1eae3adc5bf7
files xen/include/public/arch-x86/xen-x86_64.h
line diff
     1.1 --- a/xen/include/public/arch-x86/xen-x86_64.h	Tue Mar 18 11:07:00 2008 +0000
     1.2 +++ b/xen/include/public/arch-x86/xen-x86_64.h	Tue Mar 18 11:15:20 2008 +0000
     1.3 @@ -97,8 +97,6 @@
     1.4  #define machine_to_phys_mapping ((unsigned long *)HYPERVISOR_VIRT_START)
     1.5  #endif
     1.6  
     1.7 -#ifndef __ASSEMBLY__
     1.8 -
     1.9  /*
    1.10   * int HYPERVISOR_set_segment_base(unsigned int which, unsigned long base)
    1.11   *  @which == SEGBASE_*  ;  @base == 64-bit base address
    1.12 @@ -133,6 +131,9 @@
    1.13  #define _VGCF_in_syscall 8
    1.14  #define VGCF_in_syscall  (1<<_VGCF_in_syscall)
    1.15  #define VGCF_IN_SYSCALL  VGCF_in_syscall
    1.16 +
    1.17 +#ifndef __ASSEMBLY__
    1.18 +
    1.19  struct iret_context {
    1.20      /* Top of stack (%rsp at point of hypercall). */
    1.21      uint64_t rax, r11, rcx, flags, rip, cs, rflags, rsp, ss;