~kris/9p

9hist

7301cb4cef64f9e5a5dce29cb477688eeb4f92e7 — David du Colombier 31 years ago 9d805ed
Plan 9 from Bell Labs 1994-12-06
2 files changed, 2 insertions(+), 1 deletions(-)

M pc/clock.c
M pc/dma.c
M pc/clock.c => pc/clock.c +1 -0
@@ 172,6 172,7 @@ clockinit(void)

	/* find biggest loop that doesn't wrap */
	incr = 16000000/(t->aalcycles*HZ*2);
	x = 2000;
	for(loops = incr; loops < 64*1024; loops += incr) {
	
		/*

M pc/dma.c => pc/dma.c +1 -1
@@ 182,7 182,7 @@ dmaend(int chan)
	unlock(dp);

	xp = &dp->x[chan];
	if(xp->len == 0 || xp->isread)
	if(xp->len == 0 || !xp->isread)
		return;

	/*