diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-23 16:14:19 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-23 16:14:19 +0000 |
commit | f81893bd972ea3987f8860541ac2c74724bb055e (patch) | |
tree | f257b0a5ee0d7b0716da05b53a92286f1604102f /os/rt/include | |
parent | eda043cc49e1c41485619876d8fdaf93358d44ac (diff) | |
download | ChibiOS-f81893bd972ea3987f8860541ac2c74724bb055e.tar.gz ChibiOS-f81893bd972ea3987f8860541ac2c74724bb055e.tar.bz2 ChibiOS-f81893bd972ea3987f8860541ac2c74724bb055e.zip |
Added experimental system integrity check API chSysIntegrityCheckI().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7799 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include')
-rw-r--r-- | os/rt/include/chsys.h | 11 |
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);
|