Changeset a6e55886 in mainline for kernel/generic/src/proc/scheduler.c
- Timestamp:
- 2018-11-01T14:30:03Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d1da1ff2
- Parents:
- bab75df6
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-01 14:30:03)
- git-committer:
- GitHub <noreply@…> (2018-11-01 14:30:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/scheduler.c
rbab75df6 ra6e55886 363 363 364 364 /* 365 * Through the ' THE' structure, we keep track of THREAD, TASK, CPU, AS366 * and preemption counter. At this point THEcould be coming either365 * Through the 'CURRENT' structure, we keep track of THREAD, TASK, CPU, AS 366 * and preemption counter. At this point CURRENT could be coming either 367 367 * from THREAD's or CPU's stack. 368 368 * 369 369 */ 370 the_copy(THE, (the_t *) CPU->stack);370 current_copy(CURRENT, (current_t *) CPU->stack); 371 371 372 372 /* … … 548 548 * thread's stack. 549 549 */ 550 the_copy(THE, (the_t *) THREAD->kstack);550 current_copy(CURRENT, (current_t *) THREAD->kstack); 551 551 552 552 context_restore(&THREAD->saved_context);
Note:
See TracChangeset
for help on using the changeset viewer.