Changeset 62c63fc in mainline
- Timestamp:
- 2007-01-22T12:56:29Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e7b7be3f
- Parents:
- da1f9dc
- Location:
- kernel/generic/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/arch.h
rda1f9dc r62c63fc 60 60 * the base address of the stack. 61 61 */ 62 struct the{62 typedef struct { 63 63 count_t preemption_disabled; /**< Preemption disabled counter. */ 64 64 thread_t *thread; /**< Current thread. */ … … 66 66 cpu_t *cpu; /**< Executing cpu. */ 67 67 as_t *as; /**< Current address space. */ 68 } ;68 } the_t; 69 69 70 70 #define THE ((the_t *)(get_stack_base())) -
kernel/generic/include/proc/scheduler.h
rda1f9dc r62c63fc 46 46 47 47 /** Scheduler run queue structure. */ 48 struct runq{48 typedef struct { 49 49 SPINLOCK_DECLARE(lock); 50 50 link_t rq_head; /**< List of ready threads. */ 51 51 count_t n; /**< Number of threads in rq_ready. */ 52 } ;52 } runq_t; 53 53 54 54 extern atomic_t nrdy; -
kernel/generic/include/time/timeout.h
rda1f9dc r62c63fc 45 45 typedef void (* timeout_handler_t)(void *arg); 46 46 47 struct timeout {47 typedef struct { 48 48 SPINLOCK_DECLARE(lock); 49 49 … … 56 56 57 57 cpu_t *cpu; /**< On which processor is this timeout registered. */ 58 } ;58 } timeout_t; 59 59 60 60 extern void timeout_init(void); -
kernel/generic/include/typedefs.h
rda1f9dc r62c63fc 53 53 typedef struct fpu_context fpu_context_t; 54 54 55 typedef struct timeout timeout_t;56 57 typedef struct runq runq_t;58 59 55 typedef struct spinlock spinlock_t; 60 56 typedef struct mutex mutex_t; … … 73 69 74 70 typedef struct link link_t; 75 76 typedef struct the the_t;77 71 78 72 typedef struct chardev chardev_t;
Note:
See TracChangeset
for help on using the changeset viewer.