Home
last modified time | relevance | path

Searched refs:symbol_table (Results 1 – 1 of 1) sorted by relevance

/DragonOS/kernel/src/debug/
H A Dkallsyms.c35 struct kernel_symbol_entry_t *symbol_table; variable
107symbol_table = (struct kernel_symbol_entry_t *)realloc(symbol_table, sizeof(struct kernel_symbol_e… in read_map()
111 if (read_symbol(filp, &symbol_table[entry_count]) == 0) in read_map()
118 if (text_vaddr == 0ULL && strcmp(symbol_table[i].symbol, "_text") == 0) in read_map()
119 text_vaddr = symbol_table[i].vaddr; in read_map()
120 if (etext_vaddr == 0ULL && strcmp(symbol_table[i].symbol, "_etext") == 0) in read_map()
121 etext_vaddr = symbol_table[i].vaddr; in read_map()
146 if (!symbol_to_write(symbol_table[i].vaddr, text_vaddr, etext_vaddr)) in generate_result()
149 if (symbol_table[i].vaddr == last_vaddr) in generate_result()
153 printf("\t.quad\t%#llx\n", symbol_table[i].vaddr); in generate_result()
[all …]