Skip to content

Conversation

@adriweb
Copy link
Member

@adriweb adriweb commented Mar 7, 2025

Used in prod in KhiCAS nowadays, thought it'd be better to upstream it.

Co-authored-by: Adrien Bertrand <[email protected]>
@mateoconlechuga
Copy link
Member

lol what, none of this makes sense

@adriweb
Copy link
Member Author

adriweb commented Mar 7, 2025

lol what do you mean?
It definitely works, at least, so it must make some sense :P

That said I only cleaned up the formatting, not the algorithm it uses.

@adriweb
Copy link
Member Author

adriweb commented Mar 7, 2025

After more internal brainstorming, this can actually stay inside KhiCAS while still not requiring a modification of the toolchain (see ALLOCATOR_CUSTOM), which was the original goal anyway.

Regardless, having a toolchain-provided way to "add memory areas" to the heap is a good feature which may get added at some point.

@adriweb adriweb closed this Mar 7, 2025
@adriweb adriweb deleted the pr/vram2_allocator branch March 24, 2025 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants