diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/drawio/OS_DESIGN.drawio | 38 | ||||
| -rw-r--r-- | docs/drawio/ZXD_DESIGN.drawio | 62 | ||||
| -rw-r--r-- | docs/tex/hefs.tex | 4 |
3 files changed, 64 insertions, 40 deletions
diff --git a/docs/drawio/OS_DESIGN.drawio b/docs/drawio/OS_DESIGN.drawio index ca854ca6..c428d137 100644 --- a/docs/drawio/OS_DESIGN.drawio +++ b/docs/drawio/OS_DESIGN.drawio @@ -1,20 +1,44 @@ <mxfile host="65bd71144e"> <diagram name="Page-1" id="lDkK2i6CeL2VbSOVDvrP"> - <mxGraphModel dx="1144" dy="698" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0"> + <mxGraphModel dx="960" dy="709" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0"> <root> <mxCell id="0"/> <mxCell id="1" parent="0"/> - <mxCell id="ifhO3zQZNW-sXvZMTmu8-2" value="<p class="p1"><b>System API (user.sys</b><b style="background-color: transparent;">) – User-Space Interface (Ring 3, EL0)</b></p>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="235.5" y="340" width="360" height="30" as="geometry"/> + <mxCell id="ifhO3zQZNW-sXvZMTmu8-2" value="<p class="p1"><b>System API (libSystem.sys</b><b style="background-color: transparent;">) – User-Space Interface (Ring 3, EL0)</b></p>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> + <mxGeometry x="240" y="340" width="360" height="30" as="geometry"/> </mxCell> <mxCell id="ifhO3zQZNW-sXvZMTmu8-3" value="<p class="p1"><b>Applications &amp; Dynamically Linked Libraries (Ring 3, EL0)</b></p>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="235.5" y="295" width="360" height="35" as="geometry"/> + <mxGeometry x="240" y="240" width="180" height="35" as="geometry"/> </mxCell> <mxCell id="ifhO3zQZNW-sXvZMTmu8-13" value="<p class="p1"><b>NeKernel MP Kernel, DDK, and Drivers (Ring 0, EL1)</b></p>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="235.5" y="450" width="360" height="60" as="geometry"/> + <mxGeometry x="240" y="450" width="360" height="60" as="geometry"/> </mxCell> - <mxCell id="4" value="<p class="p1"><b>SCI and DDK Kernel Calls (Ring 0 / Ring 2, EL0 to EL1 Transitions)</b></p>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="235.5" y="380" width="360" height="60" as="geometry"/> + <mxCell id="4" value="<p class="p1"><b>SCI and DDK calls (Ring 0 / Ring 2, EL0 to EL1 Transitions)</b></p>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> + <mxGeometry x="240" y="380" width="360" height="60" as="geometry"/> + </mxCell> + <mxCell id="5" value="<p class="p1"><b>HAL</b></p>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> + <mxGeometry x="404.5" y="525" width="195.5" height="60" as="geometry"/> + </mxCell> + <mxCell id="6" value="<p class="p1"><b>NeKernel</b></p>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> + <mxGeometry x="140" y="525" width="250" height="60" as="geometry"/> + </mxCell> + <mxCell id="7" value="<p class="p1"><b>BootZ Bootloader and Handover Protocol</b></p>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> + <mxGeometry x="140" y="600" width="460" height="60" as="geometry"/> + </mxCell> + <mxCell id="9" value="<p class="p1"><b>Firmware (EFI, NeKernel.org's FW)</b></p>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> + <mxGeometry x="140" y="670" width="460" height="60" as="geometry"/> + </mxCell> + <mxCell id="13" value="<p class="p1"><b>System SDK Stable API</b></p>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> + <mxGeometry x="238.88" y="290" width="360" height="40" as="geometry"/> + </mxCell> + <mxCell id="15" value="<p class="p1"><b>Services (Ring 3, EL0)</b></p>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1"> + <mxGeometry x="430" y="240" width="170" height="35" as="geometry"/> + </mxCell> + <mxCell id="16" value="<p class="p1"><b>Hypr86</b></p><p class="p1"><b>Virtual Machine</b></p>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1"> + <mxGeometry x="140" y="240" width="90" height="270" as="geometry"/> + </mxCell> + <mxCell id="19" value="<h1 style="margin-top: 0px;">NeKernel</h1><p>This shows how NeKernel is</p><p>designed, some parts here are</p><p>not present yet, such as Hypr86.</p><p>This diagram was made for the</p><p>developers to understand NeKernel better.</p>" style="text;html=1;whiteSpace=wrap;overflow=hidden;rounded=0;" vertex="1" parent="1"> + <mxGeometry x="630" y="240" width="180" height="190" as="geometry"/> </mxCell> </root> </mxGraphModel> diff --git a/docs/drawio/ZXD_DESIGN.drawio b/docs/drawio/ZXD_DESIGN.drawio index 7452d3f9..19fadabd 100644 --- a/docs/drawio/ZXD_DESIGN.drawio +++ b/docs/drawio/ZXD_DESIGN.drawio @@ -1,31 +1,31 @@ -<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36" version="24.7.12"> - <diagram name="Page-1" id="PApGwmLcT2JRCILoETeI"> - <mxGraphModel dx="1368" dy="717" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0"> - <root> - <mxCell id="0" /> - <mxCell id="1" parent="0" /> - <mxCell id="5xbXWvOdvmnQnRAweQaM-1" value="<h1 style="margin-top: 0px;">ZXD</h1><p>NeKernel eXtended Driver Format.</p><p>An Extended PE32+</p><p>With additional headers and such.</p>" style="text;html=1;whiteSpace=wrap;overflow=hidden;rounded=0;" parent="1" vertex="1"> - <mxGeometry x="40" y="40" width="210" height="130" as="geometry" /> - </mxCell> - <mxCell id="5xbXWvOdvmnQnRAweQaM-2" value="NeKernel HEADER" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="40" y="180" width="310" height="60" as="geometry" /> - </mxCell> - <mxCell id="5xbXWvOdvmnQnRAweQaM-3" value="PE32+ ZONE" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="40" y="260" width="310" height="60" as="geometry" /> - </mxCell> - <mxCell id="5xbXWvOdvmnQnRAweQaM-4" value="ZXD STUB [1..N]" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="40" y="340" width="310" height="60" as="geometry" /> - </mxCell> - <mxCell id="FgewEam9b60nFajCTQDb-1" value="StubHeapSz, StubStackSz, StubPageFlags..." style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"> - <mxGeometry x="380" y="355" width="290" height="30" as="geometry" /> - </mxCell> - <mxCell id="FgewEam9b60nFajCTQDb-2" value="Executable image type..." style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"> - <mxGeometry x="380" y="274" width="290" height="30" as="geometry" /> - </mxCell> - <mxCell id="FgewEam9b60nFajCTQDb-5" value="NeKernel executable header." style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"> - <mxGeometry x="380" y="194" width="290" height="30" as="geometry" /> - </mxCell> - </root> - </mxGraphModel> - </diagram> -</mxfile> +<mxfile host="65bd71144e"> + <diagram name="Page-1" id="PApGwmLcT2JRCILoETeI"> + <mxGraphModel dx="960" dy="709" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0"> + <root> + <mxCell id="0"/> + <mxCell id="1" parent="0"/> + <mxCell id="5xbXWvOdvmnQnRAweQaM-1" value="<h1 style="margin-top: 0px;">ZXD</h1><p>NeKernel eXtended Driver Format.</p><p>An Extended PE32+</p><p>With additional headers and such.</p>" style="text;html=1;whiteSpace=wrap;overflow=hidden;rounded=0;" parent="1" vertex="1"> + <mxGeometry x="40" y="40" width="210" height="130" as="geometry"/> + </mxCell> + <mxCell id="5xbXWvOdvmnQnRAweQaM-2" value="ZXD HEADER" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> + <mxGeometry x="40" y="180" width="310" height="60" as="geometry"/> + </mxCell> + <mxCell id="5xbXWvOdvmnQnRAweQaM-3" value="PE32+ ZONE" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> + <mxGeometry x="40" y="260" width="310" height="60" as="geometry"/> + </mxCell> + <mxCell id="5xbXWvOdvmnQnRAweQaM-4" value="ZXD STUB [1..N]" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> + <mxGeometry x="40" y="340" width="310" height="60" as="geometry"/> + </mxCell> + <mxCell id="FgewEam9b60nFajCTQDb-1" value="StubHeapSz, StubStackSz, StubPageFlags..." style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"> + <mxGeometry x="380" y="355" width="290" height="30" as="geometry"/> + </mxCell> + <mxCell id="FgewEam9b60nFajCTQDb-2" value="Executable image of type PE32+&nbsp;" style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"> + <mxGeometry x="380" y="274" width="290" height="30" as="geometry"/> + </mxCell> + <mxCell id="FgewEam9b60nFajCTQDb-5" value="ZXD header, contains issuer and assignee signature, checked at runtime." style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"> + <mxGeometry x="380" y="194" width="290" height="30" as="geometry"/> + </mxCell> + </root> + </mxGraphModel> + </diagram> +</mxfile>
\ No newline at end of file diff --git a/docs/tex/hefs.tex b/docs/tex/hefs.tex index cd20062c..c947710f 100644 --- a/docs/tex/hefs.tex +++ b/docs/tex/hefs.tex @@ -26,10 +26,10 @@ The High-throughput Extended File System (HeFS) is a custom filesystem tailored \texttt{kHeFSBlockLen} & 512 bytes \\ \texttt{kHeFSFileNameLen} & 256 characters \\ \texttt{kHeFSPartNameLen} & 128 characters \\ -\texttt{kHeFSMinimumDiskSize} & 8 GiB \\ +\texttt{kHeFSMinimumDiskSize} & 128 GiB \\ \texttt{kHeFSDefaultVolumeName} & "HeFS Volume" \\ \texttt{kHeFSINDStartOffset} & Offset after boot node \\ -\texttt{kHeFSSearchAllStr} & "\*" (wildcard string) \\ +\texttt{kHeFSSearchAllStr} & "*" (wildcard string) \\ \hline \end{longtable} |
