mirror of
https://github.com/qemu/qemu.git
synced 2024-12-16 16:15:02 +08:00
e22d3c48db
We'd like to move disas.c into the common code source set, where CONFIG_USER_ONLY is not available anymore. So we have to move the related code into a separate file instead. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20230508133745.109463-2-thuth@redhat.com> [rth: Type change done in a separate patch] Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
22 lines
440 B
C
22 lines
440 B
C
/*
|
|
* Definitions used internally in the disassembly code
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef DISAS_INTERNAL_H
|
|
#define DISAS_INTERNAL_H
|
|
|
|
#include "disas/dis-asm.h"
|
|
|
|
typedef struct CPUDebug {
|
|
struct disassemble_info info;
|
|
CPUState *cpu;
|
|
} CPUDebug;
|
|
|
|
void disas_initialize_debug_target(CPUDebug *s, CPUState *cpu);
|
|
int disas_gstring_printf(FILE *stream, const char *fmt, ...)
|
|
G_GNUC_PRINTF(2, 3);
|
|
|
|
#endif
|