aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/ose/erts.sig
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-09-30 15:06:57 +0200
committerLukas Larsson <[email protected]>2014-02-24 15:15:57 +0100
commit3a4bdad8b488a6e7a4a18a95573059d5a21589c8 (patch)
tree8c89ecfe4f305268194d67ac9ed24fbbff34a4e1 /erts/emulator/sys/ose/erts.sig
parente6c7086e6befb3eb9e8ad4fb7de62f1ee810508c (diff)
downloadotp-3a4bdad8b488a6e7a4a18a95573059d5a21589c8.tar.gz
otp-3a4bdad8b488a6e7a4a18a95573059d5a21589c8.tar.bz2
otp-3a4bdad8b488a6e7a4a18a95573059d5a21589c8.zip
ose: Extract signal numbers to common file
Diffstat (limited to 'erts/emulator/sys/ose/erts.sig')
-rw-r--r--erts/emulator/sys/ose/erts.sig12
1 files changed, 12 insertions, 0 deletions
diff --git a/erts/emulator/sys/ose/erts.sig b/erts/emulator/sys/ose/erts.sig
new file mode 100644
index 0000000000..760d0896c0
--- /dev/null
+++ b/erts/emulator/sys/ose/erts.sig
@@ -0,0 +1,12 @@
+#ifndef ERTS_OSE_SIGNALS
+#define ERTS_OSE_SIGNALS
+
+#ifndef ERTS_OSE_SIGNAL_BASE
+#define ERTS_OSE_SIGNAL_BASE 1000
+#endif
+
+#define ERTS_SIGNAL_INVALID ERTS_OSE_SIGNAL_BASE
+#define ERTS_SIGNAL_FD_DRV_CONFIG ERTS_OSE_SIGNAL_BASE+1
+#define ERTS_SIGNAL_FD_DRV_ASYNC ERTS_OSE_SIGNAL_BASE+2
+
+#endif