summaryrefslogtreecommitdiffstats
path: root/src/cachepc_user.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cachepc_user.h')
-rw-r--r--src/cachepc_user.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cachepc_user.h b/src/cachepc_user.h
new file mode 100644
index 0000000..992e2af
--- /dev/null
+++ b/src/cachepc_user.h
@@ -0,0 +1,6 @@
+#pragma once
+
+#include <linux/ioctl.h>
+
+#define CACHEPC_IOCTL_MAGIC 0xBF
+#define CACHEPC_IOCTL_ACCESS_TEST _IOR(CACHEPC_IOCTL_MAGIC, 0, int)