Changeset 1a5fe4f in mainline for kernel/generic/include
- Timestamp:
- 2018-11-09T18:09:55Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1892d2c
- Parents:
- 3875f106 (diff), ef4218f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jakub Jermář <jakub@…> (2018-11-09 18:09:55)
- git-committer:
- GitHub <noreply@…> (2018-11-09 18:09:55)
- Location:
- kernel/generic/include
- Files:
-
- 6 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/arch.h
r3875f106 r1a5fe4f 66 66 typedef struct { 67 67 size_t preemption; /**< Preemption disabled counter and flag. */ 68 #ifdef RCU_PREEMPT_A69 size_t rcu_nesting; /**< RCU nesting count and flag. */70 #endif71 68 struct thread *thread; /**< Current thread. */ 72 69 struct task *task; /**< Current task. */ -
kernel/generic/include/cpu.h
r3875f106 r1a5fe4f 38 38 #include <mm/tlb.h> 39 39 #include <synch/spinlock.h> 40 #include <synch/rcu_types.h>41 40 #include <proc/scheduler.h> 42 41 #include <arch/cpu.h> … … 99 98 100 99 /** 101 * SMP calls to invoke on this CPU.102 */103 SPINLOCK_DECLARE(smp_calls_lock);104 list_t smp_pending_calls;105 106 /** RCU per-cpu data. Uses own locking. */107 rcu_cpu_data_t rcu;108 109 /**110 100 * Stack used by scheduler when there is no running thread. 111 101 */ -
kernel/generic/include/proc/task.h
r3875f106 r1a5fe4f 43 43 #include <synch/mutex.h> 44 44 #include <synch/futex.h> 45 #include <synch/workqueue.h>46 #include <adt/cht.h>47 45 #include <adt/list.h> 48 46 #include <adt/odict.h> … … 130 128 task_arch_t arch; 131 129 132 struct futex_cache { 133 /** CHT mapping virtual addresses of futex variables to futex objects.*/ 134 cht_t ht; 135 /** Serializes access to futex_list.*/ 136 SPINLOCK_DECLARE(list_lock); 137 /** List of all futexes accesses by this task. */ 138 list_t list; 139 work_t destroy_work; 140 } *futexes; 130 /** Serializes access to futex_list.*/ 131 SPINLOCK_DECLARE(futex_list_lock); 132 /** List of all futexes accesses by this task. */ 133 list_t futex_list; 141 134 142 135 /** Accumulated accounting. */ -
kernel/generic/include/proc/thread.h
r3875f106 r1a5fe4f 41 41 #include <cpu.h> 42 42 #include <synch/spinlock.h> 43 #include <synch/rcu_types.h>44 43 #include <adt/odict.h> 45 44 #include <mm/slab.h> … … 194 193 thread_id_t tid; 195 194 196 /** Work queue this thread belongs to or NULL. Immutable. */197 struct work_queue *workq;198 /** Links work queue threads. Protected by workq->lock. */199 link_t workq_link;200 /** True if the worker was blocked and is not running. Use thread->lock. */201 bool workq_blocked;202 /** True if the worker will block in order to become idle. Use workq->lock. */203 bool workq_idling;204 205 /** RCU thread related data. Protected by its own locks. */206 rcu_thread_data_t rcu;207 208 195 /** Architecture-specific data. */ 209 196 thread_arch_t arch; -
kernel/generic/include/synch/futex.h
r3875f106 r1a5fe4f 58 58 extern void futex_task_cleanup(void); 59 59 extern void futex_task_init(struct task *); 60 extern void futex_task_deinit(struct task *);61 60 62 61 #endif
Note:
See TracChangeset
for help on using the changeset viewer.