change some comments, maybe more informative
delete most comments from bootother.S (since copy of bootasm.S) ksegment() -> seginit() move more stuff from main() to mainc()
This commit is contained in:
		
							parent
							
								
									124fe7e457
								
							
						
					
					
						commit
						faad047ab2
					
				
					 8 changed files with 70 additions and 66 deletions
				
			
		
							
								
								
									
										2
									
								
								vm.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								vm.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -13,7 +13,7 @@ static pde_t *kpgdir;  // for use in scheduler()
 | 
			
		|||
// Set up CPU's kernel segment descriptors.
 | 
			
		||||
// Run once at boot time on each CPU.
 | 
			
		||||
void
 | 
			
		||||
ksegment(void)
 | 
			
		||||
seginit(void)
 | 
			
		||||
{
 | 
			
		||||
  struct cpu *c;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue