aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/include/chsys.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/rt/include/chsys.h')
-rw-r--r--os/rt/include/chsys.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/os/rt/include/chsys.h b/os/rt/include/chsys.h
index 7cc6aca5c..888e98b5c 100644
--- a/os/rt/include/chsys.h
+++ b/os/rt/include/chsys.h
@@ -34,6 +34,16 @@
/* Module constants. */
/*===========================================================================*/
+/**
+ * @name Masks of executable integrity checks.
+ * @{
+ */
+#define CH_INTEGRITY_RLIST 1
+#define CH_INTEGRITY_VTLIST 2
+#define CH_INTEGRITY_REGISTRY 4
+#define CH_INTEGRITY_PORT 8
+/** @} */
+
/*===========================================================================*/
/* Module pre-compile time settings. */
/*===========================================================================*/
@@ -230,6 +240,7 @@ extern "C" {
#endif
void chSysInit(void);
void chSysHalt(const char *reason);
+ bool chSysIntegrityCheckI(unsigned testmask);
void chSysTimerHandlerI(void);
syssts_t chSysGetStatusAndLockX(void);
void chSysRestoreStatusX(syssts_t sts);