mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-03 17:43:32 -10:00
There is very little in loader that is different between builds save for a tiny user/system mode difference in the plugin_info structure. Create two new files, user and system to hold mode specific helpers and move loader into common_ss. Reviewed-by: Richard Henderson <[email protected]> Signed-off-by: Alex Bennée <[email protected]> Message-Id: <[email protected]>
20 lines
391 B
C
20 lines
391 B
C
/*
|
|
* QEMU Plugin user-mode helpers
|
|
*
|
|
* Helpers that are specific to user-mode.
|
|
*
|
|
* Copyright (C) 2017, Emilio G. Cota <[email protected]>
|
|
* Copyright (C) 2019-2025, Linaro
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#include "qemu/osdep.h"
|
|
#include "qemu/plugin.h"
|
|
#include "plugin.h"
|
|
|
|
void qemu_plugin_fillin_mode_info(qemu_info_t *info)
|
|
{
|
|
info->system_emulation = false;
|
|
}
|