aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_driver.h
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2014-03-21 15:22:21 +0100
committerIngela Anderton Andin <[email protected]>2014-03-21 15:22:21 +0100
commit425a75a11ea58125b67ad56f4ed3ca65370a3e72 (patch)
tree80fa08785954c031c985557e9179a62c10de8a5d /erts/emulator/beam/erl_driver.h
parent3c06b5b3cdde72453d97910889e38e91c1dd4870 (diff)
parent78ad5368f520c5fa6400d4f16909b23fe5225255 (diff)
downloadotp-425a75a11ea58125b67ad56f4ed3ca65370a3e72.tar.gz
otp-425a75a11ea58125b67ad56f4ed3ca65370a3e72.tar.bz2
otp-425a75a11ea58125b67ad56f4ed3ca65370a3e72.zip
Merge branch 'master' of git-server:otp
Diffstat (limited to 'erts/emulator/beam/erl_driver.h')
-rw-r--r--erts/emulator/beam/erl_driver.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_driver.h b/erts/emulator/beam/erl_driver.h
index 5517c26ba4..3ecb379326 100644
--- a/erts/emulator/beam/erl_driver.h
+++ b/erts/emulator/beam/erl_driver.h
@@ -136,6 +136,22 @@ typedef struct {
#define ERL_DRV_EXTENDED_MINOR_VERSION 0
/*
+ * The emulator will refuse to load a driver with a major version
+ * lower than ERL_DRV_MIN_REQUIRED_MAJOR_VERSION_ON_LOAD. The load
+ * may however fail if user have not removed use of deprecated
+ * symbols.
+ *
+ * The ERL_DRV_MIN_REQUIRED_MAJOR_VERSION_ON_LOAD have to allow
+ * loading of drivers built at least two major OTP releases
+ * ago.
+ *
+ * Bump of major version to 3 happened in OTP 17. That is, in
+ * OTP 19 we can increase ERL_DRV_MIN_REQUIRED_MAJOR_VERSION_ON_LOAD
+ * to 3.
+ */
+#define ERL_DRV_MIN_REQUIRED_MAJOR_VERSION_ON_LOAD 2
+
+/*
* The emulator will refuse to load a driver with different major
* version than the one used by the emulator.
*/