X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=kern%2Fproc_p.h;h=5daf0dd0d47568c7c610c308fc7152a45faa5e24;hb=4afd09ec0c80aa1611fc3b5a3517e9c0d1755cfd;hp=812131bd13ac54328104def099ddd64dfd9275d9;hpb=a784017154df4320114e044c4b7eda76ea0a2a9a;p=bertos.git diff --git a/kern/proc_p.h b/kern/proc_p.h index 812131bd..5daf0dd0 100755 --- a/kern/proc_p.h +++ b/kern/proc_p.h @@ -15,6 +15,10 @@ /* * $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 * @@ -46,7 +50,6 @@ #include "config_kern.h" #include - 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 + +#if CONFIG_KERN_MONITOR + struct ProcMonitor + { + Node link; + cpustack_t* stack_base; + size_t stack_size; + } monitor; +#endif + } Process;