Ignore:
File:
1 edited

Legend:

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

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