[PATCH 13/16] lib: sbi: Add SBI Message Proxy (MPXY) framework
Yu-Chien Peter Lin
peterlin at andestech.com
Fri Oct 11 04:26:23 PDT 2024
Hi Anup,
On Tue, Aug 06, 2024 at 01:03:35PM +0530, Anup Patel wrote:
> From: Rahul Pathak <rpathak at ventanamicro.com>
>
> Introduce SBI Message Proxy (MPXY) framework which allows platform specific
> code or drivers to register message protocol specific channels.
>
> This framework enables the supervisor software to send messages belonging
> to different message protocols via OpenSBI firmware.
>
> Signed-off-by: Rahul Pathak <rpathak at ventanamicro.com>
> Co-developed-by: Himanshu Chauhan <hchauhan at ventanamicro.com>
> Signed-off-by: Himanshu Chauhan <hchauhan at ventanamicro.com>
> Co-developed-by: Anup Patel <apatel at ventanamicro.com>
> Signed-off-by: Anup Patel <apatel at ventanamicro.com>
<...>
> +/** Disable hart shared memory */
> +static inline void sbi_mpxy_shmem_disable(struct mpxy_state *rs)
> +{
> + rs->shmem.shmem_size = 0;
> + rs->shmem.shmem_addr_lo = INVALID_ADDR;
> + rs->shmem.shmem_addr_hi = INVALID_ADDR;
nitpicking: if the abbreviation "rs" representing the RPXY state, would it be renamed as "ms"?
Best regards,
Peter Lin
More information about the opensbi
mailing list