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

1991/0723/pc/main.c (diff list | history)

1991/0720/sys/src/9/pc/main.c:19,241991/0723/sys/src/9/pc/main.c:19,25 (short | long | prev | next)
1991/0703    
	screeninit(); 
1991/0716    
	printinit(); 
1991/0711    
	mmuinit(); 
1991/0723    
	vgainit(); 
1991/0718    
	trapinit(); 
1991/0719    
	kbdinit(); 
1991/0718    
	clockinit(); 
1991/0720/sys/src/9/pc/main.c:272,2751991/0723/sys/src/9/pc/main.c:273,311
1991/0717    
mouseputc(IOQ *q, int c) 
{ 
	return c; 
1991/0723    
} 
 
/* 
 *  headland hip set for the safari. 
 *   
 *  serious magic!!! 
 */ 
 
enum 
{ 
	Head=		0x92,		/* control port */ 
	 Reset=		(1<<0),		/* reset the 386 */ 
	 A20ena=	(1<<1),		/* enable address line 20 */ 
}; 
 
/* 
 *  enable address bit 20 
 */ 
void 
a20enable(void) 
{ 
	outb(Head, A20ena); 
} 
 
/* 
 *  reset the chip 
 */ 
void 
exit(void) 
{ 
	int i; 
 
	u = 0; 
	print("exiting\n"); 
	outb(Head, Reset); 
1991/0717    
} 


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