iPXE
Macros | Functions | Variables
version.c File Reference

Version number. More...

#include <wchar.h>
#include <ipxe/features.h>
#include <ipxe/version.h>
#include <config/general.h>
#include <config/branding.h>

Go to the source code of this file.

Macros

#define WSTRING(string)   _WSTRING ( string )
 Create wide-character version of string. More...
 
#define _WSTRING(string)   L ## string
 

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
 FEATURE_VERSION (VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH)
 Version number feature. More...
 

Variables

char _build_timestamp []
 Build timestamp (generated by linker) More...
 
char _build_id []
 Build ID (generated by linker) More...
 
unsigned long build_timestamp = ( ( unsigned long ) _build_timestamp )
 Build timestamp. More...
 
unsigned long build_id = ( ( unsigned long ) _build_id )
 Build ID. More...
 
const int product_major_version = VERSION_MAJOR
 Product major version. More...
 
const int product_minor_version = VERSION_MINOR
 Product minor version. More...
 
const char product_version [] = VERSION
 Product version string. More...
 
const char product_name [] = PRODUCT_NAME
 Product name string. More...
 
const char product_short_name [] = PRODUCT_SHORT_NAME
 Product short name string. More...
 
const char build_name [] = BUILD_NAME
 Build name string. More...
 
const wchar_t product_wversion [] = WSTRING ( VERSION )
 Wide-character product version string. More...
 
const wchar_t product_wname [] = WSTRING ( PRODUCT_NAME )
 Wide-character product name string. More...
 
const wchar_t product_short_wname [] = WSTRING ( PRODUCT_SHORT_NAME )
 Wide-character product short name string. More...
 
const wchar_t build_wname [] = WSTRING ( BUILD_NAME )
 Wide-character build name string. More...
 
const char build_name_prefix [] = BUILD_NAME
 Copy of build name string within ".prefix". More...
 

Detailed Description

Version number.

Definition in file version.c.

Macro Definition Documentation

◆ WSTRING

#define WSTRING (   string)    _WSTRING ( string )

Create wide-character version of string.

Parameters
stringString
Return values
wstringWide-character version of string

Definition at line 44 of file version.c.

◆ _WSTRING

#define _WSTRING (   string)    L ## string

Definition at line 45 of file version.c.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ FEATURE_VERSION()

FEATURE_VERSION ( VERSION_MAJOR  ,
VERSION_MINOR  ,
VERSION_PATCH   
)

Version number feature.

Variable Documentation

◆ _build_timestamp

char _build_timestamp[]

Build timestamp (generated by linker)

◆ _build_id

char _build_id[]

Build ID (generated by linker)

◆ build_timestamp

unsigned long build_timestamp = ( ( unsigned long ) _build_timestamp )

Build timestamp.

Definition at line 57 of file version.c.

Referenced by efi_driver_install().

◆ build_id

unsigned long build_id = ( ( unsigned long ) _build_id )

Build ID.

Definition at line 60 of file version.c.

Referenced by xsigo_xds_complete().

◆ product_major_version

const int product_major_version = VERSION_MAJOR

Product major version.

Definition at line 63 of file version.c.

Referenced by intelxl_admin_driver(), and nbi_boot32().

◆ product_minor_version

const int product_minor_version = VERSION_MINOR

Product minor version.

Definition at line 66 of file version.c.

Referenced by intelxl_admin_driver(), and nbi_boot32().

◆ product_version

const char product_version[] = VERSION

Product version string.

Definition at line 69 of file version.c.

Referenced by efi_snp_hii_package_list(), http_format_user_agent(), int22(), ipxe(), multiboot_exec(), version_fetch(), and xsigo_xds_complete().

◆ product_name

const char product_name[] = PRODUCT_NAME

Product name string.

Definition at line 72 of file version.c.

Referenced by efi_snp_hii_package_list(), and intelxl_admin_driver().

◆ product_short_name

const char product_short_name[] = PRODUCT_SHORT_NAME

Product short name string.

Definition at line 75 of file version.c.

Referenced by efi_snp_hii_package_list(), efi_snp_probe(), intelxl_admin_driver(), main(), oncrpc_init_cred_sys(), and xsigo_xds_complete().

◆ build_name

const char build_name[] = BUILD_NAME

Build name string.

Definition at line 78 of file version.c.

◆ product_wversion

const wchar_t product_wversion[] = WSTRING ( VERSION )

Wide-character product version string.

Definition at line 81 of file version.c.

◆ product_wname

const wchar_t product_wname[] = WSTRING ( PRODUCT_NAME )

Wide-character product name string.

Definition at line 84 of file version.c.

Referenced by efi_driver_name().

◆ product_short_wname

const wchar_t product_short_wname[] = WSTRING ( PRODUCT_SHORT_NAME )

Wide-character product short name string.

Definition at line 87 of file version.c.

◆ build_wname

const wchar_t build_wname[] = WSTRING ( BUILD_NAME )

Wide-character build name string.

Definition at line 90 of file version.c.

Referenced by efi_driver_name().

◆ build_name_prefix

const char build_name_prefix[] = BUILD_NAME

Copy of build name string within ".prefix".

Definition at line 94 of file version.c.