aboutsummaryrefslogtreecommitdiff
path: root/target-info-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-info-stub.c')
-rw-r--r--target-info-stub.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/target-info-stub.c b/target-info-stub.c
new file mode 100644
index 0000000..773a101
--- /dev/null
+++ b/target-info-stub.c
@@ -0,0 +1,26 @@
+/*
+ * QEMU target info stubs (target specific)
+ *
+ * Copyright (c) Linaro
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#include "qemu/osdep.h"
+#include "qemu/target-info.h"
+#include "qemu/target-info-impl.h"
+#include "cpu.h"
+
+static const TargetInfo target_info_stub = {
+ .target_name = TARGET_NAME,
+};
+
+const TargetInfo *target_info(void)
+{
+ return &target_info_stub;
+}
+
+const char *target_cpu_type(void)
+{
+ return CPU_RESOLVING_TYPE;
+}