mirror of
				https://github.com/riscv-software-src/opensbi
				synced 2025-11-03 21:48:45 +00:00 
			
		
		
		
	include: sbi: Remove unused (LOG_)REGBYTES
These are no longer used, so remove them. Signed-off-by: Jessica Clarke <jrtc27@jrtc27.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20250709232932.37622-3-jrtc27@jrtc27.com Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
		
							parent
							
								
									079bf6f0f9
								
							
						
					
					
						commit
						cc546e1a06
					
				@ -1317,13 +1317,6 @@
 | 
			
		||||
 | 
			
		||||
#define INSN_LEN(insn)			(INSN_IS_16BIT(insn) ? 2 : 4)
 | 
			
		||||
 | 
			
		||||
#if __riscv_xlen == 64
 | 
			
		||||
#define LOG_REGBYTES			3
 | 
			
		||||
#else
 | 
			
		||||
#define LOG_REGBYTES			2
 | 
			
		||||
#endif
 | 
			
		||||
#define REGBYTES			(1 << LOG_REGBYTES)
 | 
			
		||||
 | 
			
		||||
#define SH_VSEW			3
 | 
			
		||||
#define SH_VIEW			12
 | 
			
		||||
#define SH_VD				7
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user