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

1991/1011/gnot/disk.c (diff list | history)

gnot/disk.c on 1991/0906
1991/0906    
#include	"u.h" 
#include	"lib.h" 
#include	"mem.h" 
#include	"dat.h" 
#include	"fns.h" 
#include	"errno.h" 
 
#include	"devtab.h" 
 
#include	"fcall.h" 
 
Dev	devtab[]={ 
	{ rootreset, rootinit, rootattach, rootclone, rootwalk, rootstat, rootopen, rootcreate, 
	  rootclose, rootread, rootwrite, rootremove, rootwstat, }, 
	{ consreset, consinit, consattach, consclone, conswalk, consstat, consopen, conscreate, 
	  consclose, consread, conswrite, consremove, conswstat, }, 
	{ envreset, envinit, envattach, envclone, envwalk, envstat, envopen, envcreate, 
	  envclose, envread, envwrite, envremove, envwstat, }, 
	{ pipereset, pipeinit, pipeattach, pipeclone, pipewalk, pipestat, pipeopen, pipecreate, 
	  pipeclose, piperead, pipewrite, piperemove, pipewstat, }, 
	{ procreset, procinit, procattach, procclone, procwalk, procstat, procopen, proccreate, 
	  procclose, procread, procwrite, procremove, procwstat, }, 
	{ srvreset, srvinit, srvattach, srvclone, srvwalk, srvstat, srvopen, srvcreate, 
	  srvclose, srvread, srvwrite, srvremove, srvwstat, }, 
	{ mntreset, mntinit, mntattach, mntclone, mntwalk, mntstat, mntopen, mntcreate, 
	  mntclose, mntread, mntwrite, mntremove, mntwstat, }, 
	{ inconreset, inconinit, inconattach, inconclone, inconwalk, inconstat, inconopen, inconcreate, 
	  inconclose, inconread, inconwrite, inconremove, inconwstat, }, 
	{ dkreset, dkinit, dkattach, dkclone, dkwalk, dkstat, dkopen, dkcreate, 
	  dkclose, dkread, dkwrite, dkremove, dkwstat, }, 
	{ dupreset, dupinit, dupattach, dupclone, dupwalk, dupstat, dupopen, dupcreate, 
	  dupclose, dupread, dupwrite, dupremove, dupwstat, }, 
	{ bitreset, bitinit, bitattach, bitclone, bitwalk, bitstat, bitopen, bitcreate, 
	  bitclose, bitread, bitwrite, bitremove, bitwstat, }, 
	{ portreset, portinit, portattach, portclone, portwalk, portstat, portopen, portcreate, 
	  portclose, portread, portwrite, portremove, portwstat, }, 
	{ scsireset, scsiinit, scsiattach, scsiclone, scsiwalk, scsistat, scsiopen, scsicreate, 
	  scsiclose, scsiread, scsiwrite, scsiremove, scsiwstat, }, 
	{ wrenreset, wreninit, wrenattach, wrenclone, wrenwalk, wrenstat, wrenopen, wrencreate, 
	  wrenclose, wrenread, wrenwrite, wrenremove, wrenwstat, }, 
	{ duartreset, duartinit, duartattach, duartclone, duartwalk, duartstat, duartopen, duartcreate, 
	  duartclose, duartread, duartwrite, duartremove, duartwstat, }, 
}; 
1991/0926    
char devchar[]="/ce|psMikdbxSwt"; 
1991/0906    
extern Qinfo	urpinfo; 
extern Qinfo	asyncinfo; 
extern Qinfo	fcallinfo; 
void streaminit0(void){ 
	newqinfo(&urpinfo); 
	newqinfo(&asyncinfo); 
	newqinfo(&fcallinfo); 
} 
	#include "cfs.h" 
1991/0926    
	#include "kfs.h" 
1991/1011    
	void kproftimer(ulong pc){} 


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