[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL v2 2/7] disas: Add a field for target-dependant data
From: |
Aleksandar Markovic |
Subject: |
[PULL v2 2/7] disas: Add a field for target-dependant data |
Date: |
Fri, 24 Jan 2020 19:07:44 +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.
Reviewed-by: Aleksandar Rikalo <address@hidden>
Signed-off-by: Aleksandar Markovic <address@hidden>
Message-Id: <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
- [PULL v2 0/7] MIPS queue for Jan 24th, 2020, Aleksandar Markovic, 2020/01/24
- [PULL v2 4/7] mips/mips_jazz: use memdev for RAM, Aleksandar Markovic, 2020/01/24
- [PULL v2 6/7] mips/mips_mipssim: use memdev for RAM, Aleksandar Markovic, 2020/01/24
- [PULL v2 2/7] disas: Add a field for target-dependant data,
Aleksandar Markovic <=
- [PULL v2 3/7] mips-semi.c: remove 'uhi_done' label in helper_do_semihosting(), Aleksandar Markovic, 2020/01/24
- [PULL v2 7/7] mips/mips_r4k: use memdev for RAM, Aleksandar Markovic, 2020/01/24
- [PULL v2 1/7] target/mips: Rectify documentation on deprecating r4k machine, Aleksandar Markovic, 2020/01/24
- [PULL v2 5/7] mips/mips_malta: use memdev for RAM, Aleksandar Markovic, 2020/01/24
- Re: [PULL v2 0/7] MIPS queue for Jan 24th, 2020, Peter Maydell, 2020/01/24