summaryrefslogtreecommitdiffstats
path: root/lib/semihosting/aarch64
diff options
context:
space:
mode:
Diffstat (limited to 'lib/semihosting/aarch64')
-rw-r--r--lib/semihosting/aarch64/semihosting_call.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/semihosting/aarch64/semihosting_call.S b/lib/semihosting/aarch64/semihosting_call.S
new file mode 100644
index 0000000..97d2bca
--- /dev/null
+++ b/lib/semihosting/aarch64/semihosting_call.S
@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 2013-2014, ARM Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#include <asm_macros.S>
+
+ .globl semihosting_call
+
+func semihosting_call
+ hlt #0xf000
+ ret
+endfunc semihosting_call