Changeset f356618 in mainline for uspace/lib/dltest/libdltest.h


Ignore:
Timestamp:
2016-05-22T21:05:55Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b3364b7c
Parents:
af2254ec (diff), 3a9414e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge dynamic linking support for thread local storage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/dltest/libdltest.h

    raf2254ec rf356618  
    3737#define LIBDLTEST_H
    3838
     39#include <fibril.h>
     40
    3941enum {
    4042        dl_constant = 110011,
    4143        dl_private_var_val = 220022,
    42         dl_public_var_val = 330033
     44        dl_public_var_val = 330033,
     45        dl_private_fib_var_val = 440044,
     46        dl_public_fib_var_val = 550055
    4347};
    4448
    4549extern int dl_get_constant(void);
    4650extern int dl_get_private_var(void);
     51extern int *dl_get_private_var_addr(void);
    4752extern int dl_get_private_uvar(void);
     53extern int *dl_get_private_uvar_addr(void);
    4854extern int dl_get_public_var(void);
     55extern int *dl_get_public_var_addr(void);
    4956extern int dl_get_public_uvar(void);
     57extern int *dl_get_public_uvar_addr(void);
     58extern int dl_get_private_fib_var(void);
     59extern int *dl_get_private_fib_var_addr(void);
     60extern int dl_get_private_fib_uvar(void);
     61extern int *dl_get_private_fib_uvar_addr(void);
     62extern int dl_get_public_fib_var(void);
     63extern int *dl_get_public_fib_var_addr(void);
     64extern int dl_get_public_fib_uvar(void);
     65extern int *dl_get_public_fib_uvar_addr(void);
    5066
    5167extern int dl_public_var;
    5268extern int dl_public_uvar;
     69extern fibril_local int dl_public_fib_var;
     70extern fibril_local int dl_public_fib_uvar;
    5371
    5472#endif
Note: See TracChangeset for help on using the changeset viewer.