summaryrefslogtreecommitdiffhomepage
path: root/src/thread
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2023-12-23 21:17:35 +0000
committermidipix <writeonce@midipix.org>2023-12-23 21:17:35 +0000
commit716654e8dd98767010ab4bc3967bf95496f97859 (patch)
tree010bedb58a166072dac573d5169bd658c8f67c7a /src/thread
parent965dca42ea74b4d6c5bbd779e37e7fd758de1cfc (diff)
downloadmmglue-716654e8dd98767010ab4bc3967bf95496f97859.tar.bz2
mmglue-716654e8dd98767010ab4bc3967bf95496f97859.tar.xz
add copyright notice to C and Assembly translation units where applicable.
Diffstat (limited to 'src/thread')
-rw-r--r--src/thread/nt32/__set_thread_area.c6
-rw-r--r--src/thread/nt32/clone.c6
-rw-r--r--src/thread/nt32/pthread_detach.c6
-rw-r--r--src/thread/nt32/pthread_equal.c6
-rw-r--r--src/thread/nt32/pthread_self.c6
-rw-r--r--src/thread/nt32/syscall_cp.s6
-rw-r--r--src/thread/nt64/__set_thread_area.c6
-rw-r--r--src/thread/nt64/clone.c6
-rw-r--r--src/thread/nt64/pthread_detach.c6
-rw-r--r--src/thread/nt64/pthread_equal.c6
-rw-r--r--src/thread/nt64/pthread_self.c6
-rw-r--r--src/thread/nt64/syscall_cp.s6
12 files changed, 72 insertions, 0 deletions
diff --git a/src/thread/nt32/__set_thread_area.c b/src/thread/nt32/__set_thread_area.c
index c50f6c6..834067a 100644
--- a/src/thread/nt32/__set_thread_area.c
+++ b/src/thread/nt32/__set_thread_area.c
@@ -1,3 +1,9 @@
+/**************************************************************************/
+/* mmglue: midipix architecture- and target-specific bits for musl libc */
+/* Copyright (C) 2013--2023 SysDeer Technologies, LLC */
+/* Released under the Standard MIT License; see COPYING.MMGLUE. */
+/**************************************************************************/
+
#include <errno.h>
#include "pthread_impl.h"
diff --git a/src/thread/nt32/clone.c b/src/thread/nt32/clone.c
index 9c5a8a2..43df654 100644
--- a/src/thread/nt32/clone.c
+++ b/src/thread/nt32/clone.c
@@ -1,3 +1,9 @@
+/**************************************************************************/
+/* mmglue: midipix architecture- and target-specific bits for musl libc */
+/* Copyright (C) 2013--2023 SysDeer Technologies, LLC */
+/* Released under the Standard MIT License; see COPYING.MMGLUE. */
+/**************************************************************************/
+
#define _GNU_SOURCE
#include <syscall.h>
diff --git a/src/thread/nt32/pthread_detach.c b/src/thread/nt32/pthread_detach.c
index 6fbd241..a3cf1d7 100644
--- a/src/thread/nt32/pthread_detach.c
+++ b/src/thread/nt32/pthread_detach.c
@@ -1,3 +1,9 @@
+/**************************************************************************/
+/* mmglue: midipix architecture- and target-specific bits for musl libc */
+/* Copyright (C) 2013--2023 SysDeer Technologies, LLC */
+/* Released under the Standard MIT License; see COPYING.MMGLUE. */
+/**************************************************************************/
+
#include "../thread/pthread_detach.c"
int __pthread_detach_impl(pthread_t t)
diff --git a/src/thread/nt32/pthread_equal.c b/src/thread/nt32/pthread_equal.c
index dc263f7..0e5c681 100644
--- a/src/thread/nt32/pthread_equal.c
+++ b/src/thread/nt32/pthread_equal.c
@@ -1,3 +1,9 @@
+/**************************************************************************/
+/* mmglue: midipix architecture- and target-specific bits for musl libc */
+/* Copyright (C) 2013--2023 SysDeer Technologies, LLC */
+/* Released under the Standard MIT License; see COPYING.MMGLUE. */
+/**************************************************************************/
+
#include "../thread/pthread_equal.c"
int __pthread_equal_impl(pthread_t a, pthread_t b)
diff --git a/src/thread/nt32/pthread_self.c b/src/thread/nt32/pthread_self.c
index 23fbc53..72daa4a 100644
--- a/src/thread/nt32/pthread_self.c
+++ b/src/thread/nt32/pthread_self.c
@@ -1,3 +1,9 @@
+/**************************************************************************/
+/* mmglue: midipix architecture- and target-specific bits for musl libc */
+/* Copyright (C) 2013--2023 SysDeer Technologies, LLC */
+/* Released under the Standard MIT License; see COPYING.MMGLUE. */
+/**************************************************************************/
+
#include "pthread_impl.h"
#include <threads.h>
#include "libc.h"
diff --git a/src/thread/nt32/syscall_cp.s b/src/thread/nt32/syscall_cp.s
index 2b06d3b..06eafa4 100644
--- a/src/thread/nt32/syscall_cp.s
+++ b/src/thread/nt32/syscall_cp.s
@@ -1,3 +1,9 @@
+############################################################################
+## mmglue: midipix architecture- and target-specific bits for musl libc ##
+## Copyright (C) 2013--2023 SysDeer Technologies, LLC ##
+## Released under the Standard MIT License; see COPYING.MMGLUE. ##
+############################################################################
+
.text
.globl ___cp_begin
.globl ___cp_end
diff --git a/src/thread/nt64/__set_thread_area.c b/src/thread/nt64/__set_thread_area.c
index c50f6c6..834067a 100644
--- a/src/thread/nt64/__set_thread_area.c
+++ b/src/thread/nt64/__set_thread_area.c
@@ -1,3 +1,9 @@
+/**************************************************************************/
+/* mmglue: midipix architecture- and target-specific bits for musl libc */
+/* Copyright (C) 2013--2023 SysDeer Technologies, LLC */
+/* Released under the Standard MIT License; see COPYING.MMGLUE. */
+/**************************************************************************/
+
#include <errno.h>
#include "pthread_impl.h"
diff --git a/src/thread/nt64/clone.c b/src/thread/nt64/clone.c
index 002d709..d1b6603 100644
--- a/src/thread/nt64/clone.c
+++ b/src/thread/nt64/clone.c
@@ -1,3 +1,9 @@
+/**************************************************************************/
+/* mmglue: midipix architecture- and target-specific bits for musl libc */
+/* Copyright (C) 2013--2023 SysDeer Technologies, LLC */
+/* Released under the Standard MIT License; see COPYING.MMGLUE. */
+/**************************************************************************/
+
#define _GNU_SOURCE
#include <syscall.h>
diff --git a/src/thread/nt64/pthread_detach.c b/src/thread/nt64/pthread_detach.c
index 6fbd241..a3cf1d7 100644
--- a/src/thread/nt64/pthread_detach.c
+++ b/src/thread/nt64/pthread_detach.c
@@ -1,3 +1,9 @@
+/**************************************************************************/
+/* mmglue: midipix architecture- and target-specific bits for musl libc */
+/* Copyright (C) 2013--2023 SysDeer Technologies, LLC */
+/* Released under the Standard MIT License; see COPYING.MMGLUE. */
+/**************************************************************************/
+
#include "../thread/pthread_detach.c"
int __pthread_detach_impl(pthread_t t)
diff --git a/src/thread/nt64/pthread_equal.c b/src/thread/nt64/pthread_equal.c
index dc263f7..0e5c681 100644
--- a/src/thread/nt64/pthread_equal.c
+++ b/src/thread/nt64/pthread_equal.c
@@ -1,3 +1,9 @@
+/**************************************************************************/
+/* mmglue: midipix architecture- and target-specific bits for musl libc */
+/* Copyright (C) 2013--2023 SysDeer Technologies, LLC */
+/* Released under the Standard MIT License; see COPYING.MMGLUE. */
+/**************************************************************************/
+
#include "../thread/pthread_equal.c"
int __pthread_equal_impl(pthread_t a, pthread_t b)
diff --git a/src/thread/nt64/pthread_self.c b/src/thread/nt64/pthread_self.c
index 23fbc53..72daa4a 100644
--- a/src/thread/nt64/pthread_self.c
+++ b/src/thread/nt64/pthread_self.c
@@ -1,3 +1,9 @@
+/**************************************************************************/
+/* mmglue: midipix architecture- and target-specific bits for musl libc */
+/* Copyright (C) 2013--2023 SysDeer Technologies, LLC */
+/* Released under the Standard MIT License; see COPYING.MMGLUE. */
+/**************************************************************************/
+
#include "pthread_impl.h"
#include <threads.h>
#include "libc.h"
diff --git a/src/thread/nt64/syscall_cp.s b/src/thread/nt64/syscall_cp.s
index 27b649d..438acbe 100644
--- a/src/thread/nt64/syscall_cp.s
+++ b/src/thread/nt64/syscall_cp.s
@@ -1,3 +1,9 @@
+############################################################################
+## mmglue: midipix architecture- and target-specific bits for musl libc ##
+## Copyright (C) 2013--2023 SysDeer Technologies, LLC ##
+## Released under the Standard MIT License; see COPYING.MMGLUE. ##
+############################################################################
+
.text
.global __cp_begin
.global __cp_end