master
h 30 lines 619 Bytes
Raw
1 /*
2 * QEMU target info QOM types
3 *
4 * Copyright (c) Qualcomm
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8
9 #ifndef QEMU_TARGET_INFO_QOM_H
10 #define QEMU_TARGET_INFO_QOM_H
11
12 #include "qemu/target-info-impl.h"
13 #include "qom/object.h"
14
15 #define TYPE_TARGET_INFO "target-info"
16
17 typedef struct TargetInfoQom {
18 Object parent_obj;
19 } TargetInfoQom;
20
21 typedef struct TargetInfoQomClass {
22 ObjectClass parent_class;
23 const TargetInfo *target_info;
24 } TargetInfoQomClass;
25
26 OBJECT_DECLARE_TYPE(TargetInfoQom, TargetInfoQomClass, TARGET_INFO)
27
28 void target_info_qom_set_target(void);
29
30 #endif /* QEMU_TARGET_INFO_QOM_H */