[Tinyos-beta-commits] CVS: tinyos-1.x/beta/platform/pxa27x
pxa27xhardware.h, 1.2, 1.3
Lama Nachman
lnachman at users.sourceforge.net
Wed Aug 17 13:48:37 PDT 2005
- Previous message: [Tinyos-beta-commits]
CVS: tinyos-1.x/beta/teps/txt tep110.txt, NONE,
1.1 tep111.txt, NONE, 1.1
- Next message: [Tinyos-beta-commits] CVS: tinyos-1.x/beta/Drip DripTest.h, NONE,
1.1 DripTestC.nc, NONE, 1.1 DripTestM.nc, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-1.x/beta/platform/pxa27x
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31116
Modified Files:
pxa27xhardware.h
Log Message:
Added __nesc_atomic_sleep, for now it doesn't enable sleep.
Index: pxa27xhardware.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/platform/pxa27x/pxa27xhardware.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** pxa27xhardware.h 9 Mar 2005 23:45:54 -0000 1.2
--- pxa27xhardware.h 17 Aug 2005 20:48:35 -0000 1.3
***************
*** 110,113 ****
--- 110,114 ----
{
// Place PXA into idle
+ #if 0
asm volatile (
"mcr p14,0,%0,c7,c0,0"
***************
*** 115,118 ****
--- 116,120 ----
: "r" (1)
);
+ #endif
}
***************
*** 190,192 ****
--- 192,204 ----
}
+ inline void __nesc_atomic_sleep()
+ {
+ /*
+ * Atomically enable interrupts and sleep ,
+ * LN : FOR NOW SLEEP IS DISABLED will be adding this functionality shortly
+ */
+ __nesc_enable_interrupt();
+ return;
+ }
+
#endif //TOSH_HARDWARE_H
- Previous message: [Tinyos-beta-commits]
CVS: tinyos-1.x/beta/teps/txt tep110.txt, NONE,
1.1 tep111.txt, NONE, 1.1
- Next message: [Tinyos-beta-commits] CVS: tinyos-1.x/beta/Drip DripTest.h, NONE,
1.1 DripTestC.nc, NONE, 1.1 DripTestM.nc, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-beta-commits
mailing list