aboutsummaryrefslogtreecommitdiff
path: root/lib/semihosting/aarch32/semihosting_call.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/semihosting/aarch32/semihosting_call.S')
-rw-r--r--lib/semihosting/aarch32/semihosting_call.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/semihosting/aarch32/semihosting_call.S b/lib/semihosting/aarch32/semihosting_call.S
new file mode 100644
index 000000000..fe489b6f6
--- /dev/null
+++ b/lib/semihosting/aarch32/semihosting_call.S
@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 2018, Arm Limited. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#include <asm_macros.S>
+
+ .globl semihosting_call
+
+func semihosting_call
+ svc #0x123456
+ bx lr
+endfunc semihosting_call