diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-22 20:21:08 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-22 20:21:08 +0100 |
| commit | eba5dbf36b5c96ce8d3e2c46cf9d798c3fb7ec89 (patch) | |
| tree | b3fb44810197b791c62b64a1069fd385fba23f8e /doc | |
| parent | 89e8d71556a88fa36f8b18a553f589ab66748895 (diff) | |
kernel(general): Refactor AHCI driver and clean up project structure
- Reworked AHCI command setup: fixed command slot indexing and clarified memory setup
- Updated AHCI disk initialization to use reference for ATAPI flag
- Cleaned up verbose logging in scheduler and IRQ handler for a quieter kernel log
- Updated boot image target from fat32.img to neos.img
- Renamed and moved documentation files from `doc/` to `docs/` for consistency
- Renamed `make_docs.sh` to `osx_docs.sh` to reflect platform-specific intent
- Minor formatting improvements in DiskImage struct
- Revised ReadMe: clarified mount instructions and removed outdated screenshots
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/AHCI_DESIGN.drawio | 40 | ||||
| -rw-r--r-- | doc/DDK.pdf | bin | 24997 -> 0 bytes | |||
| -rw-r--r-- | doc/EPM.pdf | bin | 12517 -> 0 bytes | |||
| -rw-r--r-- | doc/GUI_DESIGN.drawio | 34 | ||||
| -rw-r--r-- | doc/MBCI.drawio | 70 | ||||
| -rw-r--r-- | doc/MFlash.pdf | bin | 25005 -> 0 bytes | |||
| -rw-r--r-- | doc/NeFS.pdf | bin | 13466 -> 0 bytes | |||
| -rw-r--r-- | doc/OS_DESIGN.drawio | 22 | ||||
| -rw-r--r-- | doc/ROUND_ROBIN.drawio | 25 | ||||
| -rw-r--r-- | doc/SCHED_DESIGN.drawio | 34 | ||||
| -rw-r--r-- | doc/TIMER_DESIGN.drawio | 49 | ||||
| -rw-r--r-- | doc/ZXD.drawio | 31 | ||||
| -rw-r--r-- | doc/apic.png | bin | 203155 -> 0 bytes | |||
| -rw-r--r-- | doc/filesystem.png | bin | 174261 -> 0 bytes |
14 files changed, 0 insertions, 305 deletions
diff --git a/doc/AHCI_DESIGN.drawio b/doc/AHCI_DESIGN.drawio deleted file mode 100644 index 73029de7..00000000 --- a/doc/AHCI_DESIGN.drawio +++ /dev/null @@ -1,40 +0,0 @@ -<mxfile host="65bd71144e"> - <diagram id="n4yoMa775TB45TuBg3XL" name="Page-1"> - <mxGraphModel dx="1144" dy="698" 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="4" style="edgeStyle=none;html=1;" parent="1" source="2" target="3" edge="1"> - <mxGeometry relative="1" as="geometry"/> - </mxCell> - <mxCell id="8" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="2" target="6"> - <mxGeometry relative="1" as="geometry"/> - </mxCell> - <mxCell id="2" value="DRIVER I/O" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="490" y="310" width="120" height="170" as="geometry"/> - </mxCell> - <mxCell id="5" style="edgeStyle=none;html=1;exitX=1;exitY=0.25;exitDx=0;exitDy=0;entryX=0;entryY=0.25;entryDx=0;entryDy=0;" parent="1" source="3" target="2" edge="1"> - <mxGeometry relative="1" as="geometry"/> - </mxCell> - <mxCell id="3" value="AHCI CTRL" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="170" y="310" width="120" height="170" as="geometry"/> - </mxCell> - <mxCell id="7" style="edgeStyle=none;html=1;exitX=0;exitY=0.25;exitDx=0;exitDy=0;entryX=1;entryY=0.25;entryDx=0;entryDy=0;" edge="1" parent="1" source="6" target="2"> - <mxGeometry relative="1" as="geometry"/> - </mxCell> - <mxCell id="6" value="SK + AHCI FUNCTIONS" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1"> - <mxGeometry x="630" y="310" width="100" height="170" as="geometry"/> - </mxCell> - <mxCell id="10" style="edgeStyle=none;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="9" target="2"> - <mxGeometry relative="1" as="geometry"/> - </mxCell> - <mxCell id="9" value="MAIN AHCI<br>DRIVER" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1"> - <mxGeometry x="630" y="490" width="100" height="170" as="geometry"/> - </mxCell> - <mxCell id="11" style="edgeStyle=none;html=1;exitX=0.25;exitY=1;exitDx=0;exitDy=0;entryX=0.03;entryY=0.841;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="2" target="9"> - <mxGeometry relative="1" as="geometry"/> - </mxCell> - </root> - </mxGraphModel> - </diagram> -</mxfile>
\ No newline at end of file diff --git a/doc/DDK.pdf b/doc/DDK.pdf Binary files differdeleted file mode 100644 index 7029e0cc..00000000 --- a/doc/DDK.pdf +++ /dev/null diff --git a/doc/EPM.pdf b/doc/EPM.pdf Binary files differdeleted file mode 100644 index d9eeebc9..00000000 --- a/doc/EPM.pdf +++ /dev/null diff --git a/doc/GUI_DESIGN.drawio b/doc/GUI_DESIGN.drawio deleted file mode 100644 index 3ada69be..00000000 --- a/doc/GUI_DESIGN.drawio +++ /dev/null @@ -1,34 +0,0 @@ -<mxfile host="65bd71144e"> - <diagram name="Page-1" id="yf45V2V4Ppj0j8o4dQoi"> - <mxGraphModel dx="1144" dy="442" 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="mspNsT0Gx7HsNPX6GqQO-2" value="LibSCI" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="50" y="500" width="450" height="140" as="geometry"/> - </mxCell> - <mxCell id="2" style="edgeStyle=none;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" source="mspNsT0Gx7HsNPX6GqQO-3" target="mspNsT0Gx7HsNPX6GqQO-13" edge="1"> - <mxGeometry relative="1" as="geometry"/> - </mxCell> - <mxCell id="mspNsT0Gx7HsNPX6GqQO-3" value="LibGUI" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="250" y="210" width="270" height="160" as="geometry"/> - </mxCell> - <mxCell id="mspNsT0Gx7HsNPX6GqQO-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.093;entryY=1.019;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="mspNsT0Gx7HsNPX6GqQO-2" target="mspNsT0Gx7HsNPX6GqQO-3" edge="1"> - <mxGeometry relative="1" as="geometry"/> - </mxCell> - <mxCell id="mspNsT0Gx7HsNPX6GqQO-12" value="<h1 style="margin-top: 0px;">GUI System<span style="white-space: pre;">	</span></h1><p>The system works as a set of Predefined controls in C++ for a High-Performance C++ app.</p>" style="text;html=1;whiteSpace=wrap;overflow=hidden;rounded=0;" parent="1" vertex="1"> - <mxGeometry x="540" y="235" width="220" height="110" as="geometry"/> - </mxCell> - <mxCell id="mspNsT0Gx7HsNPX6GqQO-13" value="NeOS subsystem<div>App</div>" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="55" y="40" width="120" height="60" as="geometry"/> - </mxCell> - <mxCell id="mspNsT0Gx7HsNPX6GqQO-15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.526;entryY=-0.025;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="mspNsT0Gx7HsNPX6GqQO-13" target="mspNsT0Gx7HsNPX6GqQO-3" edge="1"> - <mxGeometry relative="1" as="geometry"/> - </mxCell> - <mxCell id="mspNsT0Gx7HsNPX6GqQO-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.743;entryY=0.002;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="mspNsT0Gx7HsNPX6GqQO-3" target="mspNsT0Gx7HsNPX6GqQO-2" edge="1"> - <mxGeometry relative="1" as="geometry"/> - </mxCell> - </root> - </mxGraphModel> - </diagram> -</mxfile>
\ No newline at end of file diff --git a/doc/MBCI.drawio b/doc/MBCI.drawio deleted file mode 100644 index 9a8f4283..00000000 --- a/doc/MBCI.drawio +++ /dev/null @@ -1,70 +0,0 @@ -<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36" version="26.0.14"> - <diagram name="Page-1" id="hkk8yLV24Qf0g4vqRryx"> - <mxGraphModel dx="1368" dy="751" 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="lO14xRhUFe0yug9pa5VE-3" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="lO14xRhUFe0yug9pa5VE-1" target="lO14xRhUFe0yug9pa5VE-2"> - <mxGeometry relative="1" as="geometry" /> - </mxCell> - <mxCell id="lO14xRhUFe0yug9pa5VE-1" value="Reset" style="whiteSpace=wrap;html=1;" vertex="1" parent="1"> - <mxGeometry x="120" y="700" width="140" height="60" as="geometry" /> - </mxCell> - <mxCell id="lO14xRhUFe0yug9pa5VE-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="lO14xRhUFe0yug9pa5VE-2" target="lO14xRhUFe0yug9pa5VE-4"> - <mxGeometry relative="1" as="geometry" /> - </mxCell> - <mxCell id="lO14xRhUFe0yug9pa5VE-7" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="lO14xRhUFe0yug9pa5VE-2" target="lO14xRhUFe0yug9pa5VE-6"> - <mxGeometry relative="1" as="geometry" /> - </mxCell> - <mxCell id="lO14xRhUFe0yug9pa5VE-2" value="Start" style="whiteSpace=wrap;html=1;" vertex="1" parent="1"> - <mxGeometry x="420" y="700" width="120" height="60" as="geometry" /> - </mxCell> - <mxCell id="lO14xRhUFe0yug9pa5VE-8" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="lO14xRhUFe0yug9pa5VE-4" target="lO14xRhUFe0yug9pa5VE-1"> - <mxGeometry relative="1" as="geometry" /> - </mxCell> - <mxCell id="lO14xRhUFe0yug9pa5VE-4" value="Failed" style="whiteSpace=wrap;html=1;" vertex="1" parent="1"> - <mxGeometry x="420" y="880" width="120" height="60" as="geometry" /> - </mxCell> - <mxCell id="lO14xRhUFe0yug9pa5VE-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="lO14xRhUFe0yug9pa5VE-6" target="lO14xRhUFe0yug9pa5VE-9"> - <mxGeometry relative="1" as="geometry" /> - </mxCell> - <mxCell id="lO14xRhUFe0yug9pa5VE-6" value="Success, Wait" style="whiteSpace=wrap;html=1;" vertex="1" parent="1"> - <mxGeometry x="650" y="700" width="120" height="60" as="geometry" /> - </mxCell> - <mxCell id="lO14xRhUFe0yug9pa5VE-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="lO14xRhUFe0yug9pa5VE-9" target="lO14xRhUFe0yug9pa5VE-4"> - <mxGeometry relative="1" as="geometry" /> - </mxCell> - <mxCell id="lO14xRhUFe0yug9pa5VE-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="lO14xRhUFe0yug9pa5VE-9" target="lO14xRhUFe0yug9pa5VE-13"> - <mxGeometry relative="1" as="geometry" /> - </mxCell> - <mxCell id="lO14xRhUFe0yug9pa5VE-9" value="Transfer CMD" style="whiteSpace=wrap;html=1;" vertex="1" parent="1"> - <mxGeometry x="840" y="700" width="120" height="60" as="geometry" /> - </mxCell> - <mxCell id="lO14xRhUFe0yug9pa5VE-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="lO14xRhUFe0yug9pa5VE-13" target="lO14xRhUFe0yug9pa5VE-15"> - <mxGeometry relative="1" as="geometry" /> - </mxCell> - <mxCell id="lO14xRhUFe0yug9pa5VE-13" value="Read CMD" style="whiteSpace=wrap;html=1;" vertex="1" parent="1"> - <mxGeometry x="1070" y="700" width="120" height="60" as="geometry" /> - </mxCell> - <mxCell id="lO14xRhUFe0yug9pa5VE-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="lO14xRhUFe0yug9pa5VE-15" target="lO14xRhUFe0yug9pa5VE-4"> - <mxGeometry relative="1" as="geometry" /> - </mxCell> - <mxCell id="lO14xRhUFe0yug9pa5VE-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="lO14xRhUFe0yug9pa5VE-15" target="lO14xRhUFe0yug9pa5VE-18"> - <mxGeometry relative="1" as="geometry" /> - </mxCell> - <mxCell id="lO14xRhUFe0yug9pa5VE-15" value="Do Op" style="whiteSpace=wrap;html=1;" vertex="1" parent="1"> - <mxGeometry x="1070" y="980" width="120" height="60" as="geometry" /> - </mxCell> - <mxCell id="lO14xRhUFe0yug9pa5VE-20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.25;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="lO14xRhUFe0yug9pa5VE-18"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="910" y="1150" as="sourcePoint" /> - <mxPoint x="710" y="760" as="targetPoint" /> - </mxGeometry> - </mxCell> - <mxCell id="lO14xRhUFe0yug9pa5VE-18" value="Send back and ready" style="whiteSpace=wrap;html=1;" vertex="1" parent="1"> - <mxGeometry x="1070" y="1120" width="120" height="60" as="geometry" /> - </mxCell> - </root> - </mxGraphModel> - </diagram> -</mxfile> diff --git a/doc/MFlash.pdf b/doc/MFlash.pdf Binary files differdeleted file mode 100644 index 2e6d7d42..00000000 --- a/doc/MFlash.pdf +++ /dev/null diff --git a/doc/NeFS.pdf b/doc/NeFS.pdf Binary files differdeleted file mode 100644 index 1b804346..00000000 --- a/doc/NeFS.pdf +++ /dev/null diff --git a/doc/OS_DESIGN.drawio b/doc/OS_DESIGN.drawio deleted file mode 100644 index d704b481..00000000 --- a/doc/OS_DESIGN.drawio +++ /dev/null @@ -1,22 +0,0 @@ -<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"> - <root> - <mxCell id="0"/> - <mxCell id="1" parent="0"/> - <mxCell id="ifhO3zQZNW-sXvZMTmu8-2" value="<p class="p1"><b>System API (LibSCI.dylib) – 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> - <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"/> - </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"/> - </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> - </root> - </mxGraphModel> - </diagram> -</mxfile>
\ No newline at end of file diff --git a/doc/ROUND_ROBIN.drawio b/doc/ROUND_ROBIN.drawio deleted file mode 100644 index 46c6304b..00000000 --- a/doc/ROUND_ROBIN.drawio +++ /dev/null @@ -1,25 +0,0 @@ -<mxfile host="65bd71144e"> - <diagram name="Page-1" id="lDkK2i6CeL2VbSOVDvrP"> - <mxGraphModel dx="764" dy="289" 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="LibSCI DLL inside code (RING 3)" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="235.5" y="340" width="360" height="30" as="geometry"/> - </mxCell> - <mxCell id="ifhO3zQZNW-sXvZMTmu8-3" value="Running code (RING 3)" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="235.5" y="295" width="360" height="35" as="geometry"/> - </mxCell> - <mxCell id="ifhO3zQZNW-sXvZMTmu8-8" value="<h1 style="margin-top: 0px;"><span style="background-color: initial;">NeKernel Scheduler</span></h1><h1 style="margin-top: 0px;"><span style="font-size: 12px; font-weight: 400; background-color: initial;">This describes how NeKernel is structued to schedule tasks.</span><br></h1><div>A UserProcess may be attached to another one (thread)</div><div>Otherwise it's a process within a team.</div>" style="text;html=1;whiteSpace=wrap;overflow=hidden;rounded=0;" parent="1" vertex="1"> - <mxGeometry x="620" y="290" width="180" height="200" as="geometry"/> - </mxCell> - <mxCell id="ifhO3zQZNW-sXvZMTmu8-13" value="UserProcess structure (RING 0)" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="235.5" y="380" width="360" height="60" as="geometry"/> - </mxCell> - <mxCell id="4" value="HardwareThread, HardwareThreadScheduler and UserProcessScheduler (RING 0)" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1"> - <mxGeometry x="234" y="450" width="360" height="60" as="geometry"/> - </mxCell> - </root> - </mxGraphModel> - </diagram> -</mxfile>
\ No newline at end of file diff --git a/doc/SCHED_DESIGN.drawio b/doc/SCHED_DESIGN.drawio deleted file mode 100644 index ab75d000..00000000 --- a/doc/SCHED_DESIGN.drawio +++ /dev/null @@ -1,34 +0,0 @@ -<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.14"> - <diagram name="Page-1" id="6QVppPX6dMcFLP7eY7Ap"> - <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="V4mTDnC5FWkVb8QuH4lW-3" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="V4mTDnC5FWkVb8QuH4lW-1" target="V4mTDnC5FWkVb8QuH4lW-2"> - <mxGeometry relative="1" as="geometry" /> - </mxCell> - <mxCell id="V4mTDnC5FWkVb8QuH4lW-1" value="ISCHEDOBJECT INTERFACE" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1"> - <mxGeometry x="90" y="70" width="670" height="60" as="geometry" /> - </mxCell> - <mxCell id="V4mTDnC5FWkVb8QuH4lW-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="V4mTDnC5FWkVb8QuH4lW-2" target="V4mTDnC5FWkVb8QuH4lW-4"> - <mxGeometry relative="1" as="geometry" /> - </mxCell> - <mxCell id="V4mTDnC5FWkVb8QuH4lW-2" value="USER SCHEDULER/THREAD SCHEDULER/HW THREAD SCHEDULER" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1"> - <mxGeometry x="90" y="170" width="670" height="50" as="geometry" /> - </mxCell> - <mxCell id="V4mTDnC5FWkVb8QuH4lW-4" value="ANOTHER SCHEDULER OR DIRECT CALL TO DRIVER/HAL." style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1"> - <mxGeometry x="90" y="280" width="670" height="60" as="geometry" /> - </mxCell> - <mxCell id="V4mTDnC5FWkVb8QuH4lW-12" value="PROCESS BANKS CPU 1..N" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;" vertex="1" parent="1"> - <mxGeometry x="338" y="450" width="175" height="80" as="geometry" /> - </mxCell> - <mxCell id="V4mTDnC5FWkVb8QuH4lW-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="V4mTDnC5FWkVb8QuH4lW-4" target="V4mTDnC5FWkVb8QuH4lW-12"> - <mxGeometry relative="1" as="geometry" /> - </mxCell> - <mxCell id="V4mTDnC5FWkVb8QuH4lW-15" value="<h1 style="margin-top: 0px;">Raise error checks when:</h1><p>- Kernel level tasks crashes.</p><p>- An assertion fails.</p><p>- System Call isn't returning correctly.</p><p>- Driver is at an uncertain state.</p>" style="text;html=1;whiteSpace=wrap;overflow=hidden;rounded=0;" vertex="1" parent="1"> - <mxGeometry x="580" y="390" width="180" height="210" as="geometry" /> - </mxCell> - </root> - </mxGraphModel> - </diagram> -</mxfile> diff --git a/doc/TIMER_DESIGN.drawio b/doc/TIMER_DESIGN.drawio deleted file mode 100644 index ca081fd3..00000000 --- a/doc/TIMER_DESIGN.drawio +++ /dev/null @@ -1,49 +0,0 @@ -<mxfile host="65bd71144e"> - <diagram name="Page-1" id="SMmOiZGLec9H7ruN5qyQ"> - <mxGraphModel dx="764" dy="289" 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="c-_7pHU60HQ0aR4bwu-4-3" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="c-_7pHU60HQ0aR4bwu-4-1" target="c-_7pHU60HQ0aR4bwu-4-2" edge="1"> - <mxGeometry relative="1" as="geometry"/> - </mxCell> - <mxCell id="c-_7pHU60HQ0aR4bwu-4-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="c-_7pHU60HQ0aR4bwu-4-1" target="c-_7pHU60HQ0aR4bwu-4-4" edge="1"> - <mxGeometry relative="1" as="geometry"/> - </mxCell> - <mxCell id="c-_7pHU60HQ0aR4bwu-4-7" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="c-_7pHU60HQ0aR4bwu-4-1" target="c-_7pHU60HQ0aR4bwu-4-6" edge="1"> - <mxGeometry relative="1" as="geometry"/> - </mxCell> - <mxCell id="c-_7pHU60HQ0aR4bwu-4-1" value="TIME_INFO" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="340" y="230" width="120" height="60" as="geometry"/> - </mxCell> - <mxCell id="c-_7pHU60HQ0aR4bwu-4-2" value="APIC/PIC/IOAPIC" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="340" y="400" width="120" height="60" as="geometry"/> - </mxCell> - <mxCell id="c-_7pHU60HQ0aR4bwu-4-4" value="GT" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="530" y="400" width="120" height="60" as="geometry"/> - </mxCell> - <mxCell id="c-_7pHU60HQ0aR4bwu-4-6" value="CLINT" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="150" y="400" width="120" height="60" as="geometry"/> - </mxCell> - <mxCell id="c-_7pHU60HQ0aR4bwu-4-9" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="c-_7pHU60HQ0aR4bwu-4-8" target="c-_7pHU60HQ0aR4bwu-4-1" edge="1"> - <mxGeometry relative="1" as="geometry"/> - </mxCell> - <mxCell id="c-_7pHU60HQ0aR4bwu-4-8" value="Scheduler context switch (on non MT mode),<br>Also SoftwareTimer gets implemented." style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="130" y="75" width="120" height="90" as="geometry"/> - </mxCell> - <mxCell id="c-_7pHU60HQ0aR4bwu-4-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="c-_7pHU60HQ0aR4bwu-4-10" edge="1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="530" y="120" as="sourcePoint"/> - <mxPoint x="430" y="230" as="targetPoint"/> - </mxGeometry> - </mxCell> - <mxCell id="c-_7pHU60HQ0aR4bwu-4-10" value="Hook 2 system calls for timing purposes.<br>(Wait, WaitUntil)" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> - <mxGeometry x="560" y="90" width="120" height="60" as="geometry"/> - </mxCell> - <mxCell id="2" value="It is either abstracted like this, or has a direct interface to it." style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"> - <mxGeometry x="490" y="235" width="200" height="55" as="geometry"/> - </mxCell> - </root> - </mxGraphModel> - </diagram> -</mxfile>
\ No newline at end of file diff --git a/doc/ZXD.drawio b/doc/ZXD.drawio deleted file mode 100644 index 7452d3f9..00000000 --- a/doc/ZXD.drawio +++ /dev/null @@ -1,31 +0,0 @@ -<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> diff --git a/doc/apic.png b/doc/apic.png Binary files differdeleted file mode 100644 index 33954dce..00000000 --- a/doc/apic.png +++ /dev/null diff --git a/doc/filesystem.png b/doc/filesystem.png Binary files differdeleted file mode 100644 index 9e3599a9..00000000 --- a/doc/filesystem.png +++ /dev/null |
