Skip to content

[libc] Update v7malloc to use __dprintf instead of fprintf#2130

Merged
ghaerr merged 2 commits intomasterfrom
v7malloc
Dec 13, 2024
Merged

[libc] Update v7malloc to use __dprintf instead of fprintf#2130
ghaerr merged 2 commits intomasterfrom
v7malloc

Conversation

@ghaerr
Copy link
Copy Markdown
Owner

@ghaerr ghaerr commented Dec 13, 2024

Malloc/v7malloc doesn't drag in stdio anymore, uses small __dprintf for simple formatting. No other functional changes with v7malloc, it isn't normally used by applications.

Malloc debug output through __dprintf now goes to console automatically, not stderr.

Also retabs v7malloc.c, see second commit for non retabbing changes.

This is in preparation for using v7malloc's arena allocator for upcoming 64K near heap allocator for the 8086 toolchain.

@ghaerr ghaerr merged commit 896b0b6 into master Dec 13, 2024
@ghaerr ghaerr deleted the v7malloc branch December 13, 2024 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant