Changeset 0dc9a474 in mainline for uspace/lib/dltest/libdltest.h


Ignore:
Timestamp:
2016-05-06T18:44:09Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
29405ac
Parents:
91e4567
Message:

Add tests for fibril_local variables to dltest.

File:
1 edited

Legend:

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

    r91e4567 r0dc9a474  
    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 = 220022,
     46        dl_public_fib_var_val = 330033
    4347};
    4448
     
    4852extern int dl_get_public_var(void);
    4953extern int dl_get_public_uvar(void);
     54extern int dl_get_private_fib_var(void);
     55extern int dl_get_private_fib_uvar(void);
     56extern int dl_get_public_fib_var(void);
     57extern int dl_get_public_fib_uvar(void);
    5058
    5159extern int dl_public_var;
    5260extern int dl_public_uvar;
     61extern fibril_local int dl_public_fib_var;
     62extern fibril_local int dl_public_fib_uvar;
    5363
    5464#endif
Note: See TracChangeset for help on using the changeset viewer.