iPXE
Data Structures | Defines | Typedefs | Functions
arch-arm.h File Reference

Go to the source code of this file.

Data Structures

struct  vcpu_guest_core_regs
struct  arch_vcpu_info
struct  arch_shared_info

Defines

#define XEN_HYPERCALL_TAG   0XEA1
#define uint64_aligned_t   uint64_t __attribute__((aligned(8)))
#define ___DEFINE_XEN_GUEST_HANDLE(name, type)
#define __DEFINE_XEN_GUEST_HANDLE(name, type)
#define DEFINE_XEN_GUEST_HANDLE(name)   __DEFINE_XEN_GUEST_HANDLE(name, name)
#define __XEN_GUEST_HANDLE(name)   __guest_handle_64_ ## name
#define XEN_GUEST_HANDLE(name)   __XEN_GUEST_HANDLE(name)
#define XEN_GUEST_HANDLE_PARAM(name)   __guest_handle_ ## name
#define set_xen_guest_handle_raw(hnd, val)
#define set_xen_guest_handle(hnd, val)   set_xen_guest_handle_raw(hnd, val)
#define __DECL_REG(n64, n32)   uint64_t n64
#define PRI_xen_pfn   PRIx64
#define XEN_LEGACY_MAX_VCPUS   1
#define PRI_xen_ulong   PRIx64

Typedefs

typedef struct vcpu_guest_core_regs vcpu_guest_core_regs_t
typedef uint64_t xen_pfn_t
typedef uint64_t xen_ulong_t
typedef struct arch_vcpu_info arch_vcpu_info_t
typedef struct arch_shared_info arch_shared_info_t
typedef uint64_t xen_callback_t

Functions

 FILE_LICENCE (MIT)
 DEFINE_XEN_GUEST_HANDLE (vcpu_guest_core_regs_t)

Define Documentation

#define XEN_HYPERCALL_TAG   0XEA1

Definition at line 173 of file arch-arm.h.

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

Definition at line 175 of file arch-arm.h.

#define ___DEFINE_XEN_GUEST_HANDLE (   name,
  type 
)
Value:
typedef union { type *p; unsigned long q; }                 \
        __guest_handle_ ## name;                                \
    typedef union { type *p; uint64_aligned_t q; }              \
        __guest_handle_64_ ## name;

Definition at line 178 of file arch-arm.h.

#define __DEFINE_XEN_GUEST_HANDLE (   name,
  type 
)
Value:
___DEFINE_XEN_GUEST_HANDLE(name, type);   \
    ___DEFINE_XEN_GUEST_HANDLE(const_##name, const type)

Definition at line 191 of file arch-arm.h.

Definition at line 194 of file arch-arm.h.

#define __XEN_GUEST_HANDLE (   name)    __guest_handle_64_ ## name

Definition at line 195 of file arch-arm.h.

Definition at line 196 of file arch-arm.h.

#define XEN_GUEST_HANDLE_PARAM (   name)    __guest_handle_ ## name

Definition at line 198 of file arch-arm.h.

#define set_xen_guest_handle_raw (   hnd,
  val 
)
Value:
do {                                                    \
        typeof(&(hnd)) _sxghr_tmp = &(hnd);                 \
        _sxghr_tmp->q = 0;                                  \
        _sxghr_tmp->p = val;                                \
    } while ( 0 )

Definition at line 199 of file arch-arm.h.

#define set_xen_guest_handle (   hnd,
  val 
)    set_xen_guest_handle_raw(hnd, val)

Definition at line 208 of file arch-arm.h.

#define __DECL_REG (   n64,
  n32 
)    uint64_t n64

Definition at line 218 of file arch-arm.h.

#define PRI_xen_pfn   PRIx64

Definition at line 286 of file arch-arm.h.

#define XEN_LEGACY_MAX_VCPUS   1

Definition at line 290 of file arch-arm.h.

#define PRI_xen_ulong   PRIx64

Definition at line 293 of file arch-arm.h.


Typedef Documentation

Definition at line 280 of file arch-arm.h.

Definition at line 285 of file arch-arm.h.

Definition at line 292 of file arch-arm.h.

Definition at line 312 of file arch-arm.h.

Definition at line 316 of file arch-arm.h.

Definition at line 317 of file arch-arm.h.


Function Documentation

FILE_LICENCE ( MIT  )