]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/atm128/sim/atm128hardware.h
Remove bogus 'tab:4' and 'tab:2' markers.
[tinyos-2.x.git] / tos / chips / atm128 / sim / atm128hardware.h
index a959ceb57f3c23b81e68cde7748b9602a7d2cbd7..f8b69567d219e5f12d6cff9e2585e3d99bb87caf 100644 (file)
@@ -1,4 +1,4 @@
-/*                                                                     tab:4
+/*                                                                     
  *  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.  By
  *  downloading, copying, installing or using the software you agree to
  *  this license.  If you do not agree to this license, do not download,
@@ -48,10 +48,10 @@ uint8_t atm128RegFile[TOSSIM_MAX_NODES][0xa0];
 
 /* We need slightly different defs than SIGNAL, INTERRUPT */
 #define AVR_ATOMIC_HANDLER(signame) \
-  void signame() __attribute__ ((spontaneous, C))
+  void signame() @spontaneous() @C()
 
 #define AVR_NONATOMIC_HANDLER(signame) \
-  void signame() __attribute__ ((spontaneous, C))
+  void signame() @spontaneous() @C()
 
 /* Macro to create union casting functions. */
 #define DEFINE_UNION_CAST(func_name, from_type, to_type) \
@@ -89,7 +89,7 @@ typedef uint8_t __nesc_atomic_t;
 
 /* Saves current interrupt mask state and disables interrupts. */
 inline __nesc_atomic_t 
-__nesc_atomic_start(void) __attribute__((spontaneous))
+__nesc_atomic_start(void) @spontaneous()
 {
     __nesc_atomic_t result = SREG;
     __nesc_disable_interrupt();
@@ -98,7 +98,7 @@ __nesc_atomic_start(void) __attribute__((spontaneous))
 
 /* Restores interrupt mask to original state. */
 inline void 
-__nesc_atomic_end(__nesc_atomic_t original_SREG) __attribute__((spontaneous))
+__nesc_atomic_end(__nesc_atomic_t original_SREG) @spontaneous()
 {
   SREG = original_SREG;
 }