disas.h 673 字节
Newer Older
B
bellard 已提交
1 2 3 4
#ifndef _QEMU_DISAS_H
#define _QEMU_DISAS_H

/* Disassemble this for me please... (debugging). */
B
bellard 已提交
5
void disas(FILE *out, void *code, unsigned long size);
6
void target_disas(FILE *out, target_ulong code, target_ulong size, int flags);
7
void monitor_disas(target_ulong pc, int nb_insn, int is_physical, int flags);
B
bellard 已提交
8 9

/* Look up symbol for debugging purpose.  Returns "" if unknown. */
B
bellard 已提交
10
const char *lookup_symbol(target_ulong orig_addr);
B
bellard 已提交
11 12

/* Filled in by elfload.c.  Simplistic, but will do for now. */
B
bellard 已提交
13 14 15 16 17 18 19
extern struct syminfo {
    unsigned int disas_num_syms;
    void *disas_symtab;
    const char *disas_strtab;
    struct syminfo *next;
} *syminfos;

B
bellard 已提交
20
#endif /* _QEMU_DISAS_H */