~kris/9p

9hist

a68bb721e9fcc08363e1ebcf97bd2a8b7c7352b4 — David du Colombier 36 years ago e4d6fc6
Plan 9 from Bell Labs 1990-04-19
3 files changed, 11 insertions(+), 0 deletions(-)

M port/devlance.c
M power/fns.h
M power/l.s
M port/devlance.c => port/devlance.c +4 -0
@@ 477,6 477,10 @@ lancestart(void)
	l.ea[3] = LANCEID[8]>>8;
	l.ea[4] = LANCEID[4]>>8;
	l.ea[5] = LANCEID[0]>>8;
/*
	print("lance addr = %.4ux %.4ux %.4ux\n", lm->etheraddr[0], lm->etheraddr[1],
		lm->etheraddr[2]);
/**/

	/*
	 *  ignore multicast addresses

M power/fns.h => power/fns.h +1 -0
@@ 64,6 64,7 @@ Block	*getq(Queue*);
void	gettlb(int, ulong*);
ulong	gettlbvirt(int);
void	gotolabel(Label*);
void	gotopc(void*);
void	growpte(Orig*, ulong);
void	*ialloc(ulong, int);
int	incref(Ref*);

M power/l.s => power/l.s +6 -0
@@ 141,6 141,12 @@ TEXT	gotolabel(SB), $0
	MOVW	4(R2), R29
	RET

TEXT	gotopc(SB), $0

	MOVW	0(FP), R2
	JAL	(R2)
	RET			/* shouldn't get here */

TEXT	puttlb(SB), $4

	JAL	splhi(SB)