- Timestamp:
- 2005-10-17T23:31:41Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4b2c872d
- Parents:
- 75eacab
- Location:
- include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
include/arch.h
r75eacab r22f7769 47 47 #endif /* early_mapping */ 48 48 49 /* 49 /** 50 50 * For each possible kernel stack, structure 51 51 * of the following type will be placed at … … 53 53 */ 54 54 struct the { 55 int preemption_disabled; 56 thread_t *thread; /* current thread*/57 task_t *task; /* current task*/58 cpu_t *cpu; /* executing cpu*/59 vm_t *vm; /* current vm*/55 int preemption_disabled; /**< Preemption disabled counter. */ 56 thread_t *thread; /**< Current thread. */ 57 task_t *task; /**< Current task. */ 58 cpu_t *cpu; /**< Executing cpu. */ 59 vm_t *vm; /**< Current vm. */ 60 60 }; 61 61 … … 70 70 extern void calibrate_delay_loop(void); 71 71 72 extern pri_t cpu_priority_high(void);73 extern pri_t cpu_priority_low(void);74 extern void cpu_priority_restore(pri_t pri);75 extern pri_t cpu_priority_read(void);72 extern ipl_t interrupts_disable(void); 73 extern ipl_t interrupts_enable(void); 74 extern void interrupts_restore(ipl_t ipl); 75 extern ipl_t interrupts_read(void); 76 76 77 77 #endif -
include/proc/thread.h
r75eacab r22f7769 101 101 __u64 ticks; /**< Ticks before preemption. */ 102 102 103 int pri ; /**< Thread's priority. Implemented as index of run queue.*/103 int priority; /**< Thread's priority. Implemented as index to CPU->rq */ 104 104 __u32 tid; /**< Thread ID. */ 105 105
Note:
See TracChangeset
for help on using the changeset viewer.