summaryrefslogtreecommitdiff
path: root/linux/microblaze
diff options
context:
space:
mode:
Diffstat (limited to 'linux/microblaze')
-rw-r--r--linux/microblaze/arch_defs_.h7
-rw-r--r--linux/microblaze/arch_regs.c7
-rw-r--r--linux/microblaze/arch_sigreturn.c7
-rw-r--r--linux/microblaze/get_error.c7
-rw-r--r--linux/microblaze/get_scno.c7
-rw-r--r--linux/microblaze/get_syscall_args.c7
-rw-r--r--linux/microblaze/get_syscall_result.c7
-rw-r--r--linux/microblaze/set_error.c7
-rw-r--r--linux/microblaze/set_scno.c7
-rw-r--r--linux/microblaze/userent.h7
10 files changed, 70 insertions, 0 deletions
diff --git a/linux/microblaze/arch_defs_.h b/linux/microblaze/arch_defs_.h
index d642058b2..309d8e7e0 100644
--- a/linux/microblaze/arch_defs_.h
+++ b/linux/microblaze/arch_defs_.h
@@ -1,2 +1,9 @@
+/*
+ * Copyright (c) 2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
#define HAVE_ARCH_OLD_SELECT 1
#define HAVE_ARCH_UID16_SYSCALLS 1
diff --git a/linux/microblaze/arch_regs.c b/linux/microblaze/arch_regs.c
index 79f2dda08..4faf93764 100644
--- a/linux/microblaze/arch_regs.c
+++ b/linux/microblaze/arch_regs.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015-2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
static unsigned long microblaze_r3;
#define ARCH_PC_PEEK_ADDR PT_PC
#define ARCH_SP_PEEK_ADDR PT_GPR(1)
diff --git a/linux/microblaze/arch_sigreturn.c b/linux/microblaze/arch_sigreturn.c
index 27920734b..412e2078b 100644
--- a/linux/microblaze/arch_sigreturn.c
+++ b/linux/microblaze/arch_sigreturn.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015-2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
static void
arch_sigreturn(struct tcb *tcp)
{
diff --git a/linux/microblaze/get_error.c b/linux/microblaze/get_error.c
index fb529ff8b..b7ad28dc9 100644
--- a/linux/microblaze/get_error.c
+++ b/linux/microblaze/get_error.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015-2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
#include "negated_errno.h"
static void
diff --git a/linux/microblaze/get_scno.c b/linux/microblaze/get_scno.c
index 6c11cd447..aaf2dcb34 100644
--- a/linux/microblaze/get_scno.c
+++ b/linux/microblaze/get_scno.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015-2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
/* Return codes: 1 - ok, 0 - ignore, other - error. */
static int
arch_get_scno(struct tcb *tcp)
diff --git a/linux/microblaze/get_syscall_args.c b/linux/microblaze/get_syscall_args.c
index 19314204d..6c35994d8 100644
--- a/linux/microblaze/get_syscall_args.c
+++ b/linux/microblaze/get_syscall_args.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015-2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
/* Return -1 on error or 1 on success (never 0!). */
static int
arch_get_syscall_args(struct tcb *tcp)
diff --git a/linux/microblaze/get_syscall_result.c b/linux/microblaze/get_syscall_result.c
index 5b593a4a0..79f23ca49 100644
--- a/linux/microblaze/get_syscall_result.c
+++ b/linux/microblaze/get_syscall_result.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015-2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
static int
get_syscall_result_regs(struct tcb *tcp)
{
diff --git a/linux/microblaze/set_error.c b/linux/microblaze/set_error.c
index 5bb83b5f8..71b3fbc31 100644
--- a/linux/microblaze/set_error.c
+++ b/linux/microblaze/set_error.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2016-2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
static int
arch_set_error(struct tcb *tcp)
{
diff --git a/linux/microblaze/set_scno.c b/linux/microblaze/set_scno.c
index 4f69a5250..cf896cc20 100644
--- a/linux/microblaze/set_scno.c
+++ b/linux/microblaze/set_scno.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2016-2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
static int
arch_set_scno(struct tcb *tcp, kernel_ulong_t scno)
{
diff --git a/linux/microblaze/userent.h b/linux/microblaze/userent.h
index 68710cf37..d3b64880f 100644
--- a/linux/microblaze/userent.h
+++ b/linux/microblaze/userent.h
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2014-2018 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ */
+
{ PT_GPR(0), "r0" },
{ PT_GPR(1), "r1" },
{ PT_GPR(2), "r2" },