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

Autogenerate sparc64 fibril context_t and its offsets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/sparc64/include/libarch/fibril.h

    r089901e r50805c9  
    3737
    3838#include <libarch/stack.h>
     39#include <libarch/fibril_context.h>
    3940#include <sys/types.h>
    4041#include <align.h>
     
    5152        } while (0)
    5253
    53 /*
    54  * Save only registers that must be preserved across
    55  * function calls.
    56  */
    57 typedef struct {
    58         uintptr_t sp;           /* %o6 */
    59         uintptr_t pc;           /* %o7 */
    60         uint64_t i0;
    61         uint64_t i1;
    62         uint64_t i2;
    63         uint64_t i3;
    64         uint64_t i4;
    65         uint64_t i5;
    66         uintptr_t fp;           /* %i6 */
    67         uintptr_t i7;
    68         uint64_t l0;
    69         uint64_t l1;
    70         uint64_t l2;
    71         uint64_t l3;
    72         uint64_t l4;
    73         uint64_t l5;
    74         uint64_t l6;
    75         uint64_t l7;
    76         uint64_t tp;            /* %g7 */
    77 } context_t;
    78 
    7954static inline uintptr_t context_get_fp(context_t *ctx)
    8055{
Note: See TracChangeset for help on using the changeset viewer.