VirtualBox

Changeset 36170 in vbox for trunk/src/recompiler/disas.h


Ignore:
Timestamp:
Mar 4, 2011 12:49:02 PM (14 years ago)
Author:
vboxsync
Message:

rem: synced up to svn://svn.savannah.nongnu.org/qemu/trunk@6686 (repo UUID c046a42c-6fe2-441c-8c8c-71466251a162).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/disas.h

    r2422 r36170  
    1111const char *lookup_symbol(target_ulong orig_addr);
    1212
    13 /* Filled in by elfload.c.  Simplistic, but will do for now. */
    14 extern struct syminfo {
     13struct syminfo;
     14struct elf32_sym;
     15struct elf64_sym;
     16
     17typedef const char *(*lookup_symbol_t)(struct syminfo *s, target_ulong orig_addr);
     18
     19struct syminfo {
     20    lookup_symbol_t lookup_symbol;
    1521    unsigned int disas_num_syms;
    16     void *disas_symtab;
     22    union {
     23      struct elf32_sym *elf32;
     24      struct elf64_sym *elf64;
     25    } disas_symtab;
    1726    const char *disas_strtab;
    1827    struct syminfo *next;
    19 } *syminfos;
     28};
     29
     30/* Filled in by elfload.c.  Simplistic, but will do for now. */
     31extern struct syminfo *syminfos;
    2032
    2133#endif /* _QEMU_DISAS_H */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette