From 4bdf358424068f452a4d5a450e6001a03ca4f819 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 22 Aug 2012 14:23:02 +0000 Subject: Added mem git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4613 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/include/chregistry.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'os/kernel/include') diff --git a/os/kernel/include/chregistry.h b/os/kernel/include/chregistry.h index ad1bdf207..2b1d35795 100644 --- a/os/kernel/include/chregistry.h +++ b/os/kernel/include/chregistry.h @@ -30,6 +30,23 @@ #define _CHREGISTRY_H_ #if CH_USE_REGISTRY || defined(__DOXYGEN__) + +/** + * @brief ChibiOS/RT memory signature record. + */ +typedef struct { + char ch_identifier[4]; /**< @brief Always set to "CHRT". */ + uint8_t ch_size; /**< @brief Size of this structure. */ + uint8_t ch_reserved5; /**< @brief Reserved field. */ + uint16_t ch_version; /**< @brief Encoded ChibiOS/RT version. */ + uint8_t ch_ptrsize; /**< @brief Size of a pointer. */ + uint8_t ch_options; /**< @brief Enable options bits mask. */ + uint8_t ch_reserved10; /**< @brief Reserved field. */ + uint8_t ch_reserved11; /**< @brief Reserved field. */ + ReadyList *ch_rlist; /**< @brief Pointer to the ready list. */ + VTList *ch_vtlist; /**< @brief Pointer to the timers list. */ +} chroot_t; + /** * @name Macro Functions * @{ -- cgit v1.2.3