[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/msp430 msp430hardware.h, 1.4, 1.5

David Gay idgay at users.sourceforge.net
Mon Oct 8 13:10:18 PDT 2007


Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv26594/tos/chips/msp430

Modified Files:
	msp430hardware.h 
Log Message:
don't use __attribute__ for nesC attributes


Index: msp430hardware.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/msp430hardware.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** msp430hardware.h	23 May 2007 22:49:31 -0000	1.4
--- msp430hardware.h	8 Oct 2007 20:10:09 -0000	1.5
***************
*** 147,155 ****
  // The signal attribute has opposite meaning in msp430-gcc than in avr-gcc
  #define TOSH_SIGNAL(signame) \
! void sig_##signame() __attribute__((interrupt (signame), wakeup, C))
  
  // TOSH_INTERRUPT allows nested interrupts
  #define TOSH_INTERRUPT(signame) \
! void isr_##signame() __attribute__((interrupt (signame), signal, wakeup, C))
  
  
--- 147,155 ----
  // The signal attribute has opposite meaning in msp430-gcc than in avr-gcc
  #define TOSH_SIGNAL(signame) \
!   void sig_##signame() __attribute__((interrupt (signame), wakeup)) @C()
  
  // TOSH_INTERRUPT allows nested interrupts
  #define TOSH_INTERRUPT(signame) \
!   void isr_##signame() __attribute__((interrupt (signame), signal, wakeup)) @C()
  
  



More information about the Tinyos-2-commits mailing list