Changeset 1affcdf3 in mainline for uspace/lib/c/include/rtld/rtld.h


Ignore:
Timestamp:
2011-06-10T19:33:41Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1878386
Parents:
13ecdac9 (diff), 79a141a (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 mainline changes

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/rtld/rtld.h

    r13ecdac9 r1affcdf3  
    11/*
    2  * Copyright (c) 2010 Jakub Jermar
     2 * Copyright (c) 2008 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3333 */
    3434
    35 #ifndef LIBC_ASYNC_SESS_H_
    36 #define LIBC_ASYNC_SESS_H_
     35#ifndef LIBC_RTLD_H_
     36#define LIBC_RTLD_H_
    3737
     38#include <sys/types.h>
    3839#include <adt/list.h>
    3940
     41#include <rtld/dynamic.h>
     42#include <rtld/module.h>
     43
    4044typedef struct {
    41         int sess_phone;         /**< Phone for cloning off the connections. */
    42         sysarg_t connect_arg1;  /**< Argument for CONNECT_ME_TO. */
    43         link_t conn_head;       /**< List of open data connections. */
    44         link_t sess_link;       /**< Link in global list of open sessions. */
    45 } async_sess_t;
     45        elf_dyn_t *rtld_dynamic;
     46        module_t rtld;
    4647
    47 extern void async_session_create(async_sess_t *, int, sysarg_t);
    48 extern void async_session_destroy(async_sess_t *);
    49 extern int async_exchange_begin(async_sess_t *);
    50 extern void async_exchange_end(async_sess_t *, int);
     48        module_t *program;
     49
     50        /** List of all loaded modules including rtld and the program */
     51        link_t modules_head;
     52
     53        /** Temporary hack to place each module at different address. */
     54        uintptr_t next_bias;
     55} runtime_env_t;
     56
     57extern runtime_env_t *runtime_env;
     58
     59extern void rtld_init_static(void);
    5160
    5261#endif
Note: See TracChangeset for help on using the changeset viewer.