[Tinyos-beta-commits] CVS: tinyos-1.x/beta/platform/imote2 AM.h, 1.1, 1.2

Robbie Adler radler at users.sourceforge.net
Mon Sep 19 13:49:46 PDT 2005


Update of /cvsroot/tinyos/tinyos-1.x/beta/platform/imote2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19484

Modified Files:
	AM.h 
Log Message:
to be compatible with DMA and WB caching, TOSMsg's need to be alinged on a 32 byte cache line boundary

Index: AM.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/platform/imote2/AM.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** AM.h	13 Nov 2004 01:11:44 -0000	1.1
--- AM.h	19 Sep 2005 20:49:44 -0000	1.2
***************
*** 93,97 ****
    bool ack;
    uint16_t time;
! } __attribute((packed)) TOS_Msg;
  
  enum {
--- 93,97 ----
    bool ack;
    uint16_t time;
! } __attribute((packed, aligned(32))) TOS_Msg;
  
  enum {



More information about the Tinyos-beta-commits mailing list