RTEMS 6.1-rc2
|
This source file contains the implementation of rtems_version(), rtems_version_control_key(), rtems_version_major(), rtems_version_minor(), and rtems_version_revision(). More...
Functions | |
const char * | rtems_version (void) |
Returns the version string. | |
int | rtems_version_major (void) |
Returns the version's major number. | |
int | rtems_version_minor (void) |
Returns the version's minor number. | |
int | rtems_version_revision (void) |
Returns the version's revision number. | |
const char * | rtems_version_control_key (void) |
Returns the version control key for the current version of code that has been built. | |
This source file contains the implementation of rtems_version(), rtems_version_control_key(), rtems_version_major(), rtems_version_minor(), and rtems_version_revision().
The version strings are created from the various pieces of version information. The main version number is part of the build system and is stamped into <rtems/score/cpuopts.h>. The version control key string is extracted from the version control tool when the code is being built and is updated if it has changed. It is defined in "version-vc-key.h". The key may indicate there are local modification.