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

remoteproc: Un-inline remoteproc_init_mem() and remoteproc_add_mem() #572

Closed glneo closed 2 months ago

glneo commented 3 months ago

Having these functions as inline header functions forces the contents of struct remoteproc_mem to remain externally exposed. It also does not save space in most cases as every call-site gets the full contents of the function instead of just a call instruction. Make these normal functions like all others in remoteproc.h.