Changeset b24786a in mainline


Ignore:
Timestamp:
2008-11-11T06:56:20Z (15 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a2a5529
Parents:
adb5fe3
Message:

On Itanium there is nead to preserve at least gp when switching APs to separate stack. Safer way is to save all context and to do it on all platforms.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/main.c

    radb5fe3 rb24786a  
    329329         * switch to this cpu's private stack prior to waking kmp up.
    330330         */
     331        context_save(&CPU->saved_context);
    331332        context_set(&CPU->saved_context, FADDR(main_ap_separated_stack),
    332333            (uintptr_t) CPU->stack, CPU_STACK_SIZE);
Note: See TracChangeset for help on using the changeset viewer.