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
29 lines
1.5 KiB
XML
29 lines
1.5 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="200" height="200">
|
|
<title>SchOS — Shift, as an ink mask</title>
|
|
<desc>SAME GEOMETRY AS "shift.svg". Only the fills differ, and they are
|
|
greys because they are not colours: tools/python/mklogo.py reads ink as
|
|
(255 - luminance) * alpha, so what is stored is coverage. The kernel then
|
|
composites that coverage in whatever include/gfx/theme.h says the accent is.
|
|
|
|
The greys run DARK AT THE TOP because the relationship inverts: darkest here
|
|
is most ink, which the kernel draws brightest. Copying the violet fills from
|
|
the colour mark would light the object from below.
|
|
|
|
Two files with one geometry is a thing that can drift. If either is edited,
|
|
edit both -- or replace this pair with one file and regenerate the other.</desc>
|
|
|
|
<!-- bottom slab: least ink, so the kernel draws it dimmest -->
|
|
<path fill="#6E6E6E" d="M54 126 L158 126 L128 156 L24 156 Z"/>
|
|
<path fill="#888888" d="M24 156 L128 156 L128 167 L24 167 Z"/>
|
|
<path fill="#949494" d="M158 126 L158 137 L128 167 L128 156 Z"/>
|
|
|
|
<!-- middle -->
|
|
<path fill="#3A3A3A" d="M72 84 L176 84 L146 114 L42 114 Z"/>
|
|
<path fill="#5C5C5C" d="M42 114 L146 114 L146 125 L42 125 Z"/>
|
|
<path fill="#6A6A6A" d="M176 84 L176 95 L146 125 L146 114 Z"/>
|
|
|
|
<!-- top slab: most ink, so the kernel draws it brightest -->
|
|
<path fill="#0B0B0B" d="M90 42 L194 42 L164 72 L60 72 Z"/>
|
|
<path fill="#2A2A2A" d="M60 72 L164 72 L164 83 L60 83 Z"/>
|
|
<path fill="#3A3A3A" d="M194 42 L194 53 L164 83 L164 72 Z"/>
|
|
</svg>
|