~kris/9p

9hist

abed1fae8173dc79d02d684eedc2ad4941636d15 — David du Colombier 24 years ago 876c320
Plan 9 from Bell Labs 2002-03-14
2 files changed, 3 insertions(+), 2 deletions(-)

M pc/devether.c
M pc/i8253.c
M pc/devether.c => pc/devether.c +2 -1
@@ 176,7 176,8 @@ etheriq(Ether* ether, Block* bp, int fromwire)
				else if(xbp = iallocb(len)){
					memmove(xbp->wp, pkt, len);
					xbp->wp += len;
					qpass(f->in, xbp);
					if(qpass(f->in, xbp) < 0)
						ether->soverflows++;
				}
				else
					ether->soverflows++;

M pc/i8253.c => pc/i8253.c +1 -1
@@ 259,7 259,7 @@ i8253enable(void)
{
	i8253.when = fastticks(nil);
	i8253.fastperiod = (m->cpuhz + HZ/2) / HZ;
	i8253.fast2freq = m->cpuhz * FreqMul / Freq;
	i8253.fast2freq = (vlong)m->cpuhz * FreqMul / Freq;
	i8253.enabled = 1;
	intrenable(IrqCLOCK, clockintr0, 0, BUSUNKNOWN, "clock");
}