Provide explicit original initialized-thread primitives #27

Manually merged
erikinkinen merged 15 commits from feature/initialized-thread-images into main 2026-11-21 07:23:32 +01:00
Owner

Provide errno-location, sparse TLS-index access and the eager RAX descriptor
resolver for an already initialized original EriX thread image. Keep the unsafe
Rust/C interfaces explicit and separate caller byte-image preflight from native
thread authority. The bounded producer retains separate memory and thread roles.

Consumer packaging and the native guard driver are in #28. Thread birth and
module lifecycle remain separate work; these primitives do not provide them.

Depends on #26. Refs #4. Tracks erix/integration#65.

  • Implement and document the initialized-image primitives and byte preflight.
  • Preserve the existing memory routines and original input/output assertions.

This branch also includes the completed downstream features from #28.

Includes the thread image fixture rustdoc lint from #32, merged at 7133cbfc3bb86f29a94c23994a57192067330dae.

Provide errno-location, sparse TLS-index access and the eager RAX descriptor resolver for an already initialized original EriX thread image. Keep the unsafe Rust/C interfaces explicit and separate caller byte-image preflight from native thread authority. The bounded producer retains separate memory and thread roles. Consumer packaging and the native guard driver are in #28. Thread birth and module lifecycle remain separate work; these primitives do not provide them. Depends on #26. Refs #4. Tracks erix/integration#65. - [x] Implement and document the initialized-image primitives and byte preflight. - [x] Preserve the existing memory routines and original input/output assertions. This branch also includes the completed downstream features from #28. Includes the thread image fixture rustdoc lint from #32, merged at `7133cbfc3bb86f29a94c23994a57192067330dae`.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 19:16:16 +01:00
feat: Provide explicit original initialized-thread primitives
Some checks failed
CI / memory (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 9s
CI / memory (push) Failing after 1m37s
3a8b1699a3
Implement original errno-location and sparse TLS-index accessors against the
initialized EriX TCB/DTV/registry, plus the register-preserving eager RAX
descriptor resolver. Expose documented unsafe Rust/C interfaces and exclusive
caller byte-image preflight without metadata as native authority or a global
errno fallback. Refactor one bounded original producer for separate memory/thread
roles and receipts, removing the superseded script path. Preserve all eighteen
older bodies and author literal image plus freestanding C/assembly controls.
Full consumer packaging, negative-link/guard driver and lifecycle stay open.
fix: Preserve thread image alignment with current strict lint
Some checks failed
CI / memory (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 8s
CI / memory (push) Failing after 1m48s
e9f3f89c02
Use equivalent integer divisibility checks for thread pointer and DTV
alignment. Keep the original error precedence, byte immutability and
initialized-image authority checks.
docs: Repair Markdown paragraph wrapping
Some checks failed
CI / memory (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 8s
CI / memory (push) Failing after 1m21s
c7a9a88d07
Keep the original feature prose and all source inputs while correcting
Markdown spacing and line wrapping.
ci: Record shared source selections beside native witnesses
Some checks failed
CI / memory (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 9s
CI / memory (push) Failing after 1m27s
50a4b7fded
Record the exact component and moving shared helper once per run. This component has no external Cargo Git providers; keep its existing native process and instruction acceptance witnesses and all acceptance commands unchanged.
Keep the span fixture directly callable through its freestanding ABI frame
and preserve the original input, output and refusal assertions.
fix: Keep high-bit length probes freestanding
All checks were successful
CI / memory (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / memory (push) Successful in 40s
04745e1908
Express the original high-bit probe count as its full literal value so debug
compilation does not introduce an unrelated integer-overflow helper.
erikinkinen changed title from WIP: Provide explicit original initialized-thread primitives to Provide explicit original initialized-thread primitives 2026-11-13 01:36:09 +01:00
Author
Owner

The initialized-image primitives are complete. The freestanding witness corrections are included here and carried into #28, which owns the separate packaging and native guard driver.

The initialized-image primitives are complete. The freestanding witness corrections are included here and carried into #28, which owns the separate packaging and native guard driver.
feat: Package initialized-thread compatibility primitives
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 11s
CI / thread (push) Successful in 1m14s
CI / memory (push) Failing after 1m37s
5b74da9b09
Package the existing memory, string and initialized-thread entries explicitly
while preserving standalone components. Share symbol and archive inspection
and retain exact signal-status cleanup evidence in bounded thread controls.
fix: Preserve thread image alignment with current strict lint
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / memory (push) Failing after 2m18s
CI / thread (push) Successful in 1m1s
CI / markdown (push) Failing after 24s
f5694fd84f
Use equivalent integer divisibility checks for thread pointer and DTV
alignment. Keep the original error precedence, byte immutability and
initialized-image authority checks.
docs: Repair Markdown paragraph wrapping
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 6s
CI / memory (push) Failing after 1m21s
CI / thread (push) Successful in 1m7s
d9184c310a
Keep the original feature prose and all source inputs while correcting
Markdown spacing and line wrapping.
ci: Record shared source selections beside native witnesses
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 7s
CI / thread (push) Successful in 53s
CI / memory (push) Failing after 1m35s
7a7719c33b
Record the exact component and moving shared helper once per run. This component has no external Cargo Git providers; keep its existing native process and instruction acceptance witnesses and all acceptance commands unchanged.
fix: Inherit freestanding runtime witness repairs
All checks were successful
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / thread (push) Successful in 25s
CI / memory (push) Successful in 38s
144abbe015
Merge the initialized-thread prerequisite with the original scalar byte guards and literal high-bit count. Preserve the packaging branch thread validation and documentation while carrying both fixture fixes forward.
ci: Carry the reviewed process owner in runtime packaging
All checks were successful
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / thread (push) Successful in 25s
CI / memory (push) Successful in 42s
f9ea961106
Keep the existing packaging and alignment source on one feature branch while selecting the same original owner for both native cohorts. The separate alignment branch is redundant once this owner selection is carried here.
feat: Merge package initialized-thread compatibility primitives
All checks were successful
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / thread (push) Successful in 25s
CI / memory (push) Successful in 43s
CI / markdown (push) Successful in 2s
abd8b5c9c1
Package initialized-thread compatibility primitives. Integrate the reviewed feature into feature/initialized-thread-images while the upstream work retains its own completion requirements.

#28
Author
Owner

Merged the approved downstream work from #28. The upstream PR retains its own remaining scope and completion requirements.

Merged the approved downstream work from #28. The upstream PR retains its own remaining scope and completion requirements.
build: Enforce rustdoc lint in the thread image fixture
All checks were successful
CI / memory (push) Successful in 49s
CI / markdown (push) Successful in 2s
CI / thread (push) Successful in 26s
213525a420
build: Merge thread image fixture rustdoc lint
All checks were successful
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / thread (push) Successful in 25s
CI / memory (push) Successful in 44s
7133cbfc3b
erikinkinen changed target branch from feature/native-producer-receipt-contract to main 2026-11-21 07:23:30 +01:00
erikinkinen manually merged commit 63dcb72dc6 into main 2026-11-21 07:23:32 +01:00
erikinkinen referenced this pull request from a commit 2026-11-21 07:23:32 +01:00
Sign in to join this conversation.
No description provided.