Files
qemu-qemu-1/stubs/hmp-cmds-target-i386.c
Philippe Mathieu-Daudé 7c8730243e monitor: Do not check TARGET_I386 to build target/i386/ commands
These commands are filtered at build-time for i386/x86_64 binaries.
By using the recently introduced HMPCommand::arch_bitmask flag
we can filter them at runtime, making it possible to compile
hmp-commands[-info].hx files once.

Since these methods are used inconditionally within target/i386/,
define them in the same stub file.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20260427080738.77138-15-philmd@linaro.org>
2026-05-06 12:58:08 +02:00

14 lines
200 B
C

/*
* Human Monitor x86 stubs
*
* Copyright (c) Linaro
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "qemu/osdep.h"
#include "monitor/hmp.h"
HMP_STUB(info_local_apic)
HMP_STUB(mce)