Changeset f2ffad4 in mainline for src/main/main.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/main/main.c
rea3fb2e rf2ffad4 54 54 55 55 #include <arch.h> 56 #include <arch/faddr.h> 56 57 57 58 char *project = "SPARTAN kernel"; … … 95 96 context_save(&ctx); 96 97 ctx.sp = config.base + config.kernel_size - 8; 97 ctx.pc = (__address) main_bsp_separated_stack;98 ctx.pc = FADDR(main_bsp_separated_stack); 98 99 context_restore(&ctx); 99 100 /* not reached */ … … 193 194 */ 194 195 CPU->saved_context.sp = (__address) &CPU->stack[CPU_STACK_SIZE-8]; 195 CPU->saved_context.pc = (__address) main_ap_separated_stack;196 CPU->saved_context.pc = FADDR(main_ap_separated_stack); 196 197 context_restore(&CPU->saved_context); 197 198 /* not reached */
Note:
See TracChangeset
for help on using the changeset viewer.