iPXE
|
Version number. More...
#include <wchar.h>
#include <ipxe/features.h>
#include <ipxe/version.h>
#include <ipxe/sbat.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 |
#define | SBAT_IPXE |
SBAT upstream iPXE line. More... | |
#define | SBAT_PRODUCT "" |
SBAT local build line. More... | |
#define | SBAT_DATA SBAT_HEADER "" SBAT_IPXE "" SBAT_PRODUCT |
SBAT data. More... | |
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... | |
const char sbat [sizeof(SBAT_DATA) - 1] | __sbat = SBAT_DATA |
SBAT data (without any NUL terminator) More... | |
Version number.
Definition in file version.c.
#define SBAT_IPXE |
SBAT upstream iPXE line.
This line represents the security generation of the upstream codebase from which this build is derived.
#define SBAT_PRODUCT "" |
#define SBAT_DATA SBAT_HEADER "" SBAT_IPXE "" SBAT_PRODUCT |
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
FEATURE_VERSION | ( | VERSION_MAJOR | , |
VERSION_MINOR | , | ||
VERSION_PATCH | |||
) |
Version number feature.
char _build_timestamp[] |
Build timestamp (generated by linker)
char _build_id[] |
Build ID (generated by linker)
unsigned long build_timestamp = ( ( unsigned long ) _build_timestamp ) |
unsigned long build_id = ( ( unsigned long ) _build_id ) |
Build ID.
Definition at line 61 of file version.c.
Referenced by efi_stack_cookie(), and xsigo_xds_complete().
const int product_major_version = VERSION_MAJOR |
Product major version.
Definition at line 64 of file version.c.
Referenced by intelxl_admin_driver(), and nbi_boot32().
const int product_minor_version = VERSION_MINOR |
Product minor version.
Definition at line 67 of file version.c.
Referenced by intelxl_admin_driver(), and nbi_boot32().
const char product_version[] = VERSION |
Product version string.
Definition at line 70 of file version.c.
Referenced by efi_snp_hii_package_list(), ena_probe(), http_format_user_agent(), int22(), ipxe(), multiboot_exec(), version_fetch(), and xsigo_xds_complete().
const char product_name[] = PRODUCT_NAME |
Product name string.
Definition at line 73 of file version.c.
Referenced by efi_snp_hii_package_list(), ena_probe(), and intelxl_admin_driver().
const char product_short_name[] = PRODUCT_SHORT_NAME |
Product short name string.
Definition at line 76 of file version.c.
Referenced by efi_snp_hii_package_list(), efi_snp_probe(), ena_probe(), intelxl_admin_driver(), main(), oncrpc_init_cred_sys(), and xsigo_xds_complete().
const wchar_t product_wname[] = WSTRING ( PRODUCT_NAME ) |
Wide-character product name string.
Definition at line 85 of file version.c.
Referenced by efi_driver_name().
const wchar_t product_short_wname[] = WSTRING ( PRODUCT_SHORT_NAME ) |
Wide-character build name string.
Definition at line 91 of file version.c.
Referenced by efi_driver_name().
const char build_name_prefix[] = BUILD_NAME |