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