aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/ptrace.h
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2019-07-15 21:47:40 +0000
committerIan Lepore <ian@FreeBSD.org>2019-07-15 21:47:40 +0000
commit0cc1098a1a6b8353da73ee579091d399652aa57c (patch)
tree3da7c77a9307956590454de64e00ade1f15c9dfe /sys/sys/ptrace.h
parenta134d96ef1fec4d9811c91f1d0051b6aed33de3d (diff)
downloadsrc-0cc1098a1a6b8353da73ee579091d399652aa57c.tar.gz
src-0cc1098a1a6b8353da73ee579091d399652aa57c.zip
In nxprtc(4), use the countdown timer for better timekeeping resolution
on PCx2129 chips too. The datasheet for the PCx2129 chips says that there is only a watchdog timer, no countdown timer. It turns out the countdown timer hardware is there and works just the same as it does on a PCx2127 chip, except that you can't use it to trigger an interrupt or toggle an output pin. We don't need interrupts or output pins, we only need to read the timer register to get sub-second resolution. So start treating the 2129 chips the same as 2127.
Notes
Notes: svn path=/head/; revision=350016
Diffstat (limited to 'sys/sys/ptrace.h')
0 files changed, 0 insertions, 0 deletions