X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=kern%2Fproc_p.h;h=7ac481760e123f3c96208581bb8070ebcbda5b44;hb=3b33848a29f6a9ba49a2913ba6b721e01d8b95f5;hp=d4961ebb1d1b36c1510d5f6d4ffee42a541e0cec;hpb=7be79ed82e47606fa35a4ef58f11c4723d22087a;p=bertos.git diff --git a/kern/proc_p.h b/kern/proc_p.h index d4961ebb..7ac48176 100755 --- a/kern/proc_p.h +++ b/kern/proc_p.h @@ -3,7 +3,7 @@ * * * \brief Internal scheduler structures and definitions for processes. @@ -15,6 +15,24 @@ /*#* *#* $Log$ + *#* Revision 1.15 2005/11/27 23:36:19 bernie + *#* Use appconfig.h instead of cfg/config.h. + *#* + *#* Revision 1.14 2005/11/04 16:20:02 bernie + *#* Fix reference to README.devlib in header. + *#* + *#* Revision 1.13 2005/04/11 19:10:28 bernie + *#* Include top-level headers from cfg/ subdir. + *#* + *#* Revision 1.12 2004/12/08 08:57:35 bernie + *#* Rename sigset_t to sigmask_t. + *#* + *#* Revision 1.11 2004/11/16 22:37:14 bernie + *#* Replace IPTR with iptr_t. + *#* + *#* Revision 1.10 2004/10/19 11:47:07 bernie + *#* Add missing #endif. + *#* *#* Revision 1.9 2004/10/19 08:55:31 bernie *#* Define forbid_cnt. *#* @@ -59,25 +77,26 @@ #ifndef KERN_PROC_P_H #define KERN_PROC_P_H -#include "compiler.h" -#include "cpu.h" /* for cpu_stack_t */ -#include "config.h" -#include "config_kern.h" +#include +#include /* for cpu_stack_t */ #include +#include +#include typedef struct Process { Node link; /*!< Link Process into scheduler lists */ cpustack_t *stack; /*!< Per-process SP */ - IPTR user_data; /*!< Custom data passed to the process */ + iptr_t user_data; /*!< Custom data passed to the process */ #if CONFIG_KERN_SIGNALS - sigset_t sig_wait; /*!< Signals the process is waiting for */ - sigset_t sig_recv; /*!< Received signals */ + sigmask_t sig_wait; /*!< Signals the process is waiting for */ + sigmask_t sig_recv; /*!< Received signals */ #endif -#if CONFIG_PROC_PREEMPTIVE +#if CONFIG_KERN_PREEMPTIVE int forbid_cnt; /*!< Nesting count for proc_forbid()/proc_permit(). */ +#endif #if CONFIG_KERN_HEAP uint16_t flags; /*!< Flags */