Ignore:
Timestamp:
2014-09-06T09:50:00Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3831af
Parents:
50805c9
Message:

Autogenerate sparc64 kernel context_t and its offsets.

File:
1 edited

Legend:

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

    r50805c9 rb482287  
    3737
    3838#include <arch/stack.h>
     39#include <arch/context_struct.h>
    3940#include <typedefs.h>
    4041#include <align.h>
     
    5051        } while (0)
    5152
    52 /*
    53  * Save only registers that must be preserved across
    54  * function calls.
    55  */
    56 typedef 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 
    7853#endif
    7954
Note: See TracChangeset for help on using the changeset viewer.