Commit graph

9 commits

Author SHA1 Message Date
Douglas Katzman a068699d26 Get rid of src/runtime/sbcl.h
Can't see any value in having a 'make' recipe for it.
2023-11-02 20:50:29 -04:00
Douglas Katzman ab69716f38 Fix win32 C warnings 2023-07-10 22:51:30 -04:00
Douglas Katzman d8d11b9e8b Remove "../.." from default include path 2023-02-07 18:55:41 -05:00
Douglas Katzman b27406bd31 Optionally run TLSF assertions in parallel-exec
requires -DTLSF_CONFIG_DEBUG and #+tlsf-stress to be manually added.

And also add a way to "steal" memory from the end of immobile text
space which I need for something.
2023-01-30 11:06:02 -05:00
Douglas Katzman 95485d002a 32-bit: Fix some C warnings 2022-08-14 11:58:35 -04:00
Douglas Katzman 8ff92aab35 Get big-endian C build to not croak
TLSF isn't used, but eventually I'd like all the 64-bit architectures
to have immobile-space. That time is not now.
2022-08-04 17:28:23 -04:00
Douglas Katzman 02bc916fd6 Placate clang-tidy 2022-08-02 17:47:29 -04:00
Douglas Katzman 5cd3e88fb6 Use TLSF allocator for immobile text space
And with a few related improvements:
* a finalizer gives memory back to the allocator
* code never acts as filler
* easier way of tracking text page scan start offset
2022-07-30 23:53:43 -04:00
Douglas Katzman 94c1ac5411 Borrow someone else's allocator
TLSF (https://github.com/jserv/tlsf-bsd) is a simple malloc/free
which will be used in lieu of the current text space allocator.
Its 2-clause BSD license is compatible with SBCL's.
2022-07-30 16:38:02 -04:00