mirror of
https://github.com/qemu/qemu.git
synced 2024-11-27 22:03:35 +08:00
efc3146a6e
To make dump.c less target dependent, move the TARGET_X86_64 #ifdef'ry from dump.c to win_dump.c (introducing a win_dump_available() method there). By doing so we can build win_dump.c on any target, and simplify the meson rule. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20230225094903.53167-5-philmd@linaro.org>
22 lines
459 B
C
22 lines
459 B
C
/*
|
|
* Windows crashdump
|
|
*
|
|
* Copyright (c) 2018 Virtuozzo International GmbH
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
* See the COPYING file in the top-level directory.
|
|
*
|
|
*/
|
|
|
|
#ifndef WIN_DUMP_H
|
|
#define WIN_DUMP_H
|
|
|
|
#include "sysemu/dump.h"
|
|
|
|
/* Check Windows dump availability for the current target */
|
|
bool win_dump_available(Error **errp);
|
|
|
|
void create_win_dump(DumpState *s, Error **errp);
|
|
|
|
#endif /* WIN_DUMP_H */
|