docs: README, plan, guides and the site describe what is built now
README: rewritten around what runs (Linux software, Xorg, apk, Linux's drivers), the honest gaps, measured numbers. plan/: 1.0.md is the finish line, where each clause of the acceptance test stands, and the register (one failing clause: a root that survives a reboot); built plans (foundations, hybrid, alpine, xorg) and the decided-against one (wayland) are gone, their content lives in architecture/; roadmap.md is only what is still open. guides: building/layout/testing/adding-a-driver (Linux code may be used). history: four entries (ls -lR, TLB shootdowns, MDIO 0x02460246, netlink MSG_TRUNC). Website: cards, stack, download page, docs index. Code comments that pointed at deleted plan docs point at the architecture docs. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EVRhxi9zpdW2uDUN4FVcao
This commit is contained in:
parent
2556a955b3
commit
cb3d28e3d6
57 changed files with 685 additions and 2121 deletions
|
|
@ -302,7 +302,7 @@ pciuser_mmio_ok(uint64 phys, uint64 len)
|
|||
//
|
||||
// Nothing had noticed because the only consumer was virtio-gpu, whose
|
||||
// BARs are large. The first foreign driver found it in its first minute,
|
||||
// which is the thing docs/plan/hybrid.md said a foreign driver would be
|
||||
// which is the thing docs/architecture/devices.md said a foreign driver would be
|
||||
// good for.
|
||||
//
|
||||
// The widening is real and is worth naming: a sub-page BAR hands the
|
||||
|
|
@ -477,13 +477,13 @@ do_claim(uint64 argp)
|
|||
//
|
||||
// Two drivers on one device is not a subtle failure -- it is two writers of
|
||||
// the same registers, and what it looks like from outside is hardware that
|
||||
// has started lying. The eviction path (docs/plan/hybrid.md) is for the
|
||||
// has started lying. The eviction path (docs/architecture/devices.md) is for the
|
||||
// kernel to *hand over* a device deliberately; until a driver can be told to
|
||||
// let go, the honest answer to "may I have the one you are using" is no.
|
||||
if (d->driver) {
|
||||
// Ask it to let go. A driver with no release hook keeps its device, which
|
||||
// is always safe and, for anything on the path to a shell, correct: the
|
||||
// rule in docs/plan/hybrid.md is that the kernel keeps a minimal driver
|
||||
// rule in docs/architecture/devices.md is that the kernel keeps a minimal driver
|
||||
// for everything needed to reach a prompt and userspace owns the good one.
|
||||
if (!d->drv || !d->drv->release)
|
||||
return -EBUSY;
|
||||
|
|
|
|||
Loading…
Reference in a new issue