Changeset 3e1607f in mainline
- Timestamp:
- 2005-08-31T22:00:32Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cd95d784
- Parents:
- d2bb9f8a
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips/src/exception.c
rd2bb9f8a r3e1607f 40 40 __u32 epc_shift = 0; 41 41 pri_t pri; 42 42 43 /* 44 * NOTE ON OPERATION ORDERING 45 * 46 * On entry, cpu_priority_high() must be called before exception bit is cleared. 47 * On exit, exception bit must be set before cpu_priority_restore() is called. 48 */ 49 43 50 pri = cpu_priority_high(); 44 51 epc = cp0_epc_read(); -
src/proc/scheduler.c
rd2bb9f8a r3e1607f 136 136 continue; 137 137 } 138 138 139 139 /* avoid deadlock with relink_rq() */ 140 140 if (!spinlock_trylock(&CPU->lock)) { … … 413 413 #endif 414 414 415 /* 416 * Copy the knowledge of CPU, TASK, THREAD and preemption counter to thread's stack. 417 */ 415 418 the_copy(THE, (the_t *) THREAD->kstack); 416 419 -
src/proc/thread.c
rd2bb9f8a r3e1607f 76 76 void *arg = THREAD->thread_arg; 77 77 78 /* this is where each thread wakes up after its creation */ 78 79 before_thread_runs(); 79 80 80 /* this is where each thread wakes up after its creation */81 81 spinlock_unlock(&THREAD->lock); 82 82 cpu_priority_low();
Note:
See TracChangeset
for help on using the changeset viewer.