[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 5/7] disas: Add a field for target-dependant data
From: |
Aleksandar Markovic |
Subject: |
[PATCH v4 5/7] disas: Add a field for target-dependant data |
Date: |
Fri, 24 Jan 2020 17:38:47 +0100 |
From: Aleksandar Markovic <address@hidden>
This patch adds a field "target_info" to the structure
disassemble_info. The purpose of this field is to enable targets
to pass to disassembler code any additional data thet deem suitable.
Signed-off-by: Aleksandar Markovic <address@hidden>
---
include/disas/dis-asm.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/disas/dis-asm.h b/include/disas/dis-asm.h
index e9c7dd8..f87f468 100644
--- a/include/disas/dis-asm.h
+++ b/include/disas/dis-asm.h
@@ -372,6 +372,9 @@ typedef struct disassemble_info {
/* Command line options specific to the target disassembler. */
char * disassembler_options;
+ /* Field intended to be used by targets in any way they deem suitable. */
+ int64_t target_info;
+
/* Options for Capstone disassembly. */
int cap_arch;
int cap_mode;
--
2.7.4
- [PATCH v4 0/7] target/mips: Misc MIPS fixes and improvements for 5.0, Aleksandar Markovic, 2020/01/24
- [PATCH v4 5/7] disas: Add a field for target-dependant data,
Aleksandar Markovic <=
- [PATCH v4 3/7] target/mips: Amend CP0 WatchHi register implementation, Aleksandar Markovic, 2020/01/24
- [PATCH v4 1/7] target/mips: Rectify documentation on deprecating r4k machine, Aleksandar Markovic, 2020/01/24
- [PATCH v4 2/7] target/mips: Add support for MIPS<32|64>R6 CRC32 ISA, Aleksandar Markovic, 2020/01/24
- [PATCH v4 4/7] target/mips: Add implementation of GINVT instruction, Aleksandar Markovic, 2020/01/24
- [PATCH v4 6/7] disas: mips: Add micromips R6 disassembler - infrastructure and 16-bit instructions, Aleksandar Markovic, 2020/01/24