mirror of
				https://github.com/riscv-software-src/opensbi
				synced 2025-11-03 21:48:45 +00:00 
			
		
		
		
	lib: sbi: Remove 's' and 'u' from misa_string() output
Both 's' and 'u' are not treated as ISA extensions since these are privilege modes so let's remove it from misa_string() output. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Atish Patra <atishp@rivosinc.com>
This commit is contained in:
		
							parent
							
								
									1a754bb365
								
							
						
					
					
						commit
						5a6be99cc5
					
				@ -53,7 +53,7 @@ int misa_xlen(void)
 | 
			
		||||
void misa_string(int xlen, char *out, unsigned int out_sz)
 | 
			
		||||
{
 | 
			
		||||
	unsigned int i, pos = 0;
 | 
			
		||||
	const char valid_isa_order[] = "iemafdqclbjtpvnsuhkorwxyzg";
 | 
			
		||||
	const char valid_isa_order[] = "iemafdqclbjtpvnhkorwxyzg";
 | 
			
		||||
 | 
			
		||||
	if (!out)
 | 
			
		||||
		return;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user