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

1991/0318/port/devboot.c (diff list | history)

1990/1127/sys/src/9/port/devboot.c:96,1021991/0318/sys/src/9/port/devboot.c:96,102 (short | long | prev | next)
1990/0424    
/*			print("%ux, %d\n", c->offset, n);/**/ 
			if(c->offset+n > KZERO+conf.npage*BY2PG) 
				n = KZERO+conf.npage*BY2PG - c->offset; 
			memcpy((char*)c->offset, buf, n); 
1991/0318    
			memmove((char*)c->offset, buf, n); 
1990/0424    
			return n; 
		} 
1990/1127    
		print("bootwrite: bad addr %lux\n", c->offset); 


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