Changeset 86d05fae in mainline for libc/include/psthread.h


Ignore:
Timestamp:
2006-03-24T11:05:41Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4f2c821
Parents:
a71d9af9
Message:

TLS and pseudo thread support for ia64.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/include/psthread.h

    ra71d9af9 r86d05fae  
    3434
    3535#ifndef context_set
    36 #define context_set(c, _pc, stack, size, ptls)  \
    37         (c)->pc = (sysarg_t) (_pc);             \
    38         (c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \
     36#define context_set(c, _pc, stack, size, ptls)                  \
     37        (c)->pc = (sysarg_t) (_pc);                             \
     38        (c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA;     \
    3939        (c)->tls = (sysarg_t) (ptls);
    4040#endif /* context_set */
     
    4343
    4444struct psthread_data {
    45         struct psthread_data *self; /* IA32,AMD64 needs to get self address */
     45        struct psthread_data *self; /* ia32, amd64 needs to get self address */
    4646
    4747        link_t list;
Note: See TracChangeset for help on using the changeset viewer.