diff options
author | visa <visa@openbsd.org> | 2020-07-11 15:18:08 +0000 |
---|---|---|
committer | visa <visa@openbsd.org> | 2020-07-11 15:18:08 +0000 |
commit | 9e8849fbab72cdc16ba20d882ee170d279c64c6a (patch) | |
tree | 0321d350599778525ceb40c7fd96b0c7b023b9b0 /sys/dev/ic/ami.c | |
parent | Optimize rasops_vcons_copyrows() so write-only framebuffer consoles (diff) | |
download | wireguard-openbsd-9e8849fbab72cdc16ba20d882ee170d279c64c6a.tar.xz wireguard-openbsd-9e8849fbab72cdc16ba20d882ee170d279c64c6a.zip |
Synchronize each core's CP0 cycle counter using the IO clock counter.
This makes the cycle counter usable as timecounter on multiprocessor
machines.
Idea from Linux.
Tested on CN5020, CN6120, CN7130 and CN7360.
Looks reasonable to kettenis@
Diffstat (limited to 'sys/dev/ic/ami.c')
0 files changed, 0 insertions, 0 deletions