projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Factor out from cfg_kern kernel related default.
[bertos.git]
/
bertos
/
kern
/
monitor.c
diff --git
a/bertos/kern/monitor.c
b/bertos/kern/monitor.c
index 14fac07b7323a007b9e67c773fceea932e5fe5aa..362bb82dd2a077f12d1e97f8423bb7c3ec052e5d 100644
(file)
--- a/
bertos/kern/monitor.c
+++ b/
bertos/kern/monitor.c
@@
-26,14
+26,13
@@
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*
- * Copyright 2004 Develer S.r.l. (http://www.develer.com/)
+ * Copyright 2004
, 2008
Develer S.r.l. (http://www.develer.com/)
*
* -->
*
* \brief Monitor to check for stack overflows
*
* \version $Id$
*
* -->
*
* \brief Monitor to check for stack overflows
*
* \version $Id$
- *
* \author Giovanni Bajo <rasky@develer.com>
*/
* \author Giovanni Bajo <rasky@develer.com>
*/
@@
-67,7
+66,7
@@
void monitor_add(Process *proc, const char *name)
}
}
-void monitor_remove(Process
*
proc)
+void monitor_remove(Process
*
proc)
{
REMOVE(&proc->monitor.link);
}
{
REMOVE(&proc->monitor.link);
}
@@
-83,9
+82,9
@@
void monitor_rename(Process *proc, const char *name)
size_t monitor_checkStack(cpustack_t *stack_base, size_t stack_size)
{
size_t monitor_checkStack(cpustack_t *stack_base, size_t stack_size)
{
- cpustack_t
*
beg;
- cpustack_t
*
cur;
- cpustack_t
*
end;
+ cpustack_t
*
beg;
+ cpustack_t
*
cur;
+ cpustack_t
*
end;
size_t sp_free;
beg = stack_base;
size_t sp_free;
beg = stack_base;