PERFORCE change 54385 for review
Juli Mallett
jmallett at FreeBSD.org
Tue Jun 8 01:51:47 GMT 2004
http://perforce.freebsd.org/chv.cgi?CH=54385
Change 54385 by jmallett at 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);
}
More information about the p4-projects
mailing list