// $Id$
-/* tab:4
+/*
* "Copyright (c) 2000-2003 The Regents of the University of California.
* All rights reserved.
*
// We need slightly different defs than SIGNAL, INTERRUPT
#define TOSH_SIGNAL(signame) \
-void signame() __attribute__ ((signal, spontaneous, C))
+ void signame() __attribute__ ((signal)) @spontaneous() @C()
#define TOSH_INTERRUPT(signame) \
-void signame() __attribute__ ((interrupt, spontaneous, C))
+ void signame() __attribute__ ((interrupt)) @spontaneous() @C()
/* Watchdog Prescaler
*/
/* #ifndef NESC_BUILD_BINARY */
-/* inline __nesc_atomic_t __nesc_atomic_start(void) __attribute__((spontaneous)) */
+/* inline __nesc_atomic_t __nesc_atomic_start(void) @spontaneous() */
/* { */
/* __nesc_atomic_t result = inp(SREG); */
/* cli(); */
/* return result; */
/* } */
-/* inline void __nesc_atomic_end(__nesc_atomic_t oldSreg) __attribute__((spontaneous)) */
+/* inline void __nesc_atomic_end(__nesc_atomic_t oldSreg) @spontaneous() */
/* { */
/* outp(oldSreg, SREG); */
/* } */