mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	ported medelg fixes to 32 bit tests. Requires a make allclean
This commit is contained in:
		
							parent
							
								
									2e151b6b08
								
							
						
					
					
						commit
						a7c9d3d37b
					
				@ -53,7 +53,7 @@
 | 
			
		||||
8000000b # mcause value from m ext interrupt
 | 
			
		||||
00000000 # mtval for mext interrupt (0x0)
 | 
			
		||||
00001880 # masked out mstatus.MPP = 11, mstatus.MPIE = 1, and mstatus.MIE = 0
 | 
			
		||||
fffff7ff # medeleg after attempted write of all 1's (only some bits are writeable)
 | 
			
		||||
0000b3ff # medeleg after attempted write of all 1's (only some bits are writeable)
 | 
			
		||||
00000222 # mideleg after attempted write of all 1's (only some bits are writeable) # skipping instruction address fault since they're impossible with compressed instrs enabled
 | 
			
		||||
00000001 # mcause from an instruction access fault
 | 
			
		||||
00000000 # mtval of faulting instruction address (0x0)
 | 
			
		||||
 | 
			
		||||
@ -48,7 +48,7 @@
 | 
			
		||||
00000009 # scause from S mode ecall
 | 
			
		||||
00000000 # stval of ecall (*** defined to be zero for now)
 | 
			
		||||
00000800 # masked out mstatus.mpp = 1, mstatus.MPIE = 0, and mstatus.MIE = 0
 | 
			
		||||
fffff7ff # medeleg after attempted write of all 1's (only some bits are writeable)
 | 
			
		||||
0000b3ff # medeleg after attempted write of all 1's (only some bits are writeable)
 | 
			
		||||
00000222 # mideleg after attempted write of all 1's (only some bits are writeable)
 | 
			
		||||
0000000b # scause from M mode ecall
 | 
			
		||||
00000000 # stval of ecall (*** defined to be zero for now)
 | 
			
		||||
 | 
			
		||||
@ -45,7 +45,7 @@
 | 
			
		||||
00000008 # scause from U mode ecall
 | 
			
		||||
00000000 # stval of ecall (*** defined to be zero for now)
 | 
			
		||||
00000000 # masked out mstatus.mpp = 0, mstatus.MPIE = 0, and mstatus.MIE = 0
 | 
			
		||||
fffff7ff # medeleg after attempted write of all 1's (only some bits are writeable)
 | 
			
		||||
0000b3ff # medeleg after attempted write of all 1's (only some bits are writeable)
 | 
			
		||||
00000222 # mideleg after attempted write of all 1's (only some bits are writeable)
 | 
			
		||||
0000000b # scause from M mode ecall 
 | 
			
		||||
00000000 # stval of ecall (*** defined to be zero for now)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user