forked from Mirrors/opensbi
		
	lib: Fix the ecall macro definitions
Fix the ECALL definitions to matc the latest information in the privlidge spec table 5.5. Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
		
				
					committed by
					
						
						Anup Patel
					
				
			
			
				
	
			
			
			
						parent
						
							09f976802b
						
					
				
				
					commit
					40086daa62
				
			@@ -424,8 +424,8 @@
 | 
			
		||||
#define CAUSE_MISALIGNED_STORE		0x6
 | 
			
		||||
#define CAUSE_STORE_ACCESS		0x7
 | 
			
		||||
#define CAUSE_USER_ECALL		0x8
 | 
			
		||||
#define CAUSE_SUPERVISOR_ECALL		0x9
 | 
			
		||||
#define CAUSE_HYPERVISOR_ECALL		0xa
 | 
			
		||||
#define CAUSE_HYPERVISOR_ECALL		0x9
 | 
			
		||||
#define CAUSE_SUPERVISOR_ECALL		0xa
 | 
			
		||||
#define CAUSE_MACHINE_ECALL		0xb
 | 
			
		||||
#define CAUSE_FETCH_PAGE_FAULT		0xc
 | 
			
		||||
#define CAUSE_LOAD_PAGE_FAULT		0xd
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user