Changeset 4fe3b6d in mainline for uspace/lib/c/include/rtld/rtld.h


Ignore:
Timestamp:
2011-05-20T11:07:00Z (13 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8bb61e6
Parents:
3476be8 (diff), 7941bd6 (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 with development

File:
1 moved

Legend:

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

    r3476be8 r4fe3b6d  
    11/*
    2  * Copyright (c) 2009 Jiri Svoboda
    3  * Copyright (c) 2011 Lubos Slovak
    4  * (copied from /uspace/srv/hid/kbd/include/layout.h)
     2 * Copyright (c) 2008 Jiri Svoboda
    53 * All rights reserved.
    64 *
     
    2927 */
    3028
    31 /** @addtogroup drvusbhid
     29/** @addtogroup libc
    3230 * @{
    3331 */
    3432/** @file
    35  * Keyboard layout.
    3633 */
    3734
    38 #ifndef USB_KBD_LAYOUT_H_
    39 #define USB_KBD_LAYOUT_H_
     35#ifndef LIBC_RTLD_H_
     36#define LIBC_RTLD_H_
    4037
    4138#include <sys/types.h>
    42 #include <io/console.h>
     39#include <adt/list.h>
     40
     41#include <rtld/dynamic.h>
     42#include <rtld/module.h>
    4343
    4444typedef struct {
    45         void (*reset)(void);
    46         wchar_t (*parse_ev)(console_event_t *);
    47 } layout_op_t;
     45        elf_dyn_t *rtld_dynamic;
     46        module_t rtld;
    4847
    49 extern layout_op_t us_qwerty_op;
    50 extern layout_op_t us_dvorak_op;
    51 extern layout_op_t cz_op;
     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);
    5260
    5361#endif
    5462
    55 /**
    56  * @}
     63/** @}
    5764 */
Note: See TracChangeset for help on using the changeset viewer.