aboutsummaryrefslogtreecommitdiff
path: root/stmhal/pybioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/pybioctl.h')
-rw-r--r--stmhal/pybioctl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/stmhal/pybioctl.h b/stmhal/pybioctl.h
new file mode 100644
index 000000000..79f994b8b
--- /dev/null
+++ b/stmhal/pybioctl.h
@@ -0,0 +1,6 @@
+#define MP_IOCTL_POLL (0x100 | 1)
+
+#define MP_IOCTL_POLL_RD (0x0001)
+#define MP_IOCTL_POLL_WR (0x0002)
+#define MP_IOCTL_POLL_HUP (0x0004)
+#define MP_IOCTL_POLL_ERR (0x0008)