Last change
on this file since 80858 was 69465, checked in by vboxsync, 7 years ago |
recompiler: scm updates
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id Revision
|
File size:
1.3 KB
|
Line | |
---|
1 | #ifndef _QEMU_DISAS_H
|
---|
2 | #define _QEMU_DISAS_H
|
---|
3 |
|
---|
4 | #include "qemu-common.h"
|
---|
5 |
|
---|
6 | #ifdef NEED_CPU_H
|
---|
7 | /* Disassemble this for me please... (debugging). */
|
---|
8 | void disas(FILE *out, void *code, unsigned long size);
|
---|
9 | void target_disas(FILE *out, target_ulong code, target_ulong size, int flags);
|
---|
10 |
|
---|
11 | #ifndef VBOX
|
---|
12 | /* The usual mess... FIXME: Remove this condition once dyngen-exec.h is gone */
|
---|
13 | #ifndef __DYNGEN_EXEC_H__
|
---|
14 | void monitor_disas(Monitor *mon, CPUState *env,
|
---|
15 | target_ulong pc, int nb_insn, int is_physical, int flags);
|
---|
16 | #endif
|
---|
17 | #endif /*!VBOX*/
|
---|
18 |
|
---|
19 | /* Look up symbol for debugging purpose. Returns "" if unknown. */
|
---|
20 | const char *lookup_symbol(target_ulong orig_addr);
|
---|
21 | #endif
|
---|
22 |
|
---|
23 | struct syminfo;
|
---|
24 | struct elf32_sym;
|
---|
25 | struct elf64_sym;
|
---|
26 |
|
---|
27 | #if defined(CONFIG_USER_ONLY)
|
---|
28 | typedef const char *(*lookup_symbol_t)(struct syminfo *s, target_ulong orig_addr);
|
---|
29 | #else
|
---|
30 | typedef const char *(*lookup_symbol_t)(struct syminfo *s, target_phys_addr_t orig_addr);
|
---|
31 | #endif
|
---|
32 |
|
---|
33 | struct syminfo {
|
---|
34 | lookup_symbol_t lookup_symbol;
|
---|
35 | unsigned int disas_num_syms;
|
---|
36 | union {
|
---|
37 | struct elf32_sym *elf32;
|
---|
38 | struct elf64_sym *elf64;
|
---|
39 | } disas_symtab;
|
---|
40 | const char *disas_strtab;
|
---|
41 | struct syminfo *next;
|
---|
42 | };
|
---|
43 |
|
---|
44 | /* Filled in by elfload.c. Simplistic, but will do for now. */
|
---|
45 | extern struct syminfo *syminfos;
|
---|
46 |
|
---|
47 | #endif /* _QEMU_DISAS_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.