summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/qoriq/startup/epapr_hcalls.S
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-08 08:10:26 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-12 10:00:32 +0200
commit356b1b8516bc16467feacf54ad0b602bee8261d1 (patch)
treec64d1322767f58712ad777e5a966e1db0b72b2a7 /c/src/lib/libbsp/powerpc/qoriq/startup/epapr_hcalls.S
parentbsp/qoriq: Import ePAPR hcalls from Linux 4.12 (diff)
downloadrtems-356b1b8516bc16467feacf54ad0b602bee8261d1.tar.bz2
bsp/qoriq: Port ePAPR hcall interface to RTEMS
Update #3085.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/qoriq/startup/epapr_hcalls.S')
-rw-r--r--c/src/lib/libbsp/powerpc/qoriq/startup/epapr_hcalls.S26
1 files changed, 26 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/qoriq/startup/epapr_hcalls.S b/c/src/lib/libbsp/powerpc/qoriq/startup/epapr_hcalls.S
new file mode 100644
index 0000000000..b019e5d710
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/qoriq/startup/epapr_hcalls.S
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) 2017 embedded brains GmbH. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Dornierstr. 4
+ * 82178 Puchheim
+ * Germany
+ * <rtems@embedded-brains.de>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
+#include <libcpu/powerpc-utility.h>
+
+ .text
+
+ .global epapr_hypercall_start
+epapr_hypercall_start:
+
+ sc 1
+ nop
+ nop
+ nop
+ blr