Date: Tue, 8 Jun 2004 01:51:45 GMT From: Juli Mallett <jmallett@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 54385 for review Message-ID: <200406080151.i581pjlT097907@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=54385 Change 54385 by jmallett@jmallett_oingo on 2004/06/08 01:51:10 Set up compare, seems to make mips64emul fire interrupts. Affected files ... .. //depot/projects/mips/sys/mips/sgimips/clock.c#6 edit Differences ... ==== //depot/projects/mips/sys/mips/sgimips/clock.c#6 (text+ko) ==== @@ -66,6 +66,7 @@ panic("cannot init clock for type %d", mach_type); } tc_init(&sgimips_timecounter); + mips_wr_compare(mips_rd_count() + curcpu()->ci_cycles_per_hz); mips_wr_status(mips_rd_status() | MIPS_SR_INT_IE | MIPS_INT_MASK_5); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406080151.i581pjlT097907>