Skip to content

tests: kernel: userspace: replace inline assembly with C code #19822

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

Conversation

ioannisg
Copy link
Member

@ioannisg ioannisg commented Oct 15, 2019

Yet another preliminary for #19689

We replace an inline assembly block of code with CMSIS
functions, to make it portable to ARMv6-M architecture.

Signed-off-by: Ioannis Glaropoulos [email protected]

@ioannisg ioannisg added the Enhancement Changes/Updates/Additions to existing features label Oct 15, 2019
@ioannisg ioannisg added this to the v2.1.0 milestone Oct 15, 2019
@ioannisg ioannisg requested a review from wentongwu October 15, 2019 10:56
@ioannisg ioannisg added area: ARM ARM (32-bit) Architecture area: Tests Issues related to a particular existing or missing test Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. labels Oct 15, 2019
@ioannisg ioannisg requested a review from agansari October 15, 2019 10:57
@ioannisg
Copy link
Member Author

This is just a convenient change, so when supporting user mode for ARMv6, we don't need to have two different assembly blocks for ARM.

We replace an inline assembly block of code with CMSIS
functions, to make it portable to ARMv6-M architecture.

Signed-off-by: Ioannis Glaropoulos <[email protected]>
@ioannisg ioannisg force-pushed the tests_userspace_move_to_C branch from db65fb2 to c596af9 Compare October 15, 2019 14:05
@andrewboie andrewboie merged commit 04c334a into zephyrproject-rtos:master Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ARM ARM (32-bit) Architecture area: Kernel area: Tests Issues related to a particular existing or missing test Enhancement Changes/Updates/Additions to existing features Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants