freebsd-nq/sys
Bruce Evans 0f19e631e2 Fixed races accessing the RTC. The races apparently caused
apm_default_resume() to sometimes set a very wrong time.
(1) Accesses to the RTC index and data registers were not atomic enough.
    Interrupts were not masked.  This was only good enough until an
    interrupt handler (rtcintr()) started accessing the RTC in FreeBSD-2.0.
(2) Access to the block of time registers in inittodr() was not atomic
    enough.  inittodr() has 244us to read the time registers.  Interrupts
    were not masked.  This was only good enough until something (apm)
    started calling inittodr() after boot time in FreeBSD-2.0.
The fix for (2) also makes the timecounter update more atomic, although
this is currently unimportant due to the low resolution of the RTC.

Problem reported by:	mckay
1999-12-25 15:30:31 +00:00
..
alpha Use genassym(1) and <sys/assym.h> to generate assembler symbols. 1999-12-23 19:59:47 +00:00
amd64 Fixed races accessing the RTC. The races apparently caused 1999-12-25 15:30:31 +00:00
boot Close PR #15422; fix loader.conf to reflect new driver support (old 1999-12-23 05:28:31 +00:00
cam Make sure we don't look at an edt entry that could go away when we try 1999-12-20 16:16:53 +00:00
coda Second pass commit to introduce new ACL and Extended Attribute system 1999-12-19 06:08:07 +00:00
compat Introduce NDFREE (and remove VOP_ABORTOP) 1999-12-15 23:02:35 +00:00
compile
conf Merge from sys/i386/conf/files.i386 rev 1.293. 1999-12-24 11:20:14 +00:00
contrib Garbage collect oltr_pci_shutdown 1999-12-21 08:21:36 +00:00
crypto IPSEC support in the kernel. 1999-12-22 19:13:38 +00:00
ddb Remove unused macro definition. 1999-11-02 22:40:15 +00:00
dev Fix the firmware build number output (again). 1999-12-25 01:45:22 +00:00
fs Fix a typo that was doing something kind of silly, and that is initializing 1999-12-21 06:29:00 +00:00
geom Remove unused variable 1999-12-21 08:20:36 +00:00
gnu Second pass commit to introduce new ACL and Extended Attribute system 1999-12-19 06:08:07 +00:00
i4b update to isdn4bsd beta release 0.90 1999-12-14 20:54:38 +00:00
i386 Fixed races accessing the RTC. The races apparently caused 1999-12-25 15:30:31 +00:00
isa Fixed races accessing the RTC. The races apparently caused 1999-12-25 15:30:31 +00:00
isofs/cd9660 Second pass commit to introduce new ACL and Extended Attribute system 1999-12-19 06:08:07 +00:00
kern * Set the devclass of a device before calling the probe method. This allows 1999-12-24 16:21:15 +00:00
libkern Zap c_index() and c_rindex(). Bruce prefers these to implicitly convert 1999-12-10 17:38:41 +00:00
miscfs Fix a typo that was doing something kind of silly, and that is initializing 1999-12-21 06:29:00 +00:00
modules Use genassym(1) and <sys/assym.h> to generate assembler symbols. 1999-12-23 21:19:32 +00:00
msdosfs Second pass commit to introduce new ACL and Extended Attribute system 1999-12-19 06:08:07 +00:00
net IPSEC support in the kernel. 1999-12-22 19:13:38 +00:00
netatalk
netatm Fix a warning (unused variable RCSid) 1999-11-18 08:18:13 +00:00
netgraph Fix bugs in the MP fragment reassembly code that can cause a panic. 1999-12-17 23:29:04 +00:00
netinet IPSEC support in the kernel. 1999-12-22 19:13:38 +00:00
netinet6 IPSEC support in the kernel. 1999-12-22 19:13:38 +00:00
netipx Lose a register declaration to avoid a warning 1999-12-20 18:43:04 +00:00
netkey IPSEC support in the kernel. 1999-12-22 19:13:38 +00:00
netnatm
netncp Update to version 1.3.4 of ncplib. Cleanup header files. 1999-12-12 05:50:07 +00:00
netns $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nfs make getfh a standard syscall instead of dependant on having 1999-12-21 20:21:12 +00:00
nfsclient make getfh a standard syscall instead of dependant on having 1999-12-21 20:21:12 +00:00
nfsserver make getfh a standard syscall instead of dependant on having 1999-12-21 20:21:12 +00:00
ntfs Second pass commit to introduce new ACL and Extended Attribute system 1999-12-19 06:08:07 +00:00
nwfs Second pass commit to introduce new ACL and Extended Attribute system 1999-12-19 06:08:07 +00:00
pc98 Merge from sys/i386/conf/files.i386 rev 1.293. 1999-12-24 11:20:14 +00:00
pccard Move the turning on of the interrupts for the card at the bridge from 1999-12-10 07:02:41 +00:00
pci Removed unnecessary const poisoning (redundant casting) which was added 1999-12-24 15:16:10 +00:00
posix4 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
powerpc Make this compile again. (missing #include for RFPROC) 1999-12-06 18:12:29 +00:00
rpc $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
svr4 Introduce NDFREE (and remove VOP_ABORTOP) 1999-12-15 23:02:35 +00:00
sys o Define `offsetof' when not already defined, 1999-12-23 19:58:09 +00:00
tools Use a seperate -c and -h mode. The vnode_if.c file is compiled only into 1999-12-12 16:43:05 +00:00
ufs Update the unclean flag for mount -u. I forgot to handle this case 1999-12-23 15:42:14 +00:00
vm Introduce NDFREE (and remove VOP_ABORTOP) 1999-12-15 23:02:35 +00:00
Makefile ${MACHINE} -> ${MACHINE_ARCH} 1999-11-14 13:54:44 +00:00