diff options
Diffstat (limited to 'src/arch/processor-int.h')
-rw-r--r-- | src/arch/processor-int.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/arch/processor-int.h b/src/arch/processor-int.h index 821ce06..34ba66a 100644 --- a/src/arch/processor-int.h +++ b/src/arch/processor-int.h @@ -33,6 +33,9 @@ #define COV_ALLOC_BLOCK 100 +/* Fournit la désignation interne du processeur d'architecture. */ +typedef char * (* get_processor_key_fc) (const GArchProcessor *); + /* Fournit un contexte propre au processeur d'une architecture. */ typedef GProcContext * (* get_processor_context_fc) (const GArchProcessor *); @@ -92,7 +95,6 @@ struct _GArchProcessorClass { GObjectClass parent; /* A laisser en premier */ - const char *key; /* Désignation interne */ const char *desc; /* Description humaine liée */ SourceEndian endianness; /* Boutisme de l'architecture */ @@ -100,7 +102,8 @@ struct _GArchProcessorClass MemoryDataSize inssize; /* Taille min. d'encodage */ bool virt_space; /* Présence d'espace virtuel ? */ - get_processor_context_fc get_ctx; /* Obtention d'un contexte #1 */ + get_processor_key_fc get_key; /* Code représentant la classe */ + get_processor_context_fc get_ctx; /* Obtention d'un contexte */ disass_instr_fc disassemble; /* Traduction en instructions */ |