aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/cfictl.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/cfictl.h')
-rw-r--r--sys/sys/cfictl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/sys/cfictl.h b/sys/sys/cfictl.h
index ef6d5d12efeb..a5439e04fbe9 100644
--- a/sys/sys/cfictl.h
+++ b/sys/sys/cfictl.h
@@ -44,4 +44,10 @@ struct cfiocqry {
#define CFIOCQRY _IOWR('q', 0, struct cfiocqry)
+/* Intel StrataFlash Protection Register support */
+#define CFIOCGFACTORYPR _IOR('q', 1, uint64_t) /* get factory protection reg */
+#define CFIOCGOEMPR _IOR('q', 2, uint64_t) /* get oem protection reg */
+#define CFIOCSOEMPR _IOW('q', 3, uint64_t) /* set oem protection reg */
+#define CFIOCGPLR _IOR('q', 4, uint32_t) /* get protection lock reg */
+#define CFIOCSPLR _IO('q', 5) /* set protection log reg */
#endif /* _SYS_CFICTL_H_ */