Skip to content
New issue

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

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

Already on GitHub? # to your account

Add aligned_alloc instead of memalign. #1404

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Wolf3s
Copy link
Contributor

@Wolf3s Wolf3s commented Nov 27, 2024

Pull Request checklist

Note: these are not necessarily requirements

  • I reformatted the code with clang-format
  • I checked to make sure my submission worked
  • I am the author of submission or have permission from the original author
  • Requires update of the PS2SDK or other dependencies
  • Others (please specify below)

Pull Request description

aligned_alloc is a c11 function that checks the allignment of the power of two, This was inspired by @israpps suggestion about iop alloc

aligned_alloc is a c11 function that checks the allignment of the power of two
which memalign doesn´t.
@Wolf3s Wolf3s marked this pull request as ready for review November 27, 2024 19:58
@Wolf3s Wolf3s marked this pull request as draft December 24, 2024 20:28
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant