aboutsummaryrefslogtreecommitdiffstats
path: root/roms/edk2/ArmPkg/Library/SemihostLib/AArch64/GccSemihost.S
diff options
context:
space:
mode:
Diffstat (limited to 'roms/edk2/ArmPkg/Library/SemihostLib/AArch64/GccSemihost.S')
-rw-r--r--roms/edk2/ArmPkg/Library/SemihostLib/AArch64/GccSemihost.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/roms/edk2/ArmPkg/Library/SemihostLib/AArch64/GccSemihost.S b/roms/edk2/ArmPkg/Library/SemihostLib/AArch64/GccSemihost.S
new file mode 100644
index 000000000..a44307563
--- /dev/null
+++ b/roms/edk2/ArmPkg/Library/SemihostLib/AArch64/GccSemihost.S
@@ -0,0 +1,14 @@
+#------------------------------------------------------------------------------
+#
+# Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>
+# Copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.<BR>
+#
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
+#------------------------------------------------------------------------------
+
+#include <AsmMacroIoLibV8.h>
+
+ASM_FUNC(GccSemihostCall)
+ hlt #0xf000
+ ret