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

2001/1023/alphapc/devarch.c (diff list | history)

2001/0728/sys/src/9/alphapc/devarch.c:51,562001/1023/sys/src/9/alphapc/devarch.c:51,58 (short | long | prev | next)
2000/0401    
}; 
2001/0727    
Lock archwlock;	/* the lock is only for changing archdir */ 
int narchdir = Qbase; 
2001/1023    
int (*_pcmspecial)(char *, ISAConf *); 
void (*_pcmspecialclose)(int); 
2000/0401    
 
2001/0727    
/* 
 * Add a file to the #P listing.  Once added, you can't delete it. 
2001/0728/sys/src/9/alphapc/devarch.c:478,4812001/1023/sys/src/9/alphapc/devarch.c:480,496
2001/0727    
		arch = &archgeneric; 
 
	addarchfile("cputype", 0444, cputyperead, nil); 
2001/1023    
} 
 
int 
pcmspecial(char *idstr, ISAConf *isa) 
{ 
	return (_pcmspecial  != nil)? _pcmspecial(idstr, isa): -1; 
} 
 
void 
pcmspecialclose(int a) 
{ 
	if (_pcmspecialclose != nil) 
		_pcmspecialclose(a); 
2000/0401    
} 


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