source: trunk/packages/xen-common/xen-common/tools/ioemu/disas.h @ 34

Last change on this file since 34 was 34, checked in by hartmans, 17 years ago

Add xen and xen-common

File size: 749 bytes
Line 
1#ifndef _QEMU_DISAS_H
2#define _QEMU_DISAS_H
3
4#ifndef CONFIG_DM
5/* Disassemble this for me please... (debugging). */
6void disas(FILE *out, void *code, unsigned long size);
7void target_disas(FILE *out, target_ulong code, target_ulong size, int flags);
8void monitor_disas(CPUState *env,
9                   target_ulong pc, int nb_insn, int is_physical, int flags);
10
11/* Look up symbol for debugging purpose.  Returns "" if unknown. */
12const char *lookup_symbol(target_ulong orig_addr);
13
14/* Filled in by elfload.c.  Simplistic, but will do for now. */
15extern struct syminfo {
16    unsigned int disas_num_syms;
17    void *disas_symtab;
18    const char *disas_strtab;
19    struct syminfo *next;
20} *syminfos;
21#endif /* !CONFIG_DM */
22
23#endif /* _QEMU_DISAS_H */
Note: See TracBrowser for help on using the repository browser.