forked from Mirrors/opensbi
		
	include: Rename ipi_inject() to ipi_send() for sbi_platform
For better naming, we rename ipi_inject() to ipi_send() in struct sbi_platform. We also replace term "inject" with "send" in all related places. Signed-off-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
		@@ -12,7 +12,7 @@
 | 
			
		||||
 | 
			
		||||
#include <sbi/sbi_types.h>
 | 
			
		||||
 | 
			
		||||
void clint_ipi_inject(u32 target_hart);
 | 
			
		||||
void clint_ipi_send(u32 target_hart);
 | 
			
		||||
 | 
			
		||||
void clint_ipi_sync(u32 target_hart);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -16,7 +16,7 @@ static u32 clint_ipi_hart_count;
 | 
			
		||||
static volatile void *clint_ipi_base;
 | 
			
		||||
static volatile u32 *clint_ipi;
 | 
			
		||||
 | 
			
		||||
void clint_ipi_inject(u32 target_hart)
 | 
			
		||||
void clint_ipi_send(u32 target_hart)
 | 
			
		||||
{
 | 
			
		||||
	if (clint_ipi_hart_count <= target_hart)
 | 
			
		||||
		return;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user