Changeset f0348c8 in mainline for kernel/generic/include/symtab.h


Ignore:
Timestamp:
2012-07-10T13:03:10Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
97c7682, 9904eb90, ceafd1b, d9812b4, dfc07c1
Parents:
33fc3ae (diff), f4a8734 (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 kernel console completion and console interface clean-up

Kernel console completion (#50), thanks Sandeep Kumar

  • tab-completion uses symbol table
  • tab-completion display huge number of hints in user-friendly manner (display all?, more?)

Userspace console interface changes

  • console does not send special keys (arrows etc.) on its VFS interface
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/symtab.h

    r33fc3ae rf0348c8  
    3636#define KERN_SYMTAB_H_
    3737
    38 #include <typedefs.h>
     38#include <symtab_lookup.h>
     39#include <console/chardev.h>
    3940
    40 #define MAX_SYMBOL_NAME  64
    41 
    42 struct symtab_entry {
    43         uint64_t address_le;
    44         char symbol_name[MAX_SYMBOL_NAME];
    45 };
    46 
    47 extern int symtab_name_lookup(uintptr_t, const char **, uintptr_t *);
    48 extern const char *symtab_fmt_name_lookup(uintptr_t);
    49 extern int symtab_addr_lookup(const char *, uintptr_t *);
    5041extern void symtab_print_search(const char *);
    51 extern int symtab_compl(char *, size_t);
    52 
    53 #ifdef CONFIG_SYMTAB
    54 
    55 /** Symtable linked together by build process
    56  *
    57  */
    58 extern struct symtab_entry symbol_table[];
    59 
    60 #endif /* CONFIG_SYMTAB */
     42extern int symtab_compl(char *, size_t, indev_t *);
    6143
    6244#endif
Note: See TracChangeset for help on using the changeset viewer.