Home
last modified time | relevance | path

Searched hist:"1 f87e7b7" (Results 1 – 3 of 3) sorted by relevance

/openbsd/sys/arch/alpha/include/
H A D_types.h1f87e7b7 Mon Apr 23 10:07:43 GMT 2007 art <art@openbsd.org> Switch alpha to timecounters.

We use rpcc for the clock. We don't try to get the frequency from the
hwrpb, since from experience we know that it's very unreliable and
can be several % off from the real frequency. Instead we calibrate
the timecounter frequency by using the clock device and count the
number of cycles between two second ticks of the clocks.

This is not perfect, but still much better than what we had before.
We'll have to add an i8254 clock for MP though.

miod@ ok
/openbsd/sys/arch/alpha/alpha/
H A Dclock.c1f87e7b7 Mon Apr 23 10:07:43 GMT 2007 art <art@openbsd.org> Switch alpha to timecounters.

We use rpcc for the clock. We don't try to get the frequency from the
hwrpb, since from experience we know that it's very unreliable and
can be several % off from the real frequency. Instead we calibrate
the timecounter frequency by using the clock device and count the
number of cycles between two second ticks of the clocks.

This is not perfect, but still much better than what we had before.
We'll have to add an i8254 clock for MP though.

miod@ ok
H A Dmachdep.c1f87e7b7 Mon Apr 23 10:07:43 GMT 2007 art <art@openbsd.org> Switch alpha to timecounters.

We use rpcc for the clock. We don't try to get the frequency from the
hwrpb, since from experience we know that it's very unreliable and
can be several % off from the real frequency. Instead we calibrate
the timecounter frequency by using the clock device and count the
number of cycles between two second ticks of the clocks.

This is not perfect, but still much better than what we had before.
We'll have to add an i8254 clock for MP though.

miod@ ok