summaryrefslogtreecommitdiff
path: root/src/arch/arm/v7/operands/maccess.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2014-12-08 08:27:56 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2014-12-08 08:27:56 (GMT)
commit096f123b87437cf25cd008a6dea710286fbefcf0 (patch)
treea79c3b401b44d5aa513e3931b8422134d2f24936 /src/arch/arm/v7/operands/maccess.h
parent0a7b9b66bdcf386a36ec13ec480b52aa17406385 (diff)
Supported new ARMv7 instructions.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@437 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/arm/v7/operands/maccess.h')
-rw-r--r--src/arch/arm/v7/operands/maccess.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/arch/arm/v7/operands/maccess.h b/src/arch/arm/v7/operands/maccess.h
index 9198cfa..8684891 100644
--- a/src/arch/arm/v7/operands/maccess.h
+++ b/src/arch/arm/v7/operands/maccess.h
@@ -53,7 +53,7 @@ typedef struct _GArmV7MAccessOperandClass GArmV7MAccessOperandClass;
GType g_armv7_maccess_operand_get_type(void);
/* Crée un accès à la mémoire depuis une base et un décallage. */
-GArchOperand *g_armv7_maccess_operand_new(GArchOperand *, GArchOperand *, bool);
+GArchOperand *g_armv7_maccess_operand_new(GArchOperand *, GArchOperand *, GArchOperand *, bool);
/* Founit la base d'un accès à la mémoire. */
GArchOperand *g_armv7_maccess_operand_get_base(const GArmV7MAccessOperand *);
@@ -61,6 +61,9 @@ GArchOperand *g_armv7_maccess_operand_get_base(const GArmV7MAccessOperand *);
/* Founit le décallage d'un accès à la mémoire depuis la base. */
GArchOperand *g_armv7_maccess_operand_get_offset(const GArmV7MAccessOperand *);
+/* Founit le décallage d'un décallage pour un accès mémoire. */
+GArchOperand *g_armv7_maccess_operand_get_shift(const GArmV7MAccessOperand *);
+
/* Indique si la base est mise à jour après usage. */
bool g_armv7_maccess_operand_has_to_write_back(const GArmV7MAccessOperand *);