Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
interface.h File Reference
#include <asm/pvclock-abi.h>

Go to the source code of this file.

Data Structures

union  vac
 
union  vdc
 
struct  mapped_regs
 
struct  arch_vcpu_info
 
struct  xen_ia64_memmap_info
 
struct  arch_shared_info
 
struct  xen_callback
 
struct  xen_ia64_opt_feature
 

Macros

#define __DEFINE_GUEST_HANDLE(name, type)   typedef struct { type *p; } __guest_handle_ ## name
 
#define DEFINE_GUEST_HANDLE_STRUCT(name)   __DEFINE_GUEST_HANDLE(name, struct name)
 
#define DEFINE_GUEST_HANDLE(name)   __DEFINE_GUEST_HANDLE(name, name)
 
#define GUEST_HANDLE(name)   __guest_handle_ ## name
 
#define GUEST_HANDLE_64(name)   GUEST_HANDLE(name)
 
#define set_xen_guest_handle(hnd, val)   do { (hnd).p = val; } while (0)
 
#define PRI_xen_pfn   "lx"
 
#define VIRQ_ITC   VIRQ_ARCH_0 /* V. Virtual itc timer */
 
#define VIRQ_MCA_CMC   VIRQ_ARCH_1 /* MCA cmc interrupt */
 
#define VIRQ_MCA_CPE   VIRQ_ARCH_2 /* MCA cpe interrupt */
 
#define MAX_VIRT_CPUS   64
 
#define INVALID_MFN   (~0UL)
 
#define XSI_SHIFT   14
 
#define XSI_SIZE   (1 << XSI_SHIFT)
 
#define XMAPPEDREGS_SHIFT   12
 
#define XMAPPEDREGS_SIZE   (1 << XMAPPEDREGS_SHIFT)
 
#define XMAPPEDREGS_OFS   XSI_SIZE
 
#define HYPERPRIVOP_START   0x1
 
#define HYPERPRIVOP_RFI   (HYPERPRIVOP_START + 0x0)
 
#define HYPERPRIVOP_RSM_DT   (HYPERPRIVOP_START + 0x1)
 
#define HYPERPRIVOP_SSM_DT   (HYPERPRIVOP_START + 0x2)
 
#define HYPERPRIVOP_COVER   (HYPERPRIVOP_START + 0x3)
 
#define HYPERPRIVOP_ITC_D   (HYPERPRIVOP_START + 0x4)
 
#define HYPERPRIVOP_ITC_I   (HYPERPRIVOP_START + 0x5)
 
#define HYPERPRIVOP_SSM_I   (HYPERPRIVOP_START + 0x6)
 
#define HYPERPRIVOP_GET_IVR   (HYPERPRIVOP_START + 0x7)
 
#define HYPERPRIVOP_GET_TPR   (HYPERPRIVOP_START + 0x8)
 
#define HYPERPRIVOP_SET_TPR   (HYPERPRIVOP_START + 0x9)
 
#define HYPERPRIVOP_EOI   (HYPERPRIVOP_START + 0xa)
 
#define HYPERPRIVOP_SET_ITM   (HYPERPRIVOP_START + 0xb)
 
#define HYPERPRIVOP_THASH   (HYPERPRIVOP_START + 0xc)
 
#define HYPERPRIVOP_PTC_GA   (HYPERPRIVOP_START + 0xd)
 
#define HYPERPRIVOP_ITR_D   (HYPERPRIVOP_START + 0xe)
 
#define HYPERPRIVOP_GET_RR   (HYPERPRIVOP_START + 0xf)
 
#define HYPERPRIVOP_SET_RR   (HYPERPRIVOP_START + 0x10)
 
#define HYPERPRIVOP_SET_KR   (HYPERPRIVOP_START + 0x11)
 
#define HYPERPRIVOP_FC   (HYPERPRIVOP_START + 0x12)
 
#define HYPERPRIVOP_GET_CPUID   (HYPERPRIVOP_START + 0x13)
 
#define HYPERPRIVOP_GET_PMD   (HYPERPRIVOP_START + 0x14)
 
#define HYPERPRIVOP_GET_EFLAG   (HYPERPRIVOP_START + 0x15)
 
#define HYPERPRIVOP_SET_EFLAG   (HYPERPRIVOP_START + 0x16)
 
#define HYPERPRIVOP_RSM_BE   (HYPERPRIVOP_START + 0x17)
 
#define HYPERPRIVOP_GET_PSR   (HYPERPRIVOP_START + 0x18)
 
#define HYPERPRIVOP_SET_RR0_TO_RR4   (HYPERPRIVOP_START + 0x19)
 
#define HYPERPRIVOP_MAX   (0x1a)
 
#define __HYPERVISOR_ia64_fast_eoi   __HYPERVISOR_arch_1
 
#define XENCOMM_INLINE_MASK   0xf800000000000000UL
 
#define XENCOMM_INLINE_FLAG   0x8000000000000000UL
 
#define __HYPERVISOR_opt_feature   0x700UL
 
#define XEN_IA64_OPTF_OFF   0x0
 
#define XEN_IA64_OPTF_ON   0x1
 
#define XEN_IA64_OPTF_IDENT_MAP_REG7   1
 
#define XEN_IA64_OPTF_IDENT_MAP_REG4   2
 
#define XEN_IA64_OPTF_IDENT_MAP_REG5   3
 
#define XEN_IA64_OPTF_IDENT_MAP_NOT_SET   (0)
 

Typedefs

typedef unsigned long xen_pfn_t
 
typedef unsigned long xen_ulong_t
 
typedef struct xen_callback xen_callback_t
 

Functions

 __DEFINE_GUEST_HANDLE (uchar, unsigned char)
 
 __DEFINE_GUEST_HANDLE (uint, unsigned int)
 
 __DEFINE_GUEST_HANDLE (ulong, unsigned long)
 
 DEFINE_GUEST_HANDLE (char)
 
 DEFINE_GUEST_HANDLE (int)
 
 DEFINE_GUEST_HANDLE (long)
 
 DEFINE_GUEST_HANDLE (void)
 
 DEFINE_GUEST_HANDLE (uint64_t)
 
 DEFINE_GUEST_HANDLE (uint32_t)
 

Macro Definition Documentation

#define __DEFINE_GUEST_HANDLE (   name,
  type 
)    typedef struct { type *p; } __guest_handle_ ## name

Definition at line 59 of file interface.h.

#define __HYPERVISOR_ia64_fast_eoi   __HYPERVISOR_arch_1

Definition at line 314 of file interface.h.

#define __HYPERVISOR_opt_feature   0x700UL

Definition at line 327 of file interface.h.

#define DEFINE_GUEST_HANDLE (   name)    __DEFINE_GUEST_HANDLE(name, name)

Definition at line 64 of file interface.h.

#define DEFINE_GUEST_HANDLE_STRUCT (   name)    __DEFINE_GUEST_HANDLE(name, struct name)

Definition at line 62 of file interface.h.

#define GUEST_HANDLE (   name)    __guest_handle_ ## name

Definition at line 65 of file interface.h.

#define GUEST_HANDLE_64 (   name)    GUEST_HANDLE(name)

Definition at line 66 of file interface.h.

#define HYPERPRIVOP_COVER   (HYPERPRIVOP_START + 0x3)

Definition at line 288 of file interface.h.

#define HYPERPRIVOP_EOI   (HYPERPRIVOP_START + 0xa)

Definition at line 295 of file interface.h.

#define HYPERPRIVOP_FC   (HYPERPRIVOP_START + 0x12)

Definition at line 303 of file interface.h.

#define HYPERPRIVOP_GET_CPUID   (HYPERPRIVOP_START + 0x13)

Definition at line 304 of file interface.h.

#define HYPERPRIVOP_GET_EFLAG   (HYPERPRIVOP_START + 0x15)

Definition at line 306 of file interface.h.

#define HYPERPRIVOP_GET_IVR   (HYPERPRIVOP_START + 0x7)

Definition at line 292 of file interface.h.

#define HYPERPRIVOP_GET_PMD   (HYPERPRIVOP_START + 0x14)

Definition at line 305 of file interface.h.

#define HYPERPRIVOP_GET_PSR   (HYPERPRIVOP_START + 0x18)

Definition at line 309 of file interface.h.

#define HYPERPRIVOP_GET_RR   (HYPERPRIVOP_START + 0xf)

Definition at line 300 of file interface.h.

#define HYPERPRIVOP_GET_TPR   (HYPERPRIVOP_START + 0x8)

Definition at line 293 of file interface.h.

#define HYPERPRIVOP_ITC_D   (HYPERPRIVOP_START + 0x4)

Definition at line 289 of file interface.h.

#define HYPERPRIVOP_ITC_I   (HYPERPRIVOP_START + 0x5)

Definition at line 290 of file interface.h.

#define HYPERPRIVOP_ITR_D   (HYPERPRIVOP_START + 0xe)

Definition at line 299 of file interface.h.

#define HYPERPRIVOP_MAX   (0x1a)

Definition at line 311 of file interface.h.

#define HYPERPRIVOP_PTC_GA   (HYPERPRIVOP_START + 0xd)

Definition at line 298 of file interface.h.

#define HYPERPRIVOP_RFI   (HYPERPRIVOP_START + 0x0)

Definition at line 285 of file interface.h.

#define HYPERPRIVOP_RSM_BE   (HYPERPRIVOP_START + 0x17)

Definition at line 308 of file interface.h.

#define HYPERPRIVOP_RSM_DT   (HYPERPRIVOP_START + 0x1)

Definition at line 286 of file interface.h.

#define HYPERPRIVOP_SET_EFLAG   (HYPERPRIVOP_START + 0x16)

Definition at line 307 of file interface.h.

#define HYPERPRIVOP_SET_ITM   (HYPERPRIVOP_START + 0xb)

Definition at line 296 of file interface.h.

#define HYPERPRIVOP_SET_KR   (HYPERPRIVOP_START + 0x11)

Definition at line 302 of file interface.h.

#define HYPERPRIVOP_SET_RR   (HYPERPRIVOP_START + 0x10)

Definition at line 301 of file interface.h.

#define HYPERPRIVOP_SET_RR0_TO_RR4   (HYPERPRIVOP_START + 0x19)

Definition at line 310 of file interface.h.

#define HYPERPRIVOP_SET_TPR   (HYPERPRIVOP_START + 0x9)

Definition at line 294 of file interface.h.

#define HYPERPRIVOP_SSM_DT   (HYPERPRIVOP_START + 0x2)

Definition at line 287 of file interface.h.

#define HYPERPRIVOP_SSM_I   (HYPERPRIVOP_START + 0x6)

Definition at line 291 of file interface.h.

#define HYPERPRIVOP_START   0x1

Definition at line 284 of file interface.h.

#define HYPERPRIVOP_THASH   (HYPERPRIVOP_START + 0xc)

Definition at line 297 of file interface.h.

#define INVALID_MFN   (~0UL)

Definition at line 103 of file interface.h.

#define MAX_VIRT_CPUS   64

Definition at line 99 of file interface.h.

#define PRI_xen_pfn   "lx"

Definition at line 88 of file interface.h.

#define set_xen_guest_handle (   hnd,
  val 
)    do { (hnd).p = val; } while (0)

Definition at line 67 of file interface.h.

#define VIRQ_ITC   VIRQ_ARCH_0 /* V. Virtual itc timer */

Definition at line 92 of file interface.h.

#define VIRQ_MCA_CMC   VIRQ_ARCH_1 /* MCA cmc interrupt */

Definition at line 93 of file interface.h.

#define VIRQ_MCA_CPE   VIRQ_ARCH_2 /* MCA cpe interrupt */

Definition at line 94 of file interface.h.

#define XEN_IA64_OPTF_IDENT_MAP_NOT_SET   (0)

Definition at line 346 of file interface.h.

#define XEN_IA64_OPTF_IDENT_MAP_REG4   2

Definition at line 341 of file interface.h.

#define XEN_IA64_OPTF_IDENT_MAP_REG5   3

Definition at line 344 of file interface.h.

#define XEN_IA64_OPTF_IDENT_MAP_REG7   1

Definition at line 338 of file interface.h.

#define XEN_IA64_OPTF_OFF   0x0

Definition at line 329 of file interface.h.

#define XEN_IA64_OPTF_ON   0x1

Definition at line 330 of file interface.h.

#define XENCOMM_INLINE_FLAG   0x8000000000000000UL

Definition at line 318 of file interface.h.

#define XENCOMM_INLINE_MASK   0xf800000000000000UL

Definition at line 317 of file interface.h.

#define XMAPPEDREGS_OFS   XSI_SIZE

Definition at line 281 of file interface.h.

#define XMAPPEDREGS_SHIFT   12

Definition at line 278 of file interface.h.

#define XMAPPEDREGS_SIZE   (1 << XMAPPEDREGS_SHIFT)

Definition at line 279 of file interface.h.

#define XSI_SHIFT   14

Definition at line 275 of file interface.h.

#define XSI_SIZE   (1 << XSI_SHIFT)

Definition at line 276 of file interface.h.

Typedef Documentation

Definition at line 268 of file interface.h.

typedef unsigned long xen_pfn_t

Definition at line 73 of file interface.h.

typedef unsigned long xen_ulong_t

Definition at line 74 of file interface.h.

Function Documentation

__DEFINE_GUEST_HANDLE ( uchar  ,
unsigned  char 
)
__DEFINE_GUEST_HANDLE ( uint  ,
unsigned  int 
)
__DEFINE_GUEST_HANDLE ( ulong  ,
unsigned  long 
)
DEFINE_GUEST_HANDLE ( char  )
DEFINE_GUEST_HANDLE ( int  )
DEFINE_GUEST_HANDLE ( long  )
DEFINE_GUEST_HANDLE ( void  )
DEFINE_GUEST_HANDLE ( uint64_t  )
DEFINE_GUEST_HANDLE ( uint32_t  )