VirtualBox

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

最後變更 在這個檔案從75439是 69465,由 vboxsync 提交於 7 年 前

recompiler: scm updates

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id Revision
檔案大小: 1.3 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
27#if defined(CONFIG_USER_ONLY)
28typedef const char *(*lookup_symbol_t)(struct syminfo *s, target_ulong orig_addr);
29#else
30typedef const char *(*lookup_symbol_t)(struct syminfo *s, target_phys_addr_t orig_addr);
31#endif
32
33struct 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. */
45extern struct syminfo *syminfos;
46
47#endif /* _QEMU_DISAS_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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