curproc -> proc in a comment
This commit is contained in:
		
							parent
							
								
									37939f24c2
								
							
						
					
					
						commit
						4b2152cc2d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								vm.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								vm.c
									
										
									
									
									
								
							|  | @ -27,7 +27,7 @@ seginit(void) | |||
|   c->gdt[SEG_UCODE] = SEG(STA_X|STA_R, 0, 0xffffffff, DPL_USER); | ||||
|   c->gdt[SEG_UDATA] = SEG(STA_W, 0, 0xffffffff, DPL_USER); | ||||
| 
 | ||||
|   // Map cpu and curproc -- these are private per cpu.
 | ||||
|   // Map cpu and proc -- these are private per cpu.
 | ||||
|   c->gdt[SEG_KCPU] = SEG(STA_W, &c->cpu, 8, 0); | ||||
| 
 | ||||
|   lgdt(c->gdt, sizeof(c->gdt)); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Robert Morris
						Robert Morris