From owner-freebsd-commit Fri Dec 22 07:21:13 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA29568 for freebsd-commit-outgoing; Fri, 22 Dec 1995 07:21:13 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA29556 for cvs-all-outgoing; Fri, 22 Dec 1995 07:21:02 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA29543 for cvs-sys-outgoing; Fri, 22 Dec 1995 07:20:58 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA29535 Fri, 22 Dec 1995 07:20:56 -0800 (PST) Date: Fri, 22 Dec 1995 07:20:56 -0800 (PST) From: Bruce Evans Message-Id: <199512221520.HAA29535@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/i386/isa random.c Sender: owner-commit@FreeBSD.ORG Precedence: bulk bde 95/12/22 07:20:55 Modified: sys/i386/isa random.c Log: Fixed arg order in an outb() call. add_timer_randomness() clobbered part of the DMA channel 0 address and wasn't random in the intended way. Submitted by: KATO Takenori Disable interrupts while reading the clock. This probably isn't important (allowing interrupts probably increased randomness in the usual case). Removed __i386__ ifdef. This file is in an i386 directory and has other i386 dependencies. Revision Changes Path 1.4 +9 -6 src/sys/i386/isa/random.c