diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-20 15:17:19 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-20 15:17:19 +0000 |
commit | 69a2786e6d69fc3b478a1f1458312e4bb20260d1 (patch) | |
tree | dea74b55e662725c7095c9d9feb6283f50ec4ddd /nuttx/include/nuttx/compiler.h | |
parent | 6303b09ef4ae94d342be569cc5d58ee0770d638a (diff) | |
download | nuttx-69a2786e6d69fc3b478a1f1458312e4bb20260d1.tar.gz nuttx-69a2786e6d69fc3b478a1f1458312e4bb20260d1.tar.bz2 nuttx-69a2786e6d69fc3b478a1f1458312e4bb20260d1.zip |
Add MAX11802 touchscreeen driver from Petteri Aimonen
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5237 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/nuttx/compiler.h')
-rw-r--r-- | nuttx/include/nuttx/compiler.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/nuttx/include/nuttx/compiler.h b/nuttx/include/nuttx/compiler.h index 1e0af4382..bbb23d01d 100644 --- a/nuttx/include/nuttx/compiler.h +++ b/nuttx/include/nuttx/compiler.h @@ -87,11 +87,16 @@ # define packed_struct __attribute__ ((packed)) -/* GCC does not support the reentrant or naked attributes */ +/* GCC does not support the reentrant attribute */ # define reentrant_function -# define naked_function +/* The naked attribute informs GCC that the programmer will take care of + * the function prolog and epilog. + */ + +# define naked_function __attribute__ ((naked,no_instrument_function)) + /* The inline_function attribute informs GCC that the function should always * be inlined, regardless of the level of optimization. The noinline_function * indicates that the function should never be inlined. |