docs: add blueprint section - what's done vs missing
Browse files
README.md
CHANGED
|
@@ -155,6 +155,42 @@ VFS:
|
|
| 155 |
|
| 156 |
---
|
| 157 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 158 |
## 📝 Citation
|
| 159 |
|
| 160 |
```bibtex
|
|
|
|
| 155 |
|
| 156 |
---
|
| 157 |
|
| 158 |
+
## 🔲 Blueprint: What's Done vs What's Missing
|
| 159 |
+
|
| 160 |
+
The grammar is complete. The implementations are not.
|
| 161 |
+
Every missing module follows the **same 7 IR kinds** as the working ones.
|
| 162 |
+
|
| 163 |
+
### ✅ Working (compiles, boots, verified)
|
| 164 |
+
|
| 165 |
+
| Module | What it does |
|
| 166 |
+
|---|---|
|
| 167 |
+
| scheduler | spawn/tick/yield, round-robin |
|
| 168 |
+
| memory | page allocator, kmalloc/kfree |
|
| 169 |
+
| filesystem | VFS open/read/write/close/list |
|
| 170 |
+
| crypto | SHA-256, HMAC, AES, RNG |
|
| 171 |
+
| shell | interactive readline, 7 real commands |
|
| 172 |
+
| usb | open/control/descriptor/scan |
|
| 173 |
+
| pcie | init/scan/enable |
|
| 174 |
+
| ata | read/write/identify |
|
| 175 |
+
| x86 | IDT/GDT/MSR/TSS |
|
| 176 |
+
| syscall | write/read/exit/fork/getpid |
|
| 177 |
+
|
| 178 |
+
### 🔲 Blueprint Ready (needs implementation)
|
| 179 |
+
|
| 180 |
+
| Module | What to build | Lines |
|
| 181 |
+
|---|---|---|
|
| 182 |
+
| arm64 | GIC, timer, MMU setup | ~200 |
|
| 183 |
+
| riscv | PLIC, CLINT, SATP, SBI | ~200 |
|
| 184 |
+
| gpu | PCI BARs, command buffers, vsync | ~300 |
|
| 185 |
+
| audio | HD Audio controller, DMA buffers | ~250 |
|
| 186 |
+
| virt | KVM ioctls: VMCS, EPT, vCPU run | ~400 |
|
| 187 |
+
| network | TCP state machine, ARP, IP routing | ~500 |
|
| 188 |
+
| smp | IPIs, TLB shootdown, percpu | ~300 |
|
| 189 |
+
|
| 190 |
+
**All use the same 7 patterns: define, typedef, struct, extern, inline, loop, if, return.**
|
| 191 |
+
|
| 192 |
+
---
|
| 193 |
+
|
| 194 |
## 📝 Citation
|
| 195 |
|
| 196 |
```bibtex
|