Add sam3n bechmark into nightly test.
[bertos.git] / bertos / kern / sem.h
index dfb7976a4de0f9b1f7552de3de9e6ca10b909c30..1e59c07fd7a42e2ec16e7e9cf3408d36a95bef11 100644 (file)
  *
  * -->
  *
+ * \defgroup kern_sem Mutually exclusive semaphores
+ * \ingroup kern
+ * \{
  * \brief Mutually exclusive semaphores.
  *        Shared locking not supported in this implementation.
  *
- * \version $Id$
  *
  * \author Bernie Innocenti <bernie@codewiz.org>
+ *
+ * $WIZ$ module_name = "semaphores"
+ * $WIZ$ module_depends = "kernel"
+ * $WIZ$ module_configuration = "bertos/cfg/cfg_sem.h"
  */
 
 
@@ -44,7 +50,7 @@
 #define KERN_SEM_H
 
 #include <cfg/compiler.h>
-#include <mware/list.h>
+#include <struct/list.h>
 
 /* Fwd decl */
 struct Process;
@@ -66,5 +72,10 @@ bool sem_attempt(struct Semaphore *s);
 void sem_obtain(struct Semaphore *s);
 void sem_release(struct Semaphore *s);
 /* \} */
+/* \} */ //defgroup kern_sem
+
+int sem_testRun(void);
+int sem_testSetup(void);
+int sem_testTearDown(void);
 
 #endif /* KERN_SEM_H */