Changeset 4760793 in mainline for kernel/generic/src/main/main.c
- Timestamp:
- 2024-01-14T18:23:40Z (4 months ago)
- Branches:
- master
- Children:
- 5663872, c7ceacf
- Parents:
- 3b68542
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/main.c
r3b68542 r4760793 328 328 ARCH_OP(post_cpu_init); 329 329 330 current_copy(CURRENT, (current_t *) CPU ->stack);330 current_copy(CURRENT, (current_t *) CPU_LOCAL->stack); 331 331 332 332 /* … … 338 338 context_save(&ctx); 339 339 context_set(&ctx, FADDR(main_ap_separated_stack), 340 (uintptr_t) CPU ->stack, STACK_SIZE);340 (uintptr_t) CPU_LOCAL->stack, STACK_SIZE); 341 341 context_restore(&ctx); 342 342 /* not reached */
Note:
See TracChangeset
for help on using the changeset viewer.