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

1990/11211/port/devboot.c (diff list | history)

1990/0430/sys/src/9/port/devboot.c:62,681990/11211/sys/src/9/port/devboot.c:62,68 (short | long | prev | next)
1990/0424    
void	  
bootcreate(Chan *c, char *name, int omode, ulong perm) 
{ 
	error(0, Eperm); 
1990/11211    
	error(Eperm); 
1990/0424    
} 
 
/* 
1990/0430/sys/src/9/port/devboot.c:81,871990/11211/sys/src/9/port/devboot.c:81,87
1990/0424    
		return devdirread(c, buf, n, bootdir, NBOOT, devgen); 
	} 
 
	error(0, Egreg); 
1990/11211    
	error(Egreg); 
1990/0424    
} 
 
long	  
1990/0430/sys/src/9/port/devboot.c:99,1051990/11211/sys/src/9/port/devboot.c:99,105
1990/0424    
			memcpy((char*)c->offset, buf, n); 
			return n; 
		} 
		error(0, Ebadarg); 
1990/11211    
		error(Ebadarg); 
1990/0424    
 
	case Qboot: 
		pc = *(ulong*)buf; 
1990/0430/sys/src/9/port/devboot.c:106,1341990/11211/sys/src/9/port/devboot.c:106,122
1990/0424    
		splhi(); 
		gotopc(pc); 
	} 
	error(0, Ebadarg); 
1990/11211    
	error(Ebadarg); 
1990/0424    
} 
 
void	  
bootremove(Chan *c) 
{ 
	error(0, Eperm); 
1990/11211    
	error(Eperm); 
1990/0424    
} 
 
void	  
bootwstat(Chan *c, char *dp) 
{ 
	error(0, Eperm); 
} 
                 
void 
bootuserstr(Error *e, char *buf) 
{ 
	consuserstr(e, buf); 
} 
                 
void	  
booterrstr(Error *e, char *buf) 
{ 
	rooterrstr(e, buf); 
1990/11211    
	error(Eperm); 
1990/0424    
} 


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