VirtualBox

source: vbox/trunk/src/recompiler/disas.h@ 37675

最後變更 在這個檔案從37675是 37675,由 vboxsync 提交於 13 年 前

rem: Synced with v0.12.5.

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.2 KB
 
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). */
8void disas(FILE *out, void *code, unsigned long size);
9void 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__
14void 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. */
20const char *lookup_symbol(target_ulong orig_addr);
21#endif
22
23struct syminfo;
24struct elf32_sym;
25struct elf64_sym;
26
27typedef const char *(*lookup_symbol_t)(struct syminfo *s, target_phys_addr_t orig_addr);
28
29struct syminfo {
30 lookup_symbol_t lookup_symbol;
31 unsigned int disas_num_syms;
32 union {
33 struct elf32_sym *elf32;
34 struct elf64_sym *elf64;
35 } disas_symtab;
36 const char *disas_strtab;
37 struct syminfo *next;
38};
39
40/* Filled in by elfload.c. Simplistic, but will do for now. */
41extern struct syminfo *syminfos;
42
43#endif /* _QEMU_DISAS_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette