iPXE
Functions | Variables
xenevent.h File Reference

Xen events. More...

#include <ipxe/xen.h>
#include <xen/event_channel.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
static __attribute__ ((always_inline)) int xenevent_close(struct xen_hypervisor *xen
 Close event channel. More...
 

Variables

static struct evtchn_closeclose
 
static struct evtchn_sendsend
 
static struct evtchn_alloc_unboundalloc_unbound
 

Detailed Description

Xen events.

Definition in file xenevent.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ __attribute__()

static __attribute__ ( (always_inline)  )
inlinestatic

Close event channel.

Allocate an unbound event channel.

Send event.

Parameters
xenXen hypervisor
closeEvent descriptor
Return values
xenrcXen status code
Parameters
xenXen hypervisor
sendEvent descriptor
Return values
xenrcXen status code
Parameters
xenXen hypervisor
alloc_unboundEvent descriptor
Return values
xenrcXen status code

Variable Documentation

◆ close

struct evtchn_close* close
Initial value:
{
return xen_hypercall_2 ( xen, __HYPERVISOR_event_channel_op,
#define EVTCHNOP_close
Definition: event_channel.h:51
static __always_inline unsigned long virt_to_phys(volatile const void *addr)
Convert virtual address to a physical address.
Definition: uaccess.h:287
#define __HYPERVISOR_event_channel_op
Definition: xen.h:145
static struct evtchn_close * close
Definition: xenevent.h:23

Definition at line 23 of file xenevent.h.

Referenced by int22(), netfront_create_event(), netfront_destroy_event(), ntp_deliver(), peerdist_discovery_reply_values(), pxenv_file_close(), and vmbus_close().

◆ send

struct evtchn_send* send
Initial value:
{
return xen_hypercall_2 ( xen, __HYPERVISOR_event_channel_op,
static __always_inline unsigned long virt_to_phys(volatile const void *addr)
Convert virtual address to a physical address.
Definition: uaccess.h:287
static struct evtchn_send * send
Definition: xenevent.h:37
#define __HYPERVISOR_event_channel_op
Definition: xen.h:145
#define EVTCHNOP_send
Definition: event_channel.h:52

Definition at line 37 of file xenevent.h.

◆ alloc_unbound

struct evtchn_alloc_unbound* alloc_unbound
Initial value:
{
return xen_hypercall_2 ( xen, __HYPERVISOR_event_channel_op,
static __always_inline unsigned long virt_to_phys(volatile const void *addr)
Convert virtual address to a physical address.
Definition: uaccess.h:287
#define __HYPERVISOR_event_channel_op
Definition: xen.h:145
static struct evtchn_alloc_unbound * alloc_unbound
Definition: xenevent.h:52
#define EVTCHNOP_alloc_unbound
Definition: event_channel.h:54

Definition at line 52 of file xenevent.h.

Referenced by netfront_create_event().