summaryrefslogtreecommitdiff
path: root/src/arch/instruction-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-02-04 13:25:08 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-02-04 13:25:08 (GMT)
commitfa68ba09820676563ba11f63213168e8e7bfd1d8 (patch)
treeed3bbb0e794a5f241e2961a75ffa61ed29fac914 /src/arch/instruction-int.h
parentec0f07c0b9468d6798befd887b02d9668faf806b (diff)
Moved the definition of a lock bit.
Diffstat (limited to 'src/arch/instruction-int.h')
-rw-r--r--src/arch/instruction-int.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/arch/instruction-int.h b/src/arch/instruction-int.h
index fcb5453..f53f2f6 100644
--- a/src/arch/instruction-int.h
+++ b/src/arch/instruction-int.h
@@ -74,24 +74,6 @@ typedef union _instr_obj_extra
} instr_obj_extra;
-/**
- * Choix du bit de verrou pour le champ "lock".
- */
-
-#if __BYTE_ORDER == __LITTLE_ENDIAN
-
-# define INSTR_EXTRA_LOCK_BIT 31
-
-#elif __BYTE_ORDER == __BIG_ENDIAN
-
-# define INSTR_EXTRA_LOCK_BIT 0
-
-#else
-
-# error "Unknown byte order"
-
-#endif
-
/* Définition générique d'une instruction d'architecture (instance) */
struct _GArchInstruction
{