iPXE
Data Structures | Defines | Functions
xen.h File Reference

Xen interface. More...

#include <stdint.h>
#include <ipxe/bitops.h>
#include <ipxe/uaccess.h>
#include <xen/xen.h>
#include <xen/event_channel.h>
#include <bits/xen.h>

Go to the source code of this file.

Data Structures

struct  xen_grant
 A Xen grant table. More...
struct  xen_store
 A XenStore. More...
struct  xen_hypervisor
 A Xen hypervisor. More...

Defines

#define __XEN_INTERFACE_VERSION__   0x00040400
#define xen_mb()   mb()
#define xen_rmb()   rmb()
#define xen_wmb()   wmb()
#define EXEN(xenrc)   EPLATFORM ( EINFO_EPLATFORM, -(xenrc) )

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
static __attribute__ ((always_inline)) int xenevent_pending(struct xen_hypervisor *xen
 Test and clear pending event.

Detailed Description

Xen interface.

Definition in file xen.h.


Define Documentation

#define __XEN_INTERFACE_VERSION__   0x00040400

Definition at line 13 of file xen.h.

#define xen_mb ( )    mb()

Definition at line 22 of file xen.h.

#define xen_rmb ( )    rmb()

Definition at line 23 of file xen.h.

#define xen_wmb ( )    wmb()

Definition at line 24 of file xen.h.

#define EXEN (   xenrc)    EPLATFORM ( EINFO_EPLATFORM, -(xenrc) )

Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )
static __attribute__ ( (always_inline)  ) [inline, static]

Test and clear pending event.

Parameters:
xenXen hypervisor
portEvent channel port
Return values:
pendingEvent was pending