cut ramdisk
This commit is contained in:
		
							parent
							
								
									b70cd9ebd7
								
							
						
					
					
						commit
						d600026c3f
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -10,7 +10,6 @@
 | 
			
		|||
// 10001000 -- virtio disk 
 | 
			
		||||
// 80000000 -- boot ROM jumps here in machine mode
 | 
			
		||||
//             -kernel loads the kernel here
 | 
			
		||||
// 88000000 -- -initrd fs.img ramdisk image.
 | 
			
		||||
// unused RAM after 80000000.
 | 
			
		||||
 | 
			
		||||
// the kernel uses physical memory thus:
 | 
			
		||||
| 
						 | 
				
			
			@ -42,8 +41,6 @@
 | 
			
		|||
#define PLIC_MCLAIM(hart) (PLIC + 0x200004 + (hart)*0x2000)
 | 
			
		||||
#define PLIC_SCLAIM(hart) (PLIC + 0x201004 + (hart)*0x2000)
 | 
			
		||||
 | 
			
		||||
#define RAMDISK 0x88000000L
 | 
			
		||||
 | 
			
		||||
// the kernel expects there to be RAM
 | 
			
		||||
// for use by the kernel and user pages
 | 
			
		||||
// from physical address 0x80000000 to PHYSTOP.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue