Skip to content
This repository was archived by the owner on Sep 2, 2023. It is now read-only.

Drop the memory pool implementation #3

Open
mbitsnbites opened this issue Nov 22, 2022 · 0 comments
Open

Drop the memory pool implementation #3

mbitsnbites opened this issue Nov 22, 2022 · 0 comments

Comments

@mbitsnbites
Copy link
Member

The memory pool allocator is in conflict with the newlib malloc()/sbrk() allocator.

Consider replacing it with a simple LIFO allocator for VRAM, e.g. using the __vram_free_start symbol provided by the linker scripts, and possibly MMIO(VRAMSIZE). For instance mc1-quake & mc1-doom use a similar (custom) approach already.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant