Ignore:
Timestamp:
Jan 29, 2018, 6:08:07 PM (6 years ago)
Author:
alain
Message:

blip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/thread.h

    r418 r428  
    7373#define THREAD_FLAG_SCHED        0x0004  /*! Scheduling required for this thread      */
    7474#define THREAD_FLAG_REQ_ACK      0x0008  /*! Acknowledge required from scheduler      */
    75 #define THREAD_FLAG_REQ_DELETE   0x0010  /*! Destruction required by scheduler        */
     75#define THREAD_FLAG_REQ_DELETE   0x0010  /*! Destruction required from scheduler      */
    7676
    7777/***************************************************************************************
     
    8989#define THREAD_BLOCKED_RPC       0x0200  /*! thread wait RPC completion               */
    9090#define THREAD_BLOCKED_DEV_ISR   0x0400  /*! thread DEV wait ISR                      */
     91#define THREAD_BLOCKED_WAIT      0x0800  /*! thread parent wait child termination     */
    9192
    9293/***************************************************************************************
     
    123124 * thread is registered in the local copy of the process descriptor.
    124125 *
    125  * WARNING : Don't modify the first 3 fields order, as this order is used by the
     126 * WARNING : Don't modify the first 4 fields order, as this order is used by the
    126127 * hal_kentry assembly code for the TSAR architecture.
    127128 **************************************************************************************/
     
    133134        void              * cpu_context;     /*! pointer on CPU context switch            */
    134135        void              * fpu_context;     /*! pointer on FPU context switch            */
    135     void              * uzone;           /*! used by hal_do_syscakl & hal_do_except   */
     136    void              * uzone_current;   /*! used by hal_do_syscall & hal_do_except   */
     137    void              * uzone_previous;  /*! used by hal_do_syscall & hal_do_except   */
    136138
    137139        intptr_t            k_stack_base;    /*! kernel stack base address                */
     
    150152        uint32_t            remote_locks;        /*! number of remote locks owned by thread   */
    151153
    152     remote_spinlock_t * join_lock;       /*! lock protecting the join/exit            */
     154    remote_spinlock_t   join_lock;       /*! lock protecting the join/exit            */
    153155    void              * join_value;      /*! exit_value used in case of join          */
    154156    xptr_t              join_xp;         /*! extended pointer on joining thread       */
     
    193195    xlist_entry_t       wait_list;       /*! member of threads blocked on same cond   */
    194196
    195 #if CONFIG_LOCKS_DEBUG
    196197    list_entry_t        locks_root;      /*! root of list of locks taken              */
    197198    xlist_entry_t       xlocks_root;     /*! root of xlist of remote locks taken      */
    198 #endif
    199199
    200200        thread_info_t       info;            /*! embedded thread_info_t                   */
Note: See TracChangeset for help on using the changeset viewer.