crypto: use uint64_t for pbkdf iteration count parameters
[qemu/ar7.git] / include / disas / disas.h
blobe549ca24a1523ae4f8a4917a89c12096fc505f53
1 #ifndef QEMU_DISAS_H
2 #define QEMU_DISAS_H
4 #include "qemu-common.h"
6 #ifdef NEED_CPU_H
7 #include "cpu.h"
9 /* Disassemble this for me please... (debugging). */
10 void disas(FILE *out, void *code, unsigned long size);
11 void target_disas(FILE *out, CPUState *cpu, target_ulong code,
12 target_ulong size, int flags);
14 void monitor_disas(Monitor *mon, CPUState *cpu,
15 target_ulong pc, int nb_insn, int is_physical, int flags);
17 /* Look up symbol for debugging purpose. Returns "" if unknown. */
18 const char *lookup_symbol(target_ulong orig_addr);
19 #endif
21 struct syminfo;
22 struct elf32_sym;
23 struct elf64_sym;
25 #if defined(CONFIG_USER_ONLY)
26 typedef const char *(*lookup_symbol_t)(struct syminfo *s, target_ulong orig_addr);
27 #else
28 typedef const char *(*lookup_symbol_t)(struct syminfo *s, hwaddr orig_addr);
29 #endif
31 struct syminfo {
32 lookup_symbol_t lookup_symbol;
33 unsigned int disas_num_syms;
34 union {
35 struct elf32_sym *elf32;
36 struct elf64_sym *elf64;
37 } disas_symtab;
38 const char *disas_strtab;
39 struct syminfo *next;
42 /* Filled in by elfload.c. Simplistic, but will do for now. */
43 extern struct syminfo *syminfos;
45 #endif /* QEMU_DISAS_H */