summaryrefslogtreecommitdiff
path: root/lib9p
AgeCommit message (Collapse)Author
45 hourscpu_main, lib9p/test_server: main.c: Give 9P files their own #include sectionLuke T. Shumaker
5 dayslib9p: test_server: config.h: Tidy the CONFIG_COROUTINE_NUM expressionLuke T. Shumaker
5 dayslib9p: test_server: config.h: Fix a typoLuke T. Shumaker
5 dayslib9p: test_server: Simplify the CMakeLists.txtLuke T. Shumaker
6 dayslib9p_srv: handle_Twalk(): Don't allocate resp.wqid on the stackLuke T. Shumaker
6 dayslib9p_srv: More stat() helpersLuke T. Shumaker
6 dayslib9p_srv: lib9p_srv_read(): Clean up the cleanup codeLuke T. Shumaker
6 dayslib9p_srv: Pull marshalling and logging into srv_write_Rmsg()Luke T. Shumaker
6 dayslib9p_srv: Drop the sess->initialized memberLuke T. Shumaker
6 dayslib9p_srv: Adjust lib9p_srv_read() to use pointers internallyLuke T. Shumaker
6 dayslib9p_srv: Don't bother with lib9p_srv_stat_assert() if NDEBUGLuke T. Shumaker
6 daysAvoid stack_alloc(), use heap_alloc() insteadLuke T. Shumaker
6 dayslib9p_srv: Don't burden lib9p_srv_read with handlers other than TversionLuke T. Shumaker
6 dayslib9p_srv: Rework APIs to avoid large return valuesLuke T. Shumaker
Ideally, this should compile to the same code (sans argument order), but because of aliasing/ordering requirements, sometimes the compiler needs to allocate a second copy of the struct on the stack, and memcpy between the two. GCC often does a good job of avoiding that, but not always. So do it ourselves :( https://github.com/llvm/llvm-project/issues/34482#issuecomment-980988347
6 dayslib9p_srv: Use libmisc heap_alloc instead of calloc/mallocLuke T. Shumaker
9 dayslib9p_srv: Fix an outdated commentLuke T. Shumaker
9 dayslib9p: Declare more things as `const` pointersLuke T. Shumaker
9 dayslibmisc: error.h: Allow a 2-arg form of DECLARE_ERROR_{OR,AND}Luke T. Shumaker
9 dayslib9p_srv: Rename the private _reqch to just reqchLuke T. Shumaker
9 dayslib9p: srv.c: Drop `inline`sLuke T. Shumaker
10 dayscpu_main: Rename cpu_main_stack.c to just stack.cLuke T. Shumaker
10 dayslib9p: test_server: Don't bother with measurestackLuke T. Shumaker
10 dayslibhw_generic: io: Split iovec into rd_iovec and wr_iovecLuke T. Shumaker
12 dayslib9p_srv: Prune includesLuke T. Shumaker
12 dayslib9p: tests: Don't bother compiling deps for the compile testsLuke T. Shumaker
12 dayslib9p: tests: Don't bother toggling SRV_DEBUGLuke T. Shumaker
2025-06-16lint-src: Fuss with the rules for config files identifying themselvesLuke T. Shumaker
2025-06-15make generate-clean && make generateLuke T. Shumaker
2025-06-12lib9p_srv: Call iofree() *after* sending RclunkLuke T. Shumaker
2025-06-12lib9p_srv: Adopt a pread_to-like interfaceLuke T. Shumaker
2025-06-12libhw_generic: io.h: Tidy upLuke T. Shumaker
2025-06-12lib9p_srv: Clean up the handle_Tread() implementationLuke T. Shumaker
2025-06-10libmisc: obj.h: Rework the LO_INTERFACE_* API to expose method funcsLuke T. Shumaker
2025-06-09libmisc: assert.h: Disable -Wtype-limits inside of assert()Luke T. Shumaker
2025-06-09lib9p_srv: Prune use of SSIZE_MAXLuke T. Shumaker
2025-06-09Prune #includesLuke T. Shumaker
2025-06-08lib9p: idl: CommentsLuke T. Shumaker
2025-06-08Merge remote-tracking branch 'origin/main' into lukeshu/fix-obj-boxLuke T. Shumaker
2025-06-08tree-wide: Use LO_BOX() where it doesn't explode the post-preprocessed sizeLuke T. Shumaker
2025-06-08libmisc: obj.h: Use LM_DEFAPPEND() to have lo_box_*_as_*() be macrosLuke T. Shumaker
2025-06-06lib9p_srv: Switch to use error.h internallyLuke T. Shumaker
2025-06-06lib9p_srv: Change the public API to use error.hLuke T. Shumaker
2025-06-06lib9p_core: Switch to use error.hLuke T. Shumaker
2025-06-06lib9p: Use <libmisc/error.h> errnums internallyLuke T. Shumaker
2025-06-06libhw_generic: Switch io.h and net.h to use result.h/error.hLuke T. Shumaker
2025-06-06host: Avoid the "error" symLuke T. Shumaker
2025-06-06lib9p: tests: Add a test for client hangupsLuke T. Shumaker
2025-06-06Prune #includesLuke T. Shumaker
2025-06-04lib9p: core.h: Fix doc commentLuke T. Shumaker
2025-06-02libmisc: obj.h: Use LM_DEFAPPEND() to implement magic LO_BOX()Luke T. Shumaker