Changeset 7f1bfce in mainline for src/main/main.c
- Timestamp:
- 2005-05-17T20:46:19Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6b96ab44
- Parents:
- 87be9cfb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/main.c
r87be9cfb r7f1bfce 95 95 96 96 context_save(&ctx); 97 ctx.sp = config.base + config.kernel_size - 8;97 ctx.sp = config.base + config.kernel_size - SP_DELTA; 98 98 ctx.pc = FADDR(main_bsp_separated_stack); 99 99 context_restore(&ctx); … … 193 193 * switch to this cpu's private stack prior to waking kmp up. 194 194 */ 195 CPU->saved_context.sp = (__address) &CPU->stack[CPU_STACK_SIZE- 8];195 CPU->saved_context.sp = (__address) &CPU->stack[CPU_STACK_SIZE-SP_DELTA]; 196 196 CPU->saved_context.pc = FADDR(main_ap_separated_stack); 197 197 context_restore(&CPU->saved_context);
Note:
See TracChangeset
for help on using the changeset viewer.