Rev 1702 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1702 | Rev 1780 | ||
|---|---|---|---|
| Line 38... | Line 38... | ||
| 38 | #include <arch/types.h> |
38 | #include <arch/types.h> |
| 39 | 39 | ||
| 40 | #define MAX_SYMBOL_NAME 64 |
40 | #define MAX_SYMBOL_NAME 64 |
| 41 | 41 | ||
| 42 | struct symtab_entry { |
42 | struct symtab_entry { |
| 43 | __u64 address_le; |
43 | uint64_t address_le; |
| 44 | char symbol_name[MAX_SYMBOL_NAME]; |
44 | char symbol_name[MAX_SYMBOL_NAME]; |
| 45 | }; |
45 | }; |
| 46 | 46 | ||
| 47 | extern char * get_symtab_entry(__native addr); |
47 | extern char * get_symtab_entry(unative_t addr); |
| 48 | extern __address get_symbol_addr(const char *name); |
48 | extern uintptr_t get_symbol_addr(const char *name); |
| 49 | extern void symtab_print_search(const char *name); |
49 | extern void symtab_print_search(const char *name); |
| 50 | extern int symtab_compl(char *name); |
50 | extern int symtab_compl(char *name); |
| 51 | 51 | ||
| 52 | /* Symtable linked together by build process */ |
52 | /* Symtable linked together by build process */ |
| 53 | extern struct symtab_entry symbol_table[]; |
53 | extern struct symtab_entry symbol_table[]; |