2022-01-12 02:17:19 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
|
|
|
|
//
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
//
|
|
|
|
// See LICENSE.txt for the text of the license.
|
|
|
|
//-----------------------------------------------------------------------------
|
2020-05-20 21:53:47 +08:00
|
|
|
#include "common.h"
|
2022-01-12 02:17:19 +08:00
|
|
|
/* This is the default version_pm3.c file that Makefile.common falls back to if neither sh nor perl are available */
|
2020-05-21 02:54:37 +08:00
|
|
|
#ifndef ON_DEVICE
|
|
|
|
#define SECTVERSINFO
|
|
|
|
#else
|
|
|
|
#define SECTVERSINFO __attribute__((section(".version_information")))
|
|
|
|
#endif
|
|
|
|
|
2021-08-22 02:11:14 +08:00
|
|
|
const struct version_information_t SECTVERSINFO g_version_information = {
|
2019-03-10 07:00:59 +08:00
|
|
|
VERSION_INFORMATION_MAGIC,
|
2022-01-12 02:17:19 +08:00
|
|
|
1, /* version 1 */
|
|
|
|
0, /* version information not present */
|
|
|
|
2, /* cleanliness couldn't be determined */
|
|
|
|
/* Remaining fields: zero */
|
2019-03-09 15:59:13 +08:00
|
|
|
};
|