Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/include/arch/context.h

    rc5429fe r336b739  
    4040#include <arch/stack.h>
    4141#include <arch/context_struct.h>
     42#include <arch/regutils.h>
    4243
    4344/* Put one item onto the stack to support get_stack_base() and align it up. */
     
    4950                (c)->sp = ((uintptr_t) (stack)) + (size) - SP_DELTA; \
    5051                (c)->fp = 0; \
     52                (c)->cpu_mode = SUPERVISOR_MODE; \
    5153        } while (0)
    5254
Note: See TracChangeset for help on using the changeset viewer.