Home | History | Annotate | Download | only in aic7xxx

Lines Matching refs:symbol

4  * Aic7xxx SCSI host adapter firmware assembler symbol table implementation
76 perror("Unable to create new symbol");
82 stop("Unable to strdup symbol name", EX_SOFTWARE);
88 symbol_delete(symbol_t *symbol)
93 key.data = symbol->name;
94 key.size = strlen(symbol->name);
97 switch(symbol->type) {
101 if (symbol->info.rinfo != NULL)
102 free(symbol->info.rinfo);
105 if (symbol->info.ainfo != NULL)
106 free(symbol->info.ainfo);
112 if (symbol->info.finfo != NULL) {
113 symlist_free(&symbol->info.finfo->symrefs);
114 free(symbol->info.finfo);
119 if (symbol->info.cinfo != NULL)
120 free(symbol->info.cinfo);
123 if (symbol->info.linfo != NULL)
124 free(symbol->info.linfo);
130 free(symbol->name);
131 free(symbol);
142 perror("Symbol table creation failed");
166 * The semantics of get is to return an uninitialized symbol entry
182 perror("Symbol table get operation failed");
186 /* Symbol wasn't found, so create a new one */
215 if (strcmp(symname, curnode->symbol->name) == 0)
223 symlist_add(symlist_t *symlist, symbol_t *symbol, int how)
232 newnode->symbol = symbol;
238 switch(symbol->type) {
250 stop("symlist_add: Invalid symbol type for sorting",
258 && (curnode->symbol->type > newnode->symbol->type
259 || (curnode->symbol->type == newnode->symbol->type
260 && (curnode->symbol->info.finfo->value >
261 newnode->symbol->info.finfo->value))))
262 || (!field && (curnode->symbol->info.rinfo->address >
263 newnode->symbol->info.rinfo->address))) {
276 cursymbol = SLIST_NEXT(curnode, links)->symbol;
278 && (cursymbol->type > symbol->type
279 || (cursymbol->type == symbol->type
281 symbol->info.finfo->value))))
284 symbol->info.rinfo->address))) {
379 regnode->symbol->name);
389 lower_name = strdup(regnode->symbol->name);
391 stop("Unable to strdup symbol name", EX_SOFTWARE);
414 num_entries != 0 ? regnode->symbol->name : "NULL",
417 regnode->symbol->name,
418 regnode->symbol->info.rinfo->address);
435 regnode->symbol->name,
436 regnode->symbol->info.rinfo->address);
449 curnode->symbol->name);
451 num_tabs = 3 - (strlen(curnode->symbol->name) + 5) / 8;
456 curnode->symbol->info.finfo->value,
457 curnode->symbol->info.finfo->mask);
538 switch(curnode->symbol->type) {
548 fields = &curnode->symbol->info.rinfo->fields;
573 regnode = SLIST_FIRST(&curnode->symbol->info.finfo->symrefs);
574 regname = regnode->symbol->name;
586 regname = curnode->symbol->info.ainfo->parent->name;
600 switch(curnode->symbol->type) {
605 value = curnode->symbol->info.rinfo->address;
613 parent = curnode->symbol->info.ainfo->parent;
623 value = curnode->symbol->info.finfo->value;
631 stop("symtable_dump: Invalid symbol type "
636 tab_str, curnode->symbol->name, tab_str2,
648 curnode->symbol->name,
649 curnode->symbol->info.cinfo->value);
662 curnode->symbol->name,
663 curnode->symbol->info.cinfo->value);
676 curnode->symbol->name,
677 curnode->symbol->info.linfo->address);