Changeset f2ffad4 in mainline for src/proc/thread.c
- Timestamp:
- 2005-05-12T20:37:03Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- da79d0fd
- Parents:
- ea3fb2e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/proc/thread.c
rea3fb2e rf2ffad4 49 49 #include <arch/interrupt.h> 50 50 #include <smp/ipi.h> 51 #include <arch/faddr.h> 51 52 52 53 char *thread_states[] = {"Invalid", "Running", "Sleeping", "Ready", "Entering", "Exiting"}; … … 165 166 166 167 context_save(&t->saved_context); 167 t->saved_context.pc = (__address) cushion;168 t->saved_context.pc = FADDR(cushion); 168 169 t->saved_context.sp = (__address) &t->kstack[THREAD_STACK_SIZE-8]; 169 170
Note:
See TracChangeset
for help on using the changeset viewer.