Ignore:
File:
1 edited

Legend:

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

    r6ecf5b8 r6a8ddd37  
    3939#include <align.h>
    4040#include <arch/stack.h>
     41#include <arch/context_struct.h>
    4142
    4243/* Put one item onto the stack to support get_stack_base() and align it up. */
     
    5253#ifndef __ASM__
    5354
    54 #include <typedefs.h>
    55 
    56 /** Thread context containing registers that must be preserved across function
    57  * calls.
    58  */
    59 typedef struct {
    60         uint32_t cpu_mode;
    61         uintptr_t sp;
    62         uintptr_t pc;
    63        
    64         uint32_t r4;
    65         uint32_t r5;
    66         uint32_t r6;
    67         uint32_t r7;
    68         uint32_t r8;
    69         uint32_t r9;
    70         uint32_t r10;
    71         uint32_t fp;    /* r11 */
    72        
    73         ipl_t ipl;
    74 } context_t;
    75 
    76 
    7755#endif /* __ASM__ */
    7856
Note: See TracChangeset for help on using the changeset viewer.