summaryrefslogtreecommitdiff
path: root/src/arch/register-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/register-int.h')
-rw-r--r--src/arch/register-int.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/arch/register-int.h b/src/arch/register-int.h
index fe9db8c..bf2ad75 100644
--- a/src/arch/register-int.h
+++ b/src/arch/register-int.h
@@ -28,6 +28,12 @@
#include "register.h"
+#include "operand-int.h"
+
+
+
+/* ---------------------------- PUR REGISTRE DU MATERIEL ---------------------------- */
+
/* Produit une empreinte à partir d'un registre. */
typedef guint (* reg_hash_fc) (const GArchRegister *);
@@ -69,4 +75,27 @@ struct _GArchRegisterClass
+/* ------------------------- REGISTRE SOUS FORME D'OPERANDE ------------------------- */
+
+
+/* Définition d'un opérande visant un registre (instance) */
+struct _GRegisterOperand
+{
+ GArchOperand parent; /* Instance parente */
+
+ GArchRegister *reg; /* Registre représenté */
+ bool is_written; /* Changement de contenu */
+
+};
+
+
+/* Définition d'un opérande visant un registre (classe) */
+struct _GRegisterOperandClass
+{
+ GArchOperandClass parent; /* Classe parente */
+
+};
+
+
+
#endif /* _ARCH_REGISTER_INT_H */