-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
kernel/mm: shuffle header files #65149
kernel/mm: shuffle header files #65149
Conversation
383aae4
to
6017692
Compare
This moves the k_* memory management functions from sys/ into kernel/ includes, as there are kernel public APIs. The z_* functions are further separated into the kernel internal header directory. Also made a quick change to doxygen to group sys_mem_* into the OS Memory Management group so they will appear in doc. Signed-off-by: Daniel Leung <[email protected]>
This separates demand paging related headers into its own file instead of being stuffed inside the main kernel memory management header file. Signed-off-by: Daniel Leung <[email protected]>
6017692
to
bc167e3
Compare
() Some kernel memory management functions were previously not in any group. So put them under the kernel memory management group, and now they appear in API doc. () Group things together when appropriate. () Add doc if none exists before. Signed-off-by: Daniel Leung <[email protected]>
@jhedberg can you take a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless I'm missing something, the fact that users of the API would need to update their includes calls for an entry in the migration guide.
Looks 👍🏼 otherwise, thank you!
Not writing this in the migration guide is intentional. Out of tree repo users and app developers should continue using Note that the main intention of this PR is to move If you insist, I can add this to the migration guide (though I think it creates unnecessary work for others). Or I can remove the #include changes in this PR. |
So I was missing something, thanks! |
This broke CI on |
k_mem_*
) underinclude/zephyr/kernel/
.z_*
ones into internal header directory.