projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compiling issues.
[bertos.git]
/
bertos
/
kern
/
msg.h
diff --git
a/bertos/kern/msg.h
b/bertos/kern/msg.h
index 05bbd7ef18c174782f6f368b3c3f7e2f595179cc..32232c56e018d3e2d487bddfb318fc840a50a96c 100644
(file)
--- a/
bertos/kern/msg.h
+++ b/
bertos/kern/msg.h
@@
-106,7
+106,7
@@
* } TestMsg;
*
*
* } TestMsg;
*
*
- *
static cpu_stack_t sender_stack[CONFIG_KERN_MINSTACKSIZE / sizeof(cpu_stack_t)]
;
+ *
PROC_DEFINE_STACK(sender_stack, KERN_MINSTACKSIZE)
;
*
* // A process that sends two messages and waits for replies.
* static void sender_proc(void)
*
* // A process that sends two messages and waits for replies.
* static void sender_proc(void)
@@
-174,6
+174,9
@@
* }
* }
* \endcode
* }
* }
* \endcode
+ *
+ * $WIZ$ module_name = "msg"
+ * $WIZ$ module_depends = "event", "signal", "kernel"
*/
*/
@@
-283,4
+286,8
@@
INLINE void msg_reply(Msg *msg)
msg_put(msg->replyPort, msg);
}
msg_put(msg->replyPort, msg);
}
+int msg_testRun(void);
+int msg_testSetup(void);
+int msg_testTearDown(void);
+
#endif /* KERN_MSG_H */
#endif /* KERN_MSG_H */