Sixty-five headers sat side by side in include/, so `#include "irq.h"` said nothing about where irq.h was or what it belonged to, and errno.h, stat.h and fcntl.h at the top shadowed the system's for any host tool built with -I./include. They are in folders now -- arch/ core/ fs/ dev/ gfx/ net/ uapi/ (and ldls/ for the Linux driver layer) -- and every include names the folder, as Linux's do: "core/proc.h". Done mechanically and checked the hard way: the kernel built from this tree disassembles identically to the one built from the tree before it. The full image boots, and userland is the same set of programs. Paths in docs and comments follow; docs/guides/layout.md has a table of what is where, and tools/fix-includes.py rewrites old-style includes from the folders in the tree, for code written before this. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
44 lines
2.7 KiB
XML
44 lines
2.7 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="200" height="200">
|
|
<title>SchFS — Uberblock</title>
|
|
<desc>The uberblock ring: slots written round-robin, one of them newest.
|
|
Mount takes the highest-numbered slot that validates, which is the whole
|
|
consistency argument for the format.
|
|
|
|
Every slot is an explicit annular sector. An earlier version drew them with
|
|
stroke-dasharray on a circle, which is shorter to write and wrong in two ways:
|
|
a dash centred on the path start straddles the closure and renders as TWO
|
|
pieces with a seam between them, and the normal slot underneath the marked one
|
|
still drew, showing through. Neither can happen here -- the marked slot is one
|
|
shape and the slot it replaces is simply not emitted.
|
|
|
|
12 slots at 20 degrees of ink and 10 of gap, which closes at 360 exactly. The
|
|
marked slot is index 1, counting clockwise from the top.
|
|
|
|
It is marked twice over: it carries the accent, the same colour as the root at
|
|
the centre, and it reaches outward past the ring while sharing the inner edge
|
|
with every other slot. The colour is the reading on screen; the size is what
|
|
survives include/gfx/logo.h, which is a single coverage channel and keeps no
|
|
colour at all.
|
|
|
|
Stands alone, with no reference to SchOS, as projects/schfs-linux/README.md
|
|
requires.</desc>
|
|
|
|
<g fill="#3C2E85">
|
|
<path d="M85.93 20.23 A81.00 81.00 0 0 1 114.07 20.23 L110.25 41.90 A59.00 59.00 0 0 0 89.75 41.90 Z"/>
|
|
<path d="M162.05 47.93 A81.00 81.00 0 0 1 176.12 72.30 L155.44 79.82 A59.00 59.00 0 0 0 145.20 62.08 Z"/>
|
|
<path d="M179.77 85.93 A81.00 81.00 0 0 1 179.77 114.07 L158.10 110.25 A59.00 59.00 0 0 0 158.10 89.75 Z"/>
|
|
<path d="M176.12 127.70 A81.00 81.00 0 0 1 162.05 152.07 L145.20 137.92 A59.00 59.00 0 0 0 155.44 120.18 Z"/>
|
|
<path d="M152.07 162.05 A81.00 81.00 0 0 1 127.70 176.12 L120.18 155.44 A59.00 59.00 0 0 0 137.92 145.20 Z"/>
|
|
<path d="M114.07 179.77 A81.00 81.00 0 0 1 85.93 179.77 L89.75 158.10 A59.00 59.00 0 0 0 110.25 158.10 Z"/>
|
|
<path d="M72.30 176.12 A81.00 81.00 0 0 1 47.93 162.05 L62.08 145.20 A59.00 59.00 0 0 0 79.82 155.44 Z"/>
|
|
<path d="M37.95 152.07 A81.00 81.00 0 0 1 23.88 127.70 L44.56 120.18 A59.00 59.00 0 0 0 54.80 137.92 Z"/>
|
|
<path d="M20.23 114.07 A81.00 81.00 0 0 1 20.23 85.93 L41.90 89.75 A59.00 59.00 0 0 0 41.90 110.25 Z"/>
|
|
<path d="M23.88 72.30 A81.00 81.00 0 0 1 37.95 47.93 L54.80 62.08 A59.00 59.00 0 0 0 44.56 79.82 Z"/>
|
|
<path d="M47.93 37.95 A81.00 81.00 0 0 1 72.30 23.88 L79.82 44.56 A59.00 59.00 0 0 0 62.08 54.80 Z"/>
|
|
</g>
|
|
|
|
<g fill="#7C5CFF">
|
|
<path d="M132.15 11.67 A94.00 94.00 0 0 1 160.42 27.99 L137.92 54.80 A59.00 59.00 0 0 0 120.18 44.56 Z"/>
|
|
<circle cx="100" cy="100" r="20"/>
|
|
</g>
|
|
</svg>
|