Zephyr Project API 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
arch-arm.h File Reference
#include <zephyr/kernel.h>

Go to the source code of this file.

Data Structures

struct  arch_vcpu_info
 
struct  arch_shared_info
 
struct  xen_pmu_arch
 

Macros

#define XEN_HYPERCALL_TAG   0XEA1
 
#define int64_aligned_t   int64_t __aligned(8)
 
#define uint64_aligned_t   uint64_t __aligned(8)
 
#define DEFINE_XEN_GUEST_HANDLE(name)   __DEFINE_XEN_GUEST_HANDLE(name, 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 PRI_xen_pfn   PRIx64
 
#define PRIu_xen_pfn   PRIu64
 
#define XEN_LEGACY_MAX_VCPUS   1
 
#define PRI_xen_ulong   PRIx64
 

Typedefs

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
 
typedef struct xen_pmu_arch xen_pmu_arch_t
 

Macro Definition Documentation

◆ DEFINE_XEN_GUEST_HANDLE

#define DEFINE_XEN_GUEST_HANDLE (   name)    __DEFINE_XEN_GUEST_HANDLE(name, name)

◆ int64_aligned_t

#define int64_aligned_t   int64_t __aligned(8)

◆ PRI_xen_pfn

#define PRI_xen_pfn   PRIx64

◆ PRI_xen_ulong

#define PRI_xen_ulong   PRIx64

◆ PRIu_xen_pfn

#define PRIu_xen_pfn   PRIu64

◆ set_xen_guest_handle

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

◆ set_xen_guest_handle_raw

#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)

◆ uint64_aligned_t

#define uint64_aligned_t   uint64_t __aligned(8)

◆ XEN_GUEST_HANDLE

#define XEN_GUEST_HANDLE (   name)    __XEN_GUEST_HANDLE(name)

◆ XEN_GUEST_HANDLE_PARAM

#define XEN_GUEST_HANDLE_PARAM (   name)    __guest_handle_ ## name

◆ XEN_HYPERCALL_TAG

#define XEN_HYPERCALL_TAG   0XEA1

◆ XEN_LEGACY_MAX_VCPUS

#define XEN_LEGACY_MAX_VCPUS   1

Typedef Documentation

◆ arch_shared_info_t

◆ arch_vcpu_info_t

◆ xen_callback_t

◆ xen_pfn_t

◆ xen_pmu_arch_t

typedef struct xen_pmu_arch xen_pmu_arch_t

◆ xen_ulong_t