summaryrefslogtreecommitdiff
path: root/libcr
AgeCommit message (Collapse)Author
13 dayslibcr: Fuss with logsLuke T. Shumaker
2025-05-17Sort+align #includesLuke T. Shumaker
2025-05-17Don't forget to use (void) in signatures without argumentsLuke T. Shumaker
2025-05-15Begone with the printf variants of the log functionsLuke T. Shumaker
2025-05-12More GCC 15 fixesLuke T. Shumaker
2025-05-06Use C23Luke T. Shumaker
This gives us: - [[maybe_unused]] instead of [[gnu::unused]] - bool/true/false are predefined, so no need for <stdbool.h>
2025-05-06libmisc: log.h: Add a "log_" prefix to errorf/infof/debugfLuke T. Shumaker
2025-04-17tests: Name coroutines foo_cr, not cr_fooLuke T. Shumaker
This makes debugging failing tests easier because gdb-helpers/libcr.py assumes that anything starting with cr_* is internal to libcr.
2025-04-10Have valgrind detect memory leaks, not just errorsLuke T. Shumaker
2025-04-05SYSTEM headers don't get strict GCC checks, so change them to PUBLICLuke T. Shumaker
2025-02-23Complete TODO comments and documentationLuke T. Shumaker
2025-02-21Make use of the generated stack.cLuke T. Shumaker
2025-02-21libcr_ipc: Fixes and tests for sema.hLuke T. Shumaker
2025-02-04libcr: Flesh out cr_cid_info, clarify stack boundsLuke T. Shumaker
2025-01-11gc sections from host buildsLuke T. Shumaker
2025-01-11Add basic smoke tests for the 9p serverLuke T. Shumaker
2024-12-26Build the full matrix of CMAKE_BUILD_TYPELuke T. Shumaker
2024-12-26libcr: Tell GCC that coroutine_table[n].name might not be nul-terminatedLuke T. Shumaker
2024-12-26libcr: Pull out CID allocationLuke T. Shumaker
Something about this is confusing the GCC optimizer, so pull it out and LM_NEVER_INLINE it.
2024-12-13Gather macros into libmisc/macro.hLuke T. Shumaker
2024-12-09libcr: Add public cr_assert_in_{coroutine,intrhandler}()Luke T. Shumaker
2024-12-09libcr: s/cr_is_in_intrhandler/cr_plat_is_in_intrhandler/Luke T. Shumaker
2024-12-09GDB fixesLuke T. Shumaker
2024-12-08Fix libcr gdb integration?Luke T. Shumaker
2024-12-08libcr: Add cr_{set,long}jmp wrappers around the cr_plat_ variantsLuke T. Shumaker
2024-12-08libcr: Centralize the structure of plat_jmp_bufLuke T. Shumaker
2024-12-08libcr: Move preprocessor macros upLuke T. Shumaker
2024-12-08libcr: Pull out a _CR_SIG_SENTINELLuke T. Shumaker
2024-12-08libcr: Log stack allocationsLuke T. Shumaker
2024-11-30Tidy #includesLuke T. Shumaker
2024-11-29gdb-helpers/libcr.py: Use fewer breakpointsLuke T. Shumaker
They're at a premium on the RP2040.
2024-11-25libcr: Return if all coroutines exitLuke T. Shumaker
2024-11-25libcr: Add very basic testsLuke T. Shumaker
2024-11-23libcr: Fix cr_cid_info if coroutine_add is runningLuke T. Shumaker
2024-11-23libcr: Track coroutine namesLuke T. Shumaker
2024-11-23libcr: Group SP-tracking into a setjmp wrapperLuke T. Shumaker
2024-11-23Use C23 (C++11) attribute syntax instead of __attribute__Luke T. Shumaker
2024-11-23libcr: coroutine.c: Move things aroundLuke T. Shumaker
2024-11-19Add libmisc/log.h to remove stdio.hLuke T. Shumaker
2024-11-19libcr: Add cr_is_in_intrhandler() and _cr_plat_are_interrupts_enabled()Luke T. Shumaker
2024-11-19libcr: FixupsLuke T. Shumaker
2024-11-19libcr: Begone with PRE_RUNNABLELuke T. Shumaker
2024-11-19libcr: Fix races?Luke T. Shumaker
2024-11-19libcr: Assert that cr_getcid() is only called inside a coroutineLuke T. Shumaker
2024-11-19libcr: Use SIG_SETMASK instead of SIG_(UN)BLOCKLuke T. Shumaker
2024-11-19libcr: Start to add coroutine namesLuke T. Shumaker
2024-11-12fix typo in a commentLuke T. Shumaker
2024-11-12Avoid using fprintfLuke T. Shumaker
2024-11-11libmisc: Write my own assert.h with assert_notreached()Luke T. Shumaker
2024-10-28s/Licence/License/gLuke T. Shumaker