summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-07-15 22:56:45 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-07-15 22:56:45 +0000
commit4d47256b4b685afba422925d22f8b6aa55c38109 (patch)
treebbb3a467ac150869b3e083e16c02f2ad24aded21 /cpukit/rtems/include
parent2008-07-15 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-4d47256b4b685afba422925d22f8b6aa55c38109.tar.bz2
2008-07-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/include/rtems.h, sapi/Makefile.am: Add simple helper to get RTEMS version string. * sapi/src/getversionstring.c: New file.
Diffstat (limited to 'cpukit/rtems/include')
-rw-r--r--cpukit/rtems/include/rtems.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/cpukit/rtems/include/rtems.h b/cpukit/rtems/include/rtems.h
index 537a6c8171..4bc89d704e 100644
--- a/cpukit/rtems/include/rtems.h
+++ b/cpukit/rtems/include/rtems.h
@@ -78,6 +78,15 @@ extern "C" {
#include <rtems/score/sysstate.h>
/**
+ * @brief Obtain the RTEMS Version String
+ *
+ * This method may be used to obtain the RTEMS version string.
+ *
+ * @return This method returns a pointer to the version string.
+ */
+const char *rtems_get_version_string(void);
+
+/**
* This constant indicates whether this processor variant has
* hardware floating point support.
*/