summaryrefslogtreecommitdiff
path: root/src/arch/x86/operand.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2010-08-01 00:56:47 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2010-08-01 00:56:47 (GMT)
commit290f48b2c2008a3479cd1585eb04b89c5744f034 (patch)
treec9d1eae9a08884de9ee8fe31cbd7756f8e1ca298 /src/arch/x86/operand.h
parent73af1bd66e5d1a2e30d56151532710f2b28d12df (diff)
Deleted the 'AsmOperandSize' definition and set the x86 minimal instruction size.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@176 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/x86/operand.h')
-rw-r--r--src/arch/x86/operand.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/arch/x86/operand.h b/src/arch/x86/operand.h
index f42b67d..93fac2d 100644
--- a/src/arch/x86/operand.h
+++ b/src/arch/x86/operand.h
@@ -75,13 +75,13 @@ typedef struct _GX86RegisterOperandClass GX86RegisterOperandClass;
GType g_x86_register_operand_get_type(void);
/* Crée un opérande visant un registre x86. */
-GArchOperand *g_x86_register_operand_new_from_opcode(const bin_t *, off_t *, off_t, AsmOperandSize, bin_t);
+GArchOperand *g_x86_register_operand_new_from_opcode(const bin_t *, off_t *, off_t, MemoryDataSize, bin_t);
/* Crée un opérande visant un registre x86. */
-GArchOperand *g_x86_register_operand_new_from_mod_rm(const bin_t *, off_t *, off_t, AsmOperandSize, bool);
+GArchOperand *g_x86_register_operand_new_from_mod_rm(const bin_t *, off_t *, off_t, MemoryDataSize, bool);
/* Crée un opérande visant un registre x86 donné. */
-GArchOperand *g_x86_register_operand_new_from_index(bin_t, AsmOperandSize);
+GArchOperand *g_x86_register_operand_new_from_index(bin_t, MemoryDataSize);
@@ -105,7 +105,7 @@ typedef struct _GX86ModRMOperandClass GX86ModRMOperandClass;
GType g_x86_mod_rm_operand_get_type(void);
/* Crée un opérande x86 de type ModRM. */
-GArchOperand *g_x86_mod_rm_operand_new(const bin_t *, off_t *, off_t, AsmOperandSize);
+GArchOperand *g_x86_mod_rm_operand_new(const bin_t *, off_t *, off_t, MemoryDataSize);
/* Fournit l'indice et l'échelle d'un opérande x86 ModRM. */
void g_x86_mod_rm_operand_get_scale_and_index(const GX86ModRMOperand *operand, uint8_t *, const GX86Register **);
@@ -138,7 +138,7 @@ typedef struct _GX86RelativeOperandClass GX86RelativeOperandClass;
GType g_x86_relative_operand_get_type(void);
/* Crée un opérande X86 d'adresse relative. */
-GArchOperand *g_x86_relative_operand_new(const bin_t *, off_t *, off_t, AsmOperandSize, vmpa_t);
+GArchOperand *g_x86_relative_operand_new(const bin_t *, off_t *, off_t, MemoryDataSize, vmpa_t);
/* Fournit l'adresse représentée par une opérande X86. */
const GImmOperand *g_x86_relative_operand_get_value(const GX86RelativeOperand *);
@@ -165,7 +165,7 @@ typedef struct _GX86MOffsOperandClass GX86MOffsOperandClass;
GType g_x86_moffs_operand_get_type(void);
/* Crée un opérande d'emplacement mémoire x86. */
-GArchOperand *g_x86_moffs_operand_new(const bin_t *, off_t *, off_t, AsmOperandSize);
+GArchOperand *g_x86_moffs_operand_new(const bin_t *, off_t *, off_t, MemoryDataSize);