Changeset be50915 in mainline for src/main/main.c
- Timestamp:
- 2005-05-08T14:17:52Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5dc2112
- Parents:
- aa4e8d7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/main.c
raa4e8d7 rbe50915 92 92 config.kernel_size = hardcoded_ktext_size + hardcoded_kdata_size + CONFIG_HEAP_SIZE + CONFIG_STACK_SIZE; 93 93 94 context_save(&ctx); /* There is no nead to save FPU context */94 context_save(&ctx); 95 95 ctx.sp = config.base + config.kernel_size - 8; 96 96 ctx.pc = (__address) main_bsp_separated_stack; 97 context_restore(&ctx); /* There is no nead to load FPU context */97 context_restore(&ctx); 98 98 /* not reached */ 99 99 } … … 193 193 CPU->saved_context.sp = (__address) &CPU->stack[CPU_STACK_SIZE-8]; 194 194 CPU->saved_context.pc = (__address) main_ap_separated_stack; 195 context_restore(&CPU->saved_context); /* There is no nead to load FPU context */195 context_restore(&CPU->saved_context); 196 196 /* not reached */ 197 197 }
Note:
See TracChangeset
for help on using the changeset viewer.