iPXE
Defines | Functions
xenver.h File Reference

Xen version. More...

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

Go to the source code of this file.

Defines

#define _IPXE_VENVER_H

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
static __attribute__ ((always_inline)) uint32 xenver_version(struct xen_hypervisor *xen)
 Get Xen version.

Detailed Description

Xen version.

Definition in file xenver.h.


Define Documentation

#define _IPXE_VENVER_H

Definition at line 2 of file xenver.h.


Function Documentation

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

Get Xen version.

Get Xen extra version string.

Parameters:
xenXen hypervisor
Return values:
versionVersion (major.minor: 16 bits each)
Parameters:
xenXen hypervisor
extraversionExtra version string to fill in
Return values:
xenrcXen status code

Definition at line 21 of file xenver.h.

References __HYPERVISOR_xen_version, and XENVER_version.

                                              {

        return xen_hypercall_2 ( xen, __HYPERVISOR_xen_version,
                                 XENVER_version, 0 );
}