aboutsummaryrefslogtreecommitdiff
path: root/semihosting/arm-compat-semi-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'semihosting/arm-compat-semi-stub.c')
-rw-r--r--semihosting/arm-compat-semi-stub.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/semihosting/arm-compat-semi-stub.c b/semihosting/arm-compat-semi-stub.c
new file mode 100644
index 0000000..bfa3681
--- /dev/null
+++ b/semihosting/arm-compat-semi-stub.c
@@ -0,0 +1,19 @@
+/*
+ * Stubs for platforms different from ARM
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#include "qemu/osdep.h"
+#include "semihosting/semihost.h"
+#include <glib.h>
+
+bool semihosting_arm_compatible(void)
+{
+ return false;
+}
+
+void semihosting_arm_compatible_init(void)
+{
+ g_assert_not_reached();
+}