Skip to content

Add prif_allocate, caf_allocate, and dlmalloc #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 15, 2023
Merged

Conversation

ktras
Copy link
Collaborator

@ktras ktras commented Dec 15, 2023

Add prif_allocate, caf_allocate, and add files for dlmalloc. caf_allocate currently has a trivial implementation that uses the system malloc to grab memory, but will be replaced by dlmalloc. This PR does not yet use dlmalloc and such work will be added in a future PR.

for `prif_allocate`, which currently fails because of
the empty definition.
moment, `caf_allocate` has a trivial implementation in relation
to memory allocation with just a simple `malloc` call. This
will be replaced.
Assign appropriate values to `lcobounds` and `ucobounds` before
passing to `prif_allocate`.
@ktras ktras requested a review from rouson December 15, 2023 00:45
@ktras ktras changed the title Add prif_allocate, caf_allocate, and dlmalloc Add prif_allocate, caf_allocate, and dlmalloc Dec 15, 2023
@ktras ktras marked this pull request as ready for review December 15, 2023 00:47
Copy link
Collaborator

@rouson rouson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rouson rouson merged commit d8920c6 into main Dec 15, 2023
@rouson rouson deleted the add-prif_allocate branch December 15, 2023 01:16
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.

2 participants