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

pmalloc_item could be unaligned #2

Open
HiFiPhile opened this issue Jan 6, 2024 · 0 comments
Open

pmalloc_item could be unaligned #2

HiFiPhile opened this issue Jan 6, 2024 · 0 comments

Comments

@HiFiPhile
Copy link

HiFiPhile commented Jan 6, 2024

In current implementation pmalloc_item is allocated in the start of free space, if previously allocated space is not 32-bit aligned then pmalloc_item is also not 32-bit aligned.

In Cortex-M0 platform it will cause hard fault since unaligned memory access is unsupported.

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 a pull request may close this issue.

1 participant