From 8a162d65ea7f9b84c6b895d0cebf8e6193f4f725 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 30 Nov 2013 09:12:10 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6515 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/nil/ports/ARMCMx/compilers/GCC/niltypes.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'os/nil') diff --git a/os/nil/ports/ARMCMx/compilers/GCC/niltypes.h b/os/nil/ports/ARMCMx/compilers/GCC/niltypes.h index 8b206cb1d..5c4781909 100644 --- a/os/nil/ports/ARMCMx/compilers/GCC/niltypes.h +++ b/os/nil/ports/ARMCMx/compilers/GCC/niltypes.h @@ -77,6 +77,11 @@ typedef uint32_t ucnt_t; /**< Generic unsigned counter. */ #define PORT_THD_FUNCTION(tname, arg) \ __attribute__((noreturn)) void tname(void *arg) +/** + * @brief Packed variable specifier. + */ +#define PACKED_VAR __attribute__((packed)) + #endif /* _NILTYPES_H_ */ /** @} */ -- cgit v1.2.3