forked from Mirrors/opensbi
lib: sbi: Update MPXY framework and SBI extension as per latest spec
The latest SBI 3.0 spec defines a new sbi_mpxy_get_shmem_size() function and simplifies sbi_mpxy_set_shmem() function so update the MPXY framework and SBI extension accordingly. Signed-off-by: Anup Patel <apatel@ventanamicro.com>
This commit is contained in:
@@ -153,11 +153,13 @@ int sbi_mpxy_init(struct sbi_scratch *scratch);
|
||||
/** Check if some Message proxy channel is available */
|
||||
bool sbi_mpxy_channel_available(void);
|
||||
|
||||
/** Set Message proxy shared memory on the calling HART */
|
||||
int sbi_mpxy_set_shmem(unsigned long shmem_size,
|
||||
unsigned long shmem_phys_lo,
|
||||
unsigned long shmem_phys_hi,
|
||||
unsigned long flags);
|
||||
/** Get message proxy shared memory size */
|
||||
unsigned long sbi_mpxy_get_shmem_size(void);
|
||||
|
||||
/** Set message proxy shared memory on the calling HART */
|
||||
int sbi_mpxy_set_shmem(unsigned long shmem_phys_lo,
|
||||
unsigned long shmem_phys_hi,
|
||||
unsigned long flags);
|
||||
|
||||
/** Get channel IDs list */
|
||||
int sbi_mpxy_get_channel_ids(u32 start_index);
|
||||
|
Reference in New Issue
Block a user