mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	a
This commit is contained in:
		
							parent
							
								
									c91784bd5a
								
							
						
					
					
						commit
						b5a3ff2d2d
					
				@ -1,12 +0,0 @@
 | 
				
			|||||||
// pmpcfg part 3
 | 
					 | 
				
			||||||
// Kevin Wan, kewan@hmc.edu, 4/18/2023
 | 
					 | 
				
			||||||
// locks each pmpXcfg bit field in order, from X = 15 to X = 0, with the A[1:0] field set to TOR. 
 | 
					 | 
				
			||||||
// See the next part in pmpcfg1.S
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#include "WALLY-init-lib.h" 
 | 
					 | 
				
			||||||
main: 
 | 
					 | 
				
			||||||
    li t0, 0x80
 | 
					 | 
				
			||||||
    csrw pmpcfg0, t0
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    j done
 | 
					 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user