]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use separate mutexes for atrtc and i8254 locking. Change all the strange
authorian <ian@FreeBSD.org>
Sun, 11 Mar 2018 18:20:49 +0000 (18:20 +0000)
committerian <ian@FreeBSD.org>
Sun, 11 Mar 2018 18:20:49 +0000 (18:20 +0000)
commit95221efb085294a607f70cba1d3a92723c6f5d1c
tree04fcb9b8207fd8cdcaa7d94960bedc0641c7ceb9
parent1629f3ec27425d42d0392849609f830bdfa4d4a1
Use separate mutexes for atrtc and i8254 locking.  Change all the strange
un-function-like RTC_LOCK/UNLOCK macro usage into normal function calls.
Since there is no longer any need to handle register access from a debugger
context, those function calls can just be regular mutex lock/unlock calls.

Requested by:  bde
sys/isa/rtc.h
sys/x86/isa/atrtc.c
sys/x86/isa/clock.c