summaryrefslogtreecommitdiff
path: root/src/esp32p4_9p.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-20 00:59:34 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:14 -0300
commit2ce8956c8e9843eba7407ab12593871ee451b991 (patch)
tree3c19599045e65947535365f51bfa5339aaa4568f /src/esp32p4_9p.zig
parentc1990b3e6e196ad41379aa432bf3ccca8a65d9f0 (diff)
downloadpardes-2ce8956c8e9843eba7407ab12593871ee451b991.tar.gz
pardes-2ce8956c8e9843eba7407ab12593871ee451b991.zip
Use cloud9's file-server engine instead of the private copy
src/9p.zig shrinks to an 88-line alias: the engine and the backend contract (Req, Reply/ReplyWith, Op, Status, Attr, E, error strings) now come from cloud9.fs. The editor's limits become cloud9.fs.Options values; the ESP32-P4 board backend drops its own copies of the contract types. No behaviour change; fs-bench still allocates nothing per request. cloud9 re-pinned to the commit that carries the engine. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to 'src/esp32p4_9p.zig')
-rw-r--r--src/esp32p4_9p.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/esp32p4_9p.zig b/src/esp32p4_9p.zig
index f6f66c15..e23235a0 100644
--- a/src/esp32p4_9p.zig
+++ b/src/esp32p4_9p.zig
@@ -26,7 +26,7 @@ comptime {
}
const Fs = gpio.Fs(Pads);
-const Server = ninep.Server(Fs, ninep.board_fids);
+const Server = ninep.Server(Fs, ninep.board);
comptime {
std.debug.assert(@typeInfo(@FieldType(Server, "fids")).array.len == 32);