plan 9 kernel history: overview | file list | diff list

1991/0716/pc/mmu.c (diff list | history)

1991/0711/sys/src/9/pc/mmu.c:72,811991/0716/sys/src/9/pc/mmu.c:72,91 (short | long | prev | next)
1991/0703    
void 
mmuinit(void) 
{ 
1991/0711    
                 
1991/0716    
	/* 
	 *  set up the global descriptor table 
	 */ 
1991/0703    
	gdt[SYSGATE].d0 = ((ulong)systrap)&0xFFFF|(KESEL<<16); 
	gdt[SYSGATE].d1 = ((ulong)systrap)&0xFFFF0000|SEGP|SEGPL(3)|SEGCG; 
	lgdt(gdt, sizeof gdt); 
1991/0716    
 
	/* 
	 *  set up system page tables 
	 */ 
 
	/* 
	 *  set up the task segment 
	 */ 
1991/0711    
} 
 
void 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)