Files
LithosAnanke/v3/src/platform
Claude 16b9747d33 chore(license): the source headers name the Starship License 1.0 (SL-1.0), as LICENSE does [skip ci]
347 headers said "Licensed under the StarForth License, Version 1.0" -- a
shortening (Captain Bob, 2026-11-08: "License file SL I think I shortened
accidently"); LICENSE is, and has been since the first commit, the
Starship License 1.0 (SL-1.0, SPDX LicenseRef-Starship-1.0). 349 files,
566 occurrences, now "Starship License, Version 1.0 (SL-1.0)".

Left as they are, pending a ruling: docs/patent/ (the patent figures),
docs/formal/ (the citable volumes) and the generated reports under
docs/working/experiments/ (32 files). Comments and license text only:
the amd64 kernel builds, every changed script parses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GE3SDvQn5EoxdGufk84zz2
2026-11-08 17:54:24 +00:00
..

src/platform/

Platform abstraction layer for the hosted VM build.

  • alloc_host.c — hosted (malloc-backed) allocator implementation of include/platform_alloc.h.
  • alloc_kernel.c — a kernel-side allocator implementation of the same interface. Note: src/starkernel/vm/alloc_kernel.c is the copy actually referenced by Makefile.starkernel's kernel build; this one under src/platform/ is not wired into any build target — check before relying on it.
  • platform_init.c — platform-specific initialization dispatch.
  • threading.c — threading primitives backing the heartbeat background thread (HEARTBEAT_THREAD_ENABLED=1).

Subdirectories:

  • linux/time.c — POSIX (clock_gettime) timing backend.
  • l4re/time.c — HISTORICAL: L4Re/Fiasco.OC timing backend. L4Re was a supported platform target through mid-2026; it has been removed as an active target and this file is no longer wired into any build.