summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/arm64/arm64/support.S14
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/arch/arm64/arm64/support.S b/sys/arch/arm64/arm64/support.S
index 8b80391d1bb..c692986d3ce 100644
--- a/sys/arch/arm64/arm64/support.S
+++ b/sys/arch/arm64/arm64/support.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: support.S,v 1.3 2017/01/24 10:23:11 patrick Exp $ */
+/* $OpenBSD: support.S,v 1.4 2017/01/25 09:43:50 patrick Exp $ */
/*-
* Copyright (c) 2014 Andrew Turner
* Copyright (c) 2014-2015 The FreeBSD Foundation
@@ -110,3 +110,15 @@ ENTRY(pagezero_cache)
ret
END(pagezero_cache)
+
+ENTRY(smc_call)
+ smc #0
+ ret
+
+END(smc_call)
+
+ENTRY(hvc_call)
+ hvc #0
+ ret
+
+END(hvc_call)