Ignore:
File:
1 edited

Legend:

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

    rb482287 r6ecf5b8  
    3737
    3838#include <arch/stack.h>
    39 #include <arch/context_struct.h>
    4039#include <typedefs.h>
    4140#include <align.h>
     
    5150        } while (0)
    5251
     52/*
     53 * Save only registers that must be preserved across
     54 * function calls.
     55 */
     56typedef struct {
     57        uintptr_t sp;           /* %o6 */
     58        uintptr_t pc;           /* %o7 */
     59        uint64_t i0;
     60        uint64_t i1;
     61        uint64_t i2;
     62        uint64_t i3;
     63        uint64_t i4;
     64        uint64_t i5;
     65        uintptr_t fp;           /* %i6 */
     66        uintptr_t i7;
     67        uint64_t l0;
     68        uint64_t l1;
     69        uint64_t l2;
     70        uint64_t l3;
     71        uint64_t l4;
     72        uint64_t l5;
     73        uint64_t l6;
     74        uint64_t l7;
     75        ipl_t ipl;
     76} context_t;
     77
    5378#endif
    5479
Note: See TracChangeset for help on using the changeset viewer.