freebsd-skq/sys/amd64
Mitsuru IWASAKI 0ebefa8c4e 1. Fix a comment. Locking _is_ needed (but not done).
2. Update a comment.  We now restore much more than RTC updates and
   interrupts.
3. Order change.  Stop interrupts by writing to RTC_STATUSB,
   restore rate bits for the interrupts by writing to RTC_STATUSA,
   then enable interrupts again.
   This seems to be done perfectly backwards in startrtclock().
   Otherwise, the idea for this change was obtained from
   startrtclock().
4. Don't stop the clock (RTCB_HALT).  We only program some control bits
   and don't want to stop the clock.
5. (Not really related.)  Add caveats to the comment about timer_restore().
   The update is non-atomic since locking is not done.

On locking:
6. rtcin() and writertc() are locked() adequately by splhigh() in RELENG_4,
   but this locking is null in -current.
7. Doing things in the correct order in (3) combined with (6) is probably
   enough locking for rtcrestore() in RELENG_4.  In -current, the
   writertc()'s race with rtcintr() unless the BIOS disables RTC interrupts.

Submitted by:	bde (including commit message)
MFC after:	1 week
2002-10-17 13:55:39 +00:00
..
acpica - curproc may be NULL in 4-stable. In that case use the vmspace from 2002-10-16 17:22:03 +00:00
amd64 1. Fix a comment. Locking _is_ needed (but not done). 2002-10-17 13:55:39 +00:00
compile Make space for compilations. 2002-07-06 02:49:07 +00:00
conf Remove the P1003_1B kernel option; it is no longer used. 2002-10-13 16:29:17 +00:00
ia32 re-regen. Sigh. 2002-10-09 22:40:41 +00:00
include put an #error directive when SMP and CPU_DISABLE_CMPXCHG are set 2002-10-17 05:51:36 +00:00
isa 1. Fix a comment. Locking _is_ needed (but not done). 2002-10-17 13:55:39 +00:00
pci Use the global pcib devclass instead of our own static copy. 2002-10-16 18:38:35 +00:00
Makefile This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00