forked from Mirrors/opensbi
		
	lib: sbi: Print number of debug triggers found
Print the total number of triggers found on the boot hart. Signed-off-by: Himanshu Chauhan <hchauhan@ventanamicro.com> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
		
				
					committed by
					
						
						Anup Patel
					
				
			
			
				
	
			
			
			
						parent
						
							76a2a15c40
						
					
				
				
					commit
					bb90a9ebf6
				
			@@ -184,6 +184,8 @@ static void sbi_boot_print_hart(struct sbi_scratch *scratch, u32 hartid)
 | 
			
		||||
	sbi_printf("Boot HART MHPM Info       : %lu (0x%08x)\n",
 | 
			
		||||
		   sbi_popcount(sbi_hart_mhpm_mask(scratch)),
 | 
			
		||||
		   sbi_hart_mhpm_mask(scratch));
 | 
			
		||||
	sbi_printf("Boot HART Debug Triggers  : %d triggers\n",
 | 
			
		||||
		   sbi_dbtr_get_total_triggers());
 | 
			
		||||
	sbi_hart_delegation_dump(scratch, "Boot HART ", "         ");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user