From af2d2cfdcdf5976f06fbcc4b1f8507f0b7d4af89 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 10 Nov 2026 12:01:16 -0300 Subject: design: the visual system canim follows, with eight mock frames Lapis page and vellum ink; a role is a form as well as a colour (current, write, read, pointer, allocated, freed, fault, kernel); panels as acme windows; Go Mono for the machine and Go for the narrator; motion as whole frames at 60 fps. design/mock/gen.py redraws the mocks from the tokens. --- design/mock/08-far-view.svg | 329 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 329 insertions(+) create mode 100644 design/mock/08-far-view.svg (limited to 'design/mock/08-far-view.svg') diff --git a/design/mock/08-far-view.svg b/design/mock/08-far-view.svg new file mode 100644 index 0000000..d97688f --- /dev/null +++ b/design/mock/08-far-view.svg @@ -0,0 +1,329 @@ + + + +A process, from far away +hello +kernel + +memory + +cpu + +source + + + + + + +address space +one square a page of 4096 bytes · low addresses on top +55d4 +a1c0 +1000 + +r + + +x +hello +4K + +55d4 +a1c0 +2000 + +r + + +hello +4K + +55d4 +a1c0 +3000 + +r + +w + +hello +8K + + + +55d4 +a2e5 +f000 + +r + +w + +heap +132K + + + + + + + + + + + + + + + + + + + +7f3c +5e20 +0000 + +r + + +x +libc.so.6 +2.1M + + + + + + + + + + + + + + + + + + + +7f3c +5e5c +2000 + +r + + +x +ld.so +216K + + + + + + + + + + + + + + + + + + + +7ffd +3a2a +2000 + +r + +w + +stack +132K + + + + + + + + + + + + + + + + + + + +7ffd +3a3d +1000 + +r + + +x +vdso +8K + + + +ffff 8000 0000 +kernel +the upper half of every address space + + + + +one page of the stack +4096 bytes + + + +3640 bytes above +3a2c +1e38 + + + + + + + + + + + + + + + + +3a2c +1e40 + +48 + +65 + +6c + +6c + +6f + +2c + +20 + +77 +3a2c +1e48 + +6f + +72 + +6c + +64 + +21 + +0a + +00 + +00 +3a2c +1e50 + +00 + +3f + +9a + +c1 + +77 + +d2 + +8e + +5b +3a2c +1e58 + +40 + +1e + +2c + +3a + +fd + +7f + +00 + +00 + + + +416 below + + + + + + +system calls +time runs right · width is time spent in the kernel + +user +kernel + +execve + + + +openat + + + + + +mprotect + + + + + +write + +exit_group + +the dynamic loader + +main + +Before main runs a single line, the loader has already +asked the kernel for memory a dozen times. + -- cgit v1.3