]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - common/default_version.c
Implement version information storage and retrieval for the bootrom and the osimage.
[proxmark3-svn] / common / default_version.c
diff --git a/common/default_version.c b/common/default_version.c
new file mode 100644 (file)
index 0000000..b2d19b2
--- /dev/null
@@ -0,0 +1,9 @@
+#include <proxmark3.h>
+/* This is the default version.c file that Makefile.common falls back to if perl is not available */
+struct version_information __attribute__((section(".version_information"))) version_information = { 
+               VERSION_INFORMATION_MAGIC, 
+               1, /* version version 1 */
+               0, /* version information not present */
+               2, /* cleanliness couldn't be determined */
+               /* Remaining fields: zero */
+}; 
Impressum, Datenschutz