]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/system/tos.h
Creation.
[tinyos-2.x.git] / tos / system / tos.h
index 18d8bb4c18f921594679153670c65c40ac9ad8de..9b9a17dbed06bbb3b3a4a542f1248132d1e18488 100644 (file)
@@ -16,6 +16,7 @@
 #include <stddef.h>
 #include <ctype.h>
 
+
 typedef uint8_t bool;
 enum { FALSE = 0, TRUE = 1 };
 
@@ -30,9 +31,17 @@ struct @atmostonce { };
 struct @atleastonce { };
 struct @exactlyonce { };
 
+/* This platform_bootstrap macro exists in accordance with TEP
+   107. A platform may override this through a platform.h file. */
+#include <platform.h>
+#ifndef platform_bootstrap
+#define platform_bootstrap() {}
+#endif
+
 #ifndef TOSSIM
 #define dbg(s, ...) 
 #define dbgerror(s, ...) 
 #define dbg_clear(s, ...) 
 #define dbgerror_clear(s, ...) 
 #endif
+