iPXE
Macros | Functions | Variables
xenver.h File Reference

Xen version. More...

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

Go to the source code of this file.

Macros

#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. More...
 

Variables

static xen_extraversion_textraversion
 

Detailed Description

Xen version.

Definition in file xenver.h.

Macro Definition Documentation

◆ _IPXE_VENVER_H

#define _IPXE_VENVER_H

Definition at line 2 of file xenver.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ __attribute__()

static __attribute__ ( (always_inline)  )
inlinestatic

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.

22  {
23 
24  return xen_hypercall_2 ( xen, __HYPERVISOR_xen_version,
25  XENVER_version, 0 );
26 }
#define __HYPERVISOR_xen_version
Definition: xen.h:83
#define XENVER_version
Definition: version.h:38

References __HYPERVISOR_xen_version, and XENVER_version.

Variable Documentation

◆ extraversion

xen_extraversion_t* extraversion
Initial value:
{
return xen_hypercall_2 ( xen, __HYPERVISOR_xen_version,
static xen_extraversion_t * extraversion
Definition: xenver.h:37
#define XENVER_extraversion
Definition: version.h:41
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_xen_version
Definition: xen.h:83

Definition at line 37 of file xenver.h.

Referenced by hvm_map_hypercall().