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

Go to the source code of this file.

Data Structures

struct  arch_vcpu_info
 
struct  arch_shared_info
 
struct  pvclock_vcpu_time_info
 
struct  pvclock_wall_clock
 

Macros

#define uint64_aligned_t   uint64_t __attribute__((aligned(8)))
 
#define __DEFINE_GUEST_HANDLE(name, type)
 
#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 set_xen_guest_handle(hnd, val)
 
#define PRI_xen_pfn   "llx"
 
#define PRI_xen_ulong   "llx"
 
#define MAX_VIRT_CPUS   1
 

Typedefs

typedef uint64_t xen_pfn_t
 
typedef uint64_t xen_ulong_t
 

Functions

 __DEFINE_GUEST_HANDLE (uchar, unsigned char)
 
 __DEFINE_GUEST_HANDLE (uint, unsigned int)
 
 DEFINE_GUEST_HANDLE (char)
 
 DEFINE_GUEST_HANDLE (int)
 
 DEFINE_GUEST_HANDLE (void)
 
 DEFINE_GUEST_HANDLE (uint64_t)
 
 DEFINE_GUEST_HANDLE (uint32_t)
 
struct pvclock_vcpu_time_info __attribute__ ((__packed__))
 

Variables

u32 version
 
u32 pad0
 
u64 tsc_timestamp
 
u64 system_time
 
u32 tsc_to_system_mul
 
s8 tsc_shift
 
u8 flags
 
u8 pad [2]
 
u32 sec
 
u32 nsec
 

Macro Definition Documentation

#define __DEFINE_GUEST_HANDLE (   name,
  type 
)
Value:
typedef struct { union { type *p; uint64_aligned_t q; }; } \
__guest_handle_ ## name

Definition at line 14 of file interface.h.

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

Definition at line 20 of file interface.h.

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

Definition at line 18 of file interface.h.

#define GUEST_HANDLE (   name)    __guest_handle_ ## name

Definition at line 21 of file interface.h.

#define MAX_VIRT_CPUS   1

Definition at line 54 of file interface.h.

#define PRI_xen_pfn   "llx"

Definition at line 40 of file interface.h.

#define PRI_xen_ulong   "llx"

Definition at line 42 of file interface.h.

#define set_xen_guest_handle (   hnd,
  val 
)
Value:
do { \
if (sizeof(hnd) == 8) \
*(uint64_t *)&(hnd) = 0; \
(hnd).p = val; \
} while (0)

Definition at line 23 of file interface.h.

#define uint64_aligned_t   uint64_t __attribute__((aligned(8)))

Definition at line 12 of file interface.h.

Typedef Documentation

Definition at line 39 of file interface.h.

Definition at line 41 of file interface.h.

Function Documentation

struct pvclock_vcpu_time_info __attribute__ ( (__packed__)  )
read

Definition at line 85 of file mpc512x_dma.c.

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

Variable Documentation

u8 flags

Definition at line 76 of file interface.h.

u32 nsec

Definition at line 79 of file interface.h.

__u8 pad

Definition at line 77 of file interface.h.

u32 pad0

Definition at line 71 of file interface.h.

u32 sec

Definition at line 78 of file interface.h.

u64 system_time

Definition at line 73 of file interface.h.

s8 tsc_shift

Definition at line 75 of file interface.h.

u64 tsc_timestamp

Definition at line 72 of file interface.h.

u32 tsc_to_system_mul

Definition at line 74 of file interface.h.

static void version

Definition at line 70 of file interface.h.