Changeset d53aba3f in mainline for arch/sparc64/include/context.h


Ignore:
Timestamp:
2005-12-21T23:22:38Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
096d11e5
Parents:
113b98b
Message:

sparc64 work.
Context again. It turns out, according to SCD 2.4, that registers that didn't have to be saved were saved (%o1 - %o5) and
registers that had to be saved were not saved (%i0 - %i5, %l0 - %l7).

File:
1 edited

Legend:

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

    r113b98b rd53aba3f  
    5656/*
    5757 * Only save registers that must be preserved across
    58  * function calls and that are not saved in caller's
    59  * register window.
     58 * function calls.
    6059 */
    6160struct context {
    62         __u64 o1;
    63         __u64 o2;
    64         __u64 o3;
    65         __u64 o4;
    66         __u64 o5;
    6761        __address sp;           /* %o6 */
    6862        __address pc;           /* %o7 */
     63        __u64 i0;
     64        __u64 i1;
     65        __u64 i2;
     66        __u64 i3;
     67        __u64 i4;
     68        __u64 i5;
    6969        __address fp;           /* %i6 */
    7070        __address i7;
     71        __u64 l0;
     72        __u64 l1;
     73        __u64 l2;
     74        __u64 l3;
     75        __u64 l4;
     76        __u64 l5;
     77        __u64 l6;
     78        __u64 l7;
    7179        ipl_t ipl;
    7280};
Note: See TracChangeset for help on using the changeset viewer.