chore(license): an SPDX header on every source file that had none (LicenseRef-Starship-1.0) [skip ci]
The header scan (Captain Bob, 2026-11-10): 788 source files -- 351 with the
SL-1.0 header, 12 with the old name (docs/working/experiments, kept by
ruling), 31 under someone else's licence (tools/kconfig, Linux's, GPL-2.0:
kept), and 394 with none. Ruled: the SPDX form; capsules (.4th, .f18) and
proofs (.thy) left for a ruling of their own (mkcapsule's 64x16 block format,
content-addressed capsules).
253 files now begin
SPDX-License-Identifier: LicenseRef-Starship-1.0
Copyright (c) 2023-2026 Robert A. James
as a /* */ block (C, headers, assembly, linker scripts) or # lines (scripts,
Makefiles, Kconfig; below a shebang or a coding line); tools/mkcapsule.c,
which had the copyright line, gets the SPDX line only.
Not touched: docs/working/ (archive and old campaign material, as the
ruling kept the experiments); v4/system/post_cases.c (generated by
v4/tools/mkpost.py, "do not edit" -- the generator has the header).
Comments only: the kernel builds on amd64, aarch64, riscv64; make -C v4
test-32: 39 programs, 0 failures; every changed script parses.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GE3SDvQn5EoxdGufk84zz2
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/*
|
||||
* blkio_usb.h — USB Mass Storage (Bulk-Only Transport) blkio_dev backend
|
||||
* for StarKernel, Milestone 2h. Presents a blkio_dev_t interface for
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/*
|
||||
* boot_info_offsets.h — fixed byte offsets of BootInfo fields
|
||||
*
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* capsule_blocks.h -- the block format of a .4th capsule payload.
|
||||
*
|
||||
* A .4th capsule is text: "Block <num>" header lines, each followed by that
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/*
|
||||
* capsule_sig.h -- per-capsule Ed25519 signature verification
|
||||
* (Milestone 6, Phase 8). Deliberately kept separate from
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/*
|
||||
* cmdline.h — kernel command-line parser API
|
||||
*
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* ed25519.h -- EdDSA (RFC 8032), freestanding C99.
|
||||
*
|
||||
* Originally verify-only ("this kernel never signs; signing happens in
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* fe25519.h -- arithmetic mod p = 2^255-19, for Ed25519.
|
||||
*
|
||||
* Five-limb representation, uniform radix 2^51 (value =
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding assert.h shim — asserts become no-ops in kernel builds. */
|
||||
#ifndef FREESTANDING_ASSERT_H
|
||||
#define FREESTANDING_ASSERT_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding ctype.h shim — character classification for kernel builds. */
|
||||
#ifndef FREESTANDING_CTYPE_H
|
||||
#define FREESTANDING_CTYPE_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding errno.h shim — no OS errno in kernel builds. */
|
||||
#ifndef FREESTANDING_ERRNO_H
|
||||
#define FREESTANDING_ERRNO_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding inttypes.h shim — PRI* format macros for kernel builds. */
|
||||
#ifndef FREESTANDING_INTTYPES_H
|
||||
#define FREESTANDING_INTTYPES_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding math.h shim — floating-point math for kernel builds.
|
||||
* These functions are declared but should not be called; physics feedback
|
||||
* loops use Q48.16 integer arithmetic, not float. */
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding sched.h shim — no POSIX scheduling in kernel builds. */
|
||||
#ifndef FREESTANDING_SCHED_H
|
||||
#define FREESTANDING_SCHED_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding signal.h shim — no POSIX signals in kernel builds. */
|
||||
#ifndef FREESTANDING_SIGNAL_H
|
||||
#define FREESTANDING_SIGNAL_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding stdio.h shim for aarch64 COFF kernel builds.
|
||||
* printf/fprintf/snprintf/vfprintf all provided by shim.c (route to console). */
|
||||
#ifndef FREESTANDING_STDIO_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding stdlib.h shim for aarch64 COFF kernel builds.
|
||||
* malloc/free/calloc/realloc provided by shim.c; abort by shim.c. */
|
||||
#ifndef FREESTANDING_STDLIB_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding string.h shim for aarch64 COFF kernel builds.
|
||||
* Implementations are provided by src/starkernel/vm/host/shim.c. */
|
||||
#ifndef FREESTANDING_STRING_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding sys/time.h shim — no gettimeofday in kernel builds. */
|
||||
#ifndef FREESTANDING_SYS_TIME_H
|
||||
#define FREESTANDING_SYS_TIME_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding sys/types.h shim — POSIX types for kernel builds. */
|
||||
#ifndef FREESTANDING_SYS_TYPES_H
|
||||
#define FREESTANDING_SYS_TYPES_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding time.h shim — no POSIX time in kernel builds. */
|
||||
#ifndef FREESTANDING_TIME_H
|
||||
#define FREESTANDING_TIME_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* gpt.h -- the GPT reader, and a block device of one partition.
|
||||
* docs/v4.0.0/STICK.md 3 and 4; docs/v4.0.0/plans/2026-10-26-stick-2-gpt-reader.md.
|
||||
*/
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* kbd_input.h -- one byte of console input, from the serial line or a
|
||||
* keyboard (PS/2, USB boot keyboard, virtio keyboard). Both systems'
|
||||
* consoles read through it: v3's (kernel/src/repl.c) and the v4 boot's
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/*
|
||||
* kernel_args.h — boot command-line argument structure and defaults
|
||||
*
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/*
|
||||
* pci.h — Generic PCI/PCIe subsystem for StarKernel
|
||||
*
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/*
|
||||
* pie_hidden.h -- every symbol in the amd64 image is the image's own.
|
||||
*
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/*
|
||||
* rng.h — Unified entropy entry point for StarKernel
|
||||
*
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* scalar25519.h -- arithmetic mod L (the Ed25519 base point's order),
|
||||
* for reducing SHA-512 output to a valid scalar and checking a
|
||||
* signature's S component for the RFC 8032 malleability requirement
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* sha512.h -- freestanding SHA-512 (FIPS 180-4 / RFC 6234), C99, no libc
|
||||
* beyond memcpy/memset (both available in the kernel via
|
||||
* src/starkernel/vm/host/shim.c). No __int128 used -- 64-bit words only,
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/*
|
||||
* user_identity_seed.h -- on-disk record format for a minted user
|
||||
* identity's own keypair and profile (FABRIC-2.md §F.8/§F.20), stored in
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* sk_v4.h -- StarForth v4 on bare metal: one host node at a prompt.
|
||||
*
|
||||
* Built only with STARFORTH_V4=1 (Kconfig.kernel).
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user