Home | History | Annotate | Download | only in include
History log of /src/sys/arch/alpha/include/cpu_counter.h
RevisionDateAuthorComments
 1.7  10-Oct-2020  thorpej Fix cycle counter-based time keeping on Alpha in MP environments by using
a simpler calibration algorithm for the CC timecounter. Proposed in 2018
by Naruaki Etomi:

https://mail-index.netbsd.org/tech-kern/2018/01/14/msg022940.html

This patch is largely based on the proposed change, but avoids changing
any other timecounter logic, and re-factors things a bit to keep them
as MI as possible.
 1.6  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5  17-Oct-2007  garbled branches: 1.5.16; 1.5.18; 1.5.20;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.4  21-Jul-2007  tsutsui branches: 1.4.6;
Add MI todr(9) support and timercounter(9) support with kern_cctr.c to alpha:
- use todr(9) API with MI mc146818(4) driver and remove homegrown
todr stuff from MD alpha/clock.c and alpha/mcclock.c
- also remove obsolete cc_microtime stuff from MD code
- add ci_pcc_freq member in struct cpu_info for cpu_frequency(), and
calibrate it with mc146818 interval clock in mcclock attachment
- call cc_init() in cpu_initclocks(9) because all alpha cpus have
a pcc counter

Tested on DEC 3000/300 and AlphaPC 164, but not on any SMP machines yet.
 1.3  16-Feb-2006  perry branches: 1.3.24; 1.3.32; 1.3.36; 1.3.38;
Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.
 1.2  24-Dec-2005  perry branches: 1.2.2; 1.2.4; 1.2.6;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.1  05-Feb-2003  nakayama branches: 1.1.18;
Share alpha/microtime.c with i386 and sparc64 as kern_microtime.c.
(approved by martin)
 1.1.18.1  03-Sep-2007  yamt sync with head.
 1.2.6.1  22-Apr-2006  simonb Sync with head.
 1.2.4.1  09-Sep-2006  rpaulo sync with head
 1.2.2.1  18-Feb-2006  yamt sync with head.
 1.3.38.1  15-Aug-2007  skrll Sync with HEAD.
 1.3.36.1  07-Aug-2007  matt Sync with HEAD.
 1.3.32.1  03-Oct-2007  garbled Sync with HEAD
 1.3.24.1  20-Aug-2007  ad Sync with HEAD.
 1.4.6.1  06-Nov-2007  matt sync with HEAD
 1.5.20.1  16-May-2008  yamt sync with head.
 1.5.18.1  18-May-2008  yamt sync with head.
 1.5.16.1  02-Jun-2008  mjf Sync with HEAD.

RSS XML Feed