summaryrefslogtreecommitdiff
path: root/src/arch/posix
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-08 18:19:13 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-08 18:19:13 +0100
commit812899797d6d8ea773bf960cd74680d20043c5a4 (patch)
tree470bb05de36285e9f8b86fa34daebd163e3860ed /src/arch/posix
parente1526bb2c84b315c72a089dbb50447183d4b1685 (diff)
add licensing information
Diffstat (limited to 'src/arch/posix')
-rw-r--r--src/arch/posix/Kconfig3
-rw-r--r--src/arch/posix/Makefile.inc4
-rw-r--r--src/arch/posix/arch.cc5
-rw-r--r--src/arch/posix/driver/counter.cc5
-rw-r--r--src/arch/posix/driver/gpio.cc5
-rw-r--r--src/arch/posix/driver/stdout.cc5
-rw-r--r--src/arch/posix/driver/uptime.cc5
7 files changed, 32 insertions, 0 deletions
diff --git a/src/arch/posix/Kconfig b/src/arch/posix/Kconfig
index d88cbfc..ad5e85e 100644
--- a/src/arch/posix/Kconfig
+++ b/src/arch/posix/Kconfig
@@ -1,3 +1,6 @@
+# Copyright 2020 Daniel Friesel
+#
+# SPDX-License-Identifier: CC0-1.0
config gpio_trace
bool "Trace GPIO changes on stdout"
diff --git a/src/arch/posix/Makefile.inc b/src/arch/posix/Makefile.inc
index 4ae0907..32a56cc 100644
--- a/src/arch/posix/Makefile.inc
+++ b/src/arch/posix/Makefile.inc
@@ -1,4 +1,8 @@
# vim:ft=make
+#
+# Copyright 2020 Daniel Friesel
+#
+# SPDX-License-Identifier: BSD-2-Clause
COMMON_FLAGS += -DMULTIPASS_ARCH_posix
diff --git a/src/arch/posix/arch.cc b/src/arch/posix/arch.cc
index a2d78e9..83bf845 100644
--- a/src/arch/posix/arch.cc
+++ b/src/arch/posix/arch.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "arch.h"
#include <time.h>
#include <unistd.h>
diff --git a/src/arch/posix/driver/counter.cc b/src/arch/posix/driver/counter.cc
index 17a0f95..dd6196a 100644
--- a/src/arch/posix/driver/counter.cc
+++ b/src/arch/posix/driver/counter.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/counter.h"
Counter counter;
diff --git a/src/arch/posix/driver/gpio.cc b/src/arch/posix/driver/gpio.cc
index 1403aed..148bcdb 100644
--- a/src/arch/posix/driver/gpio.cc
+++ b/src/arch/posix/driver/gpio.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/gpio.h"
GPIO gpio;
diff --git a/src/arch/posix/driver/stdout.cc b/src/arch/posix/driver/stdout.cc
index e409389..a9ceaa4 100644
--- a/src/arch/posix/driver/stdout.cc
+++ b/src/arch/posix/driver/stdout.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/stdout.h"
#include <stdio.h>
diff --git a/src/arch/posix/driver/uptime.cc b/src/arch/posix/driver/uptime.cc
index 00b1d34..5c6ccd4 100644
--- a/src/arch/posix/driver/uptime.cc
+++ b/src/arch/posix/driver/uptime.cc
@@ -1,3 +1,8 @@
+/*
+ * Copyright 2020 Daniel Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
#include "driver/uptime.h"
#include <time.h>