diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-16 19:42:08 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-16 21:52:32 -0600 |
commit | 3cd39827ec2d2aa8d69762de8fbf72322ca85038 (patch) | |
tree | 4a92d5736df1c620413f656b2ea6771aec94cf98 /cmd | |
parent | c60b3a96cf9bfedbfc402a50e0b85f22d231d67b (diff) |
copyright statements
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/sbc_harness/config/config.h | 2 | ||||
-rw-r--r-- | cmd/sbc_harness/config/tusb_config.h | 7 | ||||
-rw-r--r-- | cmd/sbc_harness/hw/rp2040_hwspi.c | 6 | ||||
-rw-r--r-- | cmd/sbc_harness/hw/rp2040_hwspi.h | 7 | ||||
-rw-r--r-- | cmd/sbc_harness/hw/spi.h | 6 | ||||
-rw-r--r-- | cmd/sbc_harness/hw/w5500.c | 8 | ||||
-rw-r--r-- | cmd/sbc_harness/hw/w5500.h | 6 | ||||
-rw-r--r-- | cmd/srv9p/config/config.h | 2 | ||||
-rw-r--r-- | cmd/srv9p/gnet.h | 2 | ||||
-rw-r--r-- | cmd/srv9p/main.c | 6 | ||||
-rwxr-xr-x | cmd/srv9p/static.h.gen | 4 | ||||
-rw-r--r-- | cmd/srv9p/static9p.c | 6 | ||||
-rw-r--r-- | cmd/srv9p/static9p.h | 6 |
13 files changed, 61 insertions, 7 deletions
diff --git a/cmd/sbc_harness/config/config.h b/cmd/sbc_harness/config/config.h index f12d4e5..4817bf8 100644 --- a/cmd/sbc_harness/config/config.h +++ b/cmd/sbc_harness/config/config.h @@ -1,4 +1,4 @@ -/* config.h - Compile-time configuration for sbc_harness +/* sbc_harness/config/config.h - Compile-time configuration for sbc_harness * * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> * SPDX-Licence-Identifier: AGPL-3.0-or-later diff --git a/cmd/sbc_harness/config/tusb_config.h b/cmd/sbc_harness/config/tusb_config.h index 0eb1c9d..74561f3 100644 --- a/cmd/sbc_harness/config/tusb_config.h +++ b/cmd/sbc_harness/config/tusb_config.h @@ -1,9 +1,12 @@ -/* tusb_config.h - Compile-time configuration for the TinyUSB library +/* sbc_harness/config/tusb_config.h - Compile-time configuration for the TinyUSB library * + * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> + * SPDX-Licence-Identifier: AGPL-3.0-or-later + * + * SPDX-Licence-Identifier: MIT * The MIT License (MIT) * * Copyright (c) 2019 Ha Thach (tinyusb.org) - * Copyright (c) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/cmd/sbc_harness/hw/rp2040_hwspi.c b/cmd/sbc_harness/hw/rp2040_hwspi.c index 7019954..e6e4566 100644 --- a/cmd/sbc_harness/hw/rp2040_hwspi.c +++ b/cmd/sbc_harness/hw/rp2040_hwspi.c @@ -1,4 +1,8 @@ -/* rp2040_hwspi.c - `struct spi` implementation for the RP2040's ARM Primecell SSP (PL022) +/* hw/rp2040_hwspi.c - `struct spi` implementation for the RP2040's + * ARM Primecell SSP (PL022) (implementation file) + * + * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> + * SPDX-Licence-Identifier: AGPL-3.0-or-later */ #include <assert.h> diff --git a/cmd/sbc_harness/hw/rp2040_hwspi.h b/cmd/sbc_harness/hw/rp2040_hwspi.h index 55a6759..8793fd6 100644 --- a/cmd/sbc_harness/hw/rp2040_hwspi.h +++ b/cmd/sbc_harness/hw/rp2040_hwspi.h @@ -1,3 +1,10 @@ +/* hw/rp2040_hwspi.h - `struct spi` implementation for the RP2040's + * ARM Primecell SSP (PL022) (header file) + * + * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> + * SPDX-Licence-Identifier: AGPL-3.0-or-later + */ + #ifndef _RP2040_HWSPI_H_ #define _RP2040_HWSPI_H_ diff --git a/cmd/sbc_harness/hw/spi.h b/cmd/sbc_harness/hw/spi.h index c5a5603..86b831e 100644 --- a/cmd/sbc_harness/hw/spi.h +++ b/cmd/sbc_harness/hw/spi.h @@ -1,3 +1,9 @@ +/* hw/spi.h - Generic SPI definitions + * + * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> + * SPDX-Licence-Identifier: AGPL-3.0-or-later + */ + #ifndef _HW_SPI_H_ #define _HW_SPI_H_ diff --git a/cmd/sbc_harness/hw/w5500.c b/cmd/sbc_harness/hw/w5500.c index 7bb9895..e32c589 100644 --- a/cmd/sbc_harness/hw/w5500.c +++ b/cmd/sbc_harness/hw/w5500.c @@ -1,8 +1,14 @@ -/* +/* hw/w5500.c - libnet implementation for the WIZnet W5500 chip + * + * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> + * SPDX-Licence-Identifier: AGPL-3.0-or-later + * * https://github.com/Wiznet/ioLibrary_Driver/blob/b981401e7f3d07015619adf44c13998e13e777f9/Ethernet/wizchip_conf.c * https://github.com/Wiznet/ioLibrary_Driver/blob/b981401e7f3d07015619adf44c13998e13e777f9/Ethernet/W5500/w5500.h * https://github.com/Wiznet/ioLibrary_Driver/blob/b981401e7f3d07015619adf44c13998e13e777f9/socket.c * + * SPDX-Licence-Identifier: BSD-3-Clause + * * Copyright (c) 2013, WIZnet Co., LTD. * All rights reserved. * diff --git a/cmd/sbc_harness/hw/w5500.h b/cmd/sbc_harness/hw/w5500.h index 967a436..bb629c5 100644 --- a/cmd/sbc_harness/hw/w5500.h +++ b/cmd/sbc_harness/hw/w5500.h @@ -1,3 +1,9 @@ +/* hw/w5500.h - libnet implementation for the WIZnet W5500 chip + * + * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> + * SPDX-Licence-Identifier: AGPL-3.0-or-later + */ + #ifndef _HW_W5500_H_ #define _HW_W5500_H_ diff --git a/cmd/srv9p/config/config.h b/cmd/srv9p/config/config.h index 0f6c37e..fa6faeb 100644 --- a/cmd/srv9p/config/config.h +++ b/cmd/srv9p/config/config.h @@ -1,4 +1,4 @@ -/* config.h - Compile-time configuration for srv9p +/* srv9p/config/config.h - Compile-time configuration for srv9p * * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> * SPDX-Licence-Identifier: AGPL-3.0-or-later diff --git a/cmd/srv9p/gnet.h b/cmd/srv9p/gnet.h index 549dd7b..341ccd2 100644 --- a/cmd/srv9p/gnet.h +++ b/cmd/srv9p/gnet.h @@ -1,4 +1,4 @@ -/* gnet.c - libnet implementation for libcr + GNU libc +/* gnet.h - libnet implementation for libcr + GNU libc * * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> * SPDX-Licence-Identifier: AGPL-3.0-or-later diff --git a/cmd/srv9p/main.c b/cmd/srv9p/main.c index 4170b5d..ae0e34e 100644 --- a/cmd/srv9p/main.c +++ b/cmd/srv9p/main.c @@ -1,3 +1,9 @@ +/* srv9p/main.c - Main entry point for test 9P server + * + * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> + * SPDX-Licence-Identifier: AGPL-3.0-or-later + */ + #include <error.h> #include <stdio.h> diff --git a/cmd/srv9p/static.h.gen b/cmd/srv9p/static.h.gen index 1c4d7b1..bb27e55 100755 --- a/cmd/srv9p/static.h.gen +++ b/cmd/srv9p/static.h.gen @@ -1,4 +1,8 @@ #!/bin/sh +# static.h.gen - Generate C definitions for GNU `ld -r -b binary` files +# +# Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> +# SPDX-Licence-Identifier: AGPL-3.0-or-later nm --format=posix "$@" | sed -n -E \ diff --git a/cmd/srv9p/static9p.c b/cmd/srv9p/static9p.c index e20921d..f508ff1 100644 --- a/cmd/srv9p/static9p.c +++ b/cmd/srv9p/static9p.c @@ -1,3 +1,9 @@ +/* srv9p/static9p.c - Serve static files over 9P + * + * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> + * SPDX-Licence-Identifier: AGPL-3.0-or-later + */ + #include <assert.h> #include "static9p.h" diff --git a/cmd/srv9p/static9p.h b/cmd/srv9p/static9p.h index 2d77138..92f5909 100644 --- a/cmd/srv9p/static9p.h +++ b/cmd/srv9p/static9p.h @@ -1,3 +1,9 @@ +/* srv9p/static9p.h - Serve static files over 9P + * + * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> + * SPDX-Licence-Identifier: AGPL-3.0-or-later + */ + #ifndef _STATIC9P_H_ #define _STATIC9P_H_ |