summaryrefslogtreecommitdiff
path: root/src/arch/x86/opcodes.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-10-29 01:38:43 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-10-29 01:38:43 (GMT)
commit3b1b7cd7a3b7b36d2937e13437519e951668a995 (patch)
treefda56d25b729287f603d32dc51493ea3bb0bffea /src/arch/x86/opcodes.h
parent8ae0409cfc70aa399bc0083a1ce6bdb27cc2ce23 (diff)
Fixed bugs and made the binary loading process faster.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@134 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/x86/opcodes.h')
-rw-r--r--src/arch/x86/opcodes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/x86/opcodes.h b/src/arch/x86/opcodes.h
index e3c719c..aaa4b55 100644
--- a/src/arch/x86/opcodes.h
+++ b/src/arch/x86/opcodes.h
@@ -30,6 +30,11 @@
+/* Prototype de décodage d'une instruction x86. */
+typedef GArchInstruction * (* x86_read_instr) (const bin_t *, off_t *, off_t, vmpa_t, X86Prefix, const GX86Processor *);
+
+
+
/* Décode une instruction de type 'adc' (8 bits). */
GArchInstruction *x86_read_instr_adc_rm8_imm8(const bin_t *, off_t *, off_t, vmpa_t, X86Prefix, const GX86Processor *);