Skip to content

Conversation

@wyr-7
Copy link
Contributor

@wyr-7 wyr-7 commented Oct 11, 2024

Summary

If BUILD_FLAT is not enabled, the app and CPU run in user mode and kernel mode respectively. The kernel and app are in different memory address spaces. Different apps are in the same memory address space. drivertest_block.c cannot directly call the kernel API.

Impact

Rpmsg blk driver test

Testing

Test in vela

@cederom
Copy link
Contributor

cederom commented Oct 11, 2024

Thank you @wyr-7 :-) Can you elaborate a bit more on what that change does and what are benefits / restrictions? Its good to put this kind of short description in the commit body so the change is self-explanatory :-)

@wyr-7
Copy link
Contributor Author

wyr-7 commented Oct 12, 2024

Thank you @wyr-7 :-) Can you elaborate a bit more on what that change does and what are benefits / restrictions? Its good to put this kind of short description in the commit body so the change is self-explanatory :-)

Ok, I have added.

Copy link
Contributor

@cederom cederom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @wyr-7 :-)

CI seems broken, build errors unrelated ?

@wyr-7
Copy link
Contributor Author

wyr-7 commented Oct 15, 2024

Thank you @wyr-7 :-)

CI seems broken, build errors unrelated ?

It seems unrelated to this PR.

If BUILD_FLAT is not enabled, the app and CPU run in user mode and
kernel mode respectively. The kernel and app are in different
memory address spaces. Different apps are in the same memory address
space. drivertest_block.c cannot directly call the kernel API.

Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com>
@GUIDINGLI GUIDINGLI merged commit 3514c6c into apache:master Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants