root / disas.h @ 2c1794c4
History | View | Annotate | Download (517 Bytes)
1 | b9adb4a6 | bellard | #ifndef _QEMU_DISAS_H
|
---|---|---|---|
2 | b9adb4a6 | bellard | #define _QEMU_DISAS_H
|
3 | b9adb4a6 | bellard | |
4 | b9adb4a6 | bellard | /* Disassemble this for me please... (debugging). */
|
5 | 95cbfc64 | bellard | void disas(FILE *out, void *code, unsigned long size, int is_host, int flags); |
6 | b9adb4a6 | bellard | |
7 | b9adb4a6 | bellard | /* Look up symbol for debugging purpose. Returns "" if unknown. */
|
8 | b9adb4a6 | bellard | const char *lookup_symbol(void *orig_addr); |
9 | b9adb4a6 | bellard | |
10 | b9adb4a6 | bellard | /* Filled in by elfload.c. Simplistic, but will do for now. */
|
11 | b9adb4a6 | bellard | extern unsigned int disas_num_syms; |
12 | b9adb4a6 | bellard | extern void *disas_symtab; /* FIXME: includes are a mess --RR */ |
13 | b9adb4a6 | bellard | extern const char *disas_strtab; |
14 | b9adb4a6 | bellard | #endif /* _QEMU_DISAS_H */ |