|
iPXE
|
Xen interface. More...
#include <stdint.h>#include <ipxe/bitops.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... | |
Macros | |
| #define | __XEN_INTERFACE_VERSION__ 0x00040400 |
| #define | xen_mb() mb() |
| #define | xen_rmb() rmb() |
| #define | xen_wmb() wmb() |
| #define | EXEN(xenrc) EPLATFORM ( EINFO_EPLATFORM, -(xenrc) ) |
| Convert a Xen status code to an iPXE status code. More... | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| static | __attribute__ ((always_inline)) int xenevent_pending(struct xen_hypervisor *xen |
| Test and clear pending event. More... | |
Variables | |
| static evtchn_port_t | port |
Xen interface.
Definition in file xen.h.
| #define EXEN | ( | xenrc | ) | EPLATFORM ( EINFO_EPLATFORM, -(xenrc) ) |
Convert a Xen status code to an iPXE status code.
| xenrc | Xen status code (negated) |
| rc | iPXE status code (before negation) |
Xen status codes are defined in the file include/xen/errno.h in the Xen repository. They happen to match the Linux error codes, some of which can be found in our include/ipxe/errno/linux.h.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
inlinestatic |
Test and clear pending event.
| xen | Xen hypervisor |
| port | Event channel port |
| pending | Event was pending |
| evtchn_port_t port |
1.8.15