generated from erix/meta
Retain original x86 startup allocation descriptions #9
No reviewers
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/lib-handoff!9
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/x86-startup-resource-handoff"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary and rationale
Describe the original x86 boot allocations needed to retain the initial hierarchy and start APs safely. BootKernel v2.1 adds an optional extension while preserving the 200-byte base header and counted catalog.
Tracking and scope
Related: #8 and Kernel native execution.
Allocation-free record codec, exact geometry and metadata checks.
Complete bootloader reservation coverage and malformed-input controls.
Component contracts and exact wire offsets.
Technical manual contract in Docs #98.
Architecture, authority and failure behavior
The record describes original table, trampoline, real-mode stack and BSP stack allocations. It grants no access. The producer and kernel retain the actual allocations, including uncertain AP startup. Validation rejects overlapping metadata, incompatible versions, unknown flags, incomplete resources, overflow and reservation gaps. Encoding refuses invalid values before changing output. KernelRoot v1.2 is unchanged; BootKernel producers and consumers must migrate together under the existing strict version policy.
Validation evidence
Formatting, strict Clippy, all 23 tests in debug and release, warning-denied rustdoc and Markdown lint pass. These are wire-contract checks; native startup acceptance remains open above.
Review checklist
Original implementation; no dependencies or unsafe code added.
Signed commit, inline rustdoc and source files below 1,000 lines.
README, ARCHITECTURE and ROADMAP updated.
Encode and validate the original x86 startup allocation descriptions.
Native producer/consumer acceptance: Bootloader #29, Kernel #139.
This branch also includes the completed downstream features from #11, #13.
WIP: Retain original x86 startup allocation descriptionsto Retain original x86 startup allocation descriptionsThe codec tests cover exact wire framing, malformed/truncated layouts, reservation coverage, optional scratch and transactional encoding. Current component CI passes. Actual production and native consumption remain tracked by Bootloader #29 and Kernel #139; they do not add native authority to this data codec. Ready for review.
Merged the approved downstream work from #11, #13. The upstream PR retains its own remaining scope and completion requirements.