OpenAMP / open-amp

The main OpenAMP library implementing RPMSG, Virtio, and Remoteproc for RTOS etc
https://www.openampproject.org/
Other
678 stars 278 forks source link

apps: linux: generic: Use accessor functions for struct remoteproc_mem #563

Closed glneo closed 3 months ago

glneo commented 3 months ago

The remoteproc_mem struct contents are internal to remoteproc. The struct should be accessed using the provided accessors, not directly. This is done in preperation of making this struct opaque to code outside of the remoteproc drivers.

glneo commented 3 months ago

do you plan to propose anupdate for other application that also abuse of the remoteproc_mem struct?

Yes, here let me add a couple more to this series.

arnopo commented 3 months ago

@tanmays, @bentheredonethat Is it ok for you?

bentheredonethat commented 3 months ago

yes LGTM