Repository navigation
Conversation
Add a read-only PML4 invocation that authenticates the live ASID-to-root mapping and inspects present page-table leaves, including 2 MiB and 1 GiB mappings. Reject disallowed addresses and stale or forged root identities. Kernel specs prove mapped, absent, adjacent, covering-page, wrong-root, and post-unmap behavior. Validation: nightly custom-target spec check; kernel spec image built and QEMU log reached All specs passed! (launcher demo stopped after verdict).
Keep the executive request label coupled to the pinned kernel interface instead of repeating its numeric value.
Validate the single PCI segment-zero DRHD and copy exact endpoint scopes into kernel-owned requester authority. Require translation enable and ordered context/IOTLB invalidation, then retire DMA leaves before page tables with alias and descendant checks. Native image build and bounded QEMU boot proved VT-d initialization, translation enable, and AHCI IOPT map success.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Review and validation
cargo +nightly check -Z build-std=core -Z build-std-features=compiler-builtins-mem -Z unstable-options -Z json-target-spec --target triplets/mykernel-x86.json --features spec --lockedpasses../scripts/build_kernel.shpasses. QEMU spec log reachesAll specs passed!, including mapped, absent, adjacent, 2 MiB, 1 GiB, wrong-root, disallowed-address, and post-unmap checks. The launcher continues into its pre-existing rootserver demo after the spec verdict; QEMU was stopped at that point, with no orphaned run.Closes #21.