[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/atm128 Atm128UartP.nc, 1.5, 1.6
John Regehr
regehr at users.sourceforge.net
Mon Jun 2 20:01:01 PDT 2008
Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/atm128
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv16648
Modified Files:
Atm128UartP.nc
Log Message:
safe tinyos annotations
Index: Atm128UartP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/atm128/Atm128UartP.nc,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Atm128UartP.nc 27 Nov 2007 19:26:45 -0000 1.5
--- Atm128UartP.nc 3 Jun 2008 03:00:59 -0000 1.6
***************
*** 60,65 ****
implementation{
- norace uint8_t *m_tx_buf, *m_rx_buf;
norace uint16_t m_tx_len, m_rx_len;
norace uint16_t m_tx_pos, m_rx_pos;
norace uint16_t m_byte_time;
--- 60,65 ----
implementation{
norace uint16_t m_tx_len, m_rx_len;
+ norace uint8_t *COUNT_NOK(m_tx_len) m_tx_buf, * COUNT_NOK(m_rx_len) m_rx_buf;
norace uint16_t m_tx_pos, m_rx_pos;
norace uint16_t m_byte_time;
***************
*** 160,165 ****
return EBUSY;
- m_tx_buf = buf;
m_tx_len = len;
m_tx_pos = 0;
m_tx_intr = 1;
--- 160,165 ----
return EBUSY;
m_tx_len = len;
+ m_tx_buf = buf;
m_tx_pos = 0;
m_tx_intr = 1;
More information about the Tinyos-2-commits
mailing list