projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge da SC: prima versione veramente funzionante
[bertos.git]
/
kern
/
proc_p.h
diff --git
a/kern/proc_p.h
b/kern/proc_p.h
index 812131bd13ac54328104def099ddd64dfd9275d9..5daf0dd0d47568c7c610c308fc7152a45faa5e24 100755
(executable)
--- a/
kern/proc_p.h
+++ b/
kern/proc_p.h
@@
-15,6
+15,10
@@
/*
* $Log$
/*
* $Log$
+ * Revision 1.4 2004/07/30 14:24:16 rasky
+ * Task switching con salvataggio perfetto stato di interrupt (SR)
+ * Kernel monitor per dump informazioni su stack dei processi
+ *
* Revision 1.3 2004/07/14 14:18:09 rasky
* Merge da SC: Rimosso timer dentro il task, che è uno spreco di memoria per troppi task
*
* Revision 1.3 2004/07/14 14:18:09 rasky
* Merge da SC: Rimosso timer dentro il task, che è uno spreco di memoria per troppi task
*
@@
-46,7
+50,6
@@
#include "config_kern.h"
#include <mware/list.h>
#include "config_kern.h"
#include <mware/list.h>
-
typedef struct Process
{
Node link; /*!< Link Process into scheduler lists */
typedef struct Process
{
Node link; /*!< Link Process into scheduler lists */
@@
-62,6
+65,16
@@
typedef struct Process
cpustack_t *stack_base; /*!< Base of process stack */
size_t stack_size; /*!< Size of process stack */
#endif
cpustack_t *stack_base; /*!< Base of process stack */
size_t stack_size; /*!< Size of process stack */
#endif
+
+#if CONFIG_KERN_MONITOR
+ struct ProcMonitor
+ {
+ Node link;
+ cpustack_t* stack_base;
+ size_t stack_size;
+ } monitor;
+#endif
+
} Process;
} Process;