Skip to content
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

Use void * for CFE_ES_PoolCreateNoSem memory pointer #1317

Closed
skliper opened this issue Apr 13, 2021 · 0 comments · Fixed by #1379 or #1431
Closed

Use void * for CFE_ES_PoolCreateNoSem memory pointer #1317

skliper opened this issue Apr 13, 2021 · 0 comments · Fixed by #1379 or #1431
Assignees
Milestone

Comments

@skliper
Copy link
Contributor

skliper commented Apr 13, 2021

Is your feature request related to a problem? Please describe.
Other routines use void *, CFE_ES_PoolCreateNoSem uses uint8 *:

CFE_Status_t CFE_ES_PoolCreateNoSem(CFE_ES_MemHandle_t *PoolID, uint8 *MemPtr, size_t Size);

Describe the solution you'd like
Make consistent

Describe alternatives you've considered
Maybe there was a reason, analyze and if so document

Additional context
Code review

Requester Info
Jacob Hageman - NASA/GSFC

@skliper skliper added this to the 7.0.0 milestone Apr 13, 2021
jphickey added a commit to jphickey/cFE that referenced this issue Apr 19, 2021
Changes the type of pointer in the API from uint8* to void* to be
more consistent and easier to use.  Should be backward compatible.

This also updates the doxygen documentation for this parameter, as
it was specifying a 32-bit alignment requirement whereas the
alignment requirement is processor dependent - 64 bit processors
typically will need 64 bit alignment.  Link to the macro which
is intended to aid in aligning the static pool buffer.
astrogeco added a commit that referenced this issue Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants