From owner-freebsd-current Wed Nov 12 14:02:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA13633 for current-outgoing; Wed, 12 Nov 1997 14:02:02 -0800 (PST) (envelope-from owner-freebsd-current) Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.5.85]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA13619 for ; Wed, 12 Nov 1997 14:01:53 -0800 (PST) (envelope-from tlambert@usr05.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.8.7/8.8.7) id PAA05338; Wed, 12 Nov 1997 15:01:49 -0700 (MST) Received: from usr05.primenet.com(206.165.6.205) via SMTP by smtp04.primenet.com, id smtpd005320; Wed Nov 12 15:01:40 1997 Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id PAA20601; Wed, 12 Nov 1997 15:01:38 -0700 (MST) From: Terry Lambert Message-Id: <199711122201.PAA20601@usr05.primenet.com> Subject: Re: make world time???/ To: tlambert@primenet.com (Terry Lambert) Date: Wed, 12 Nov 1997 22:01:37 +0000 (GMT) Cc: handy@sag.space.lockheed.com, roberto@keltia.freenix.fr, current@FreeBSD.ORG In-Reply-To: <199711122019.NAA07092@usr09.primenet.com> from "Terry Lambert" at Nov 12, 97 08:19:03 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 1) Allocate a buffer in low memory at some offset "x". > 2) Allocate a buffer in high memory at 16M + x > 3) Allocate a compare buffer somewhere. > 4) Schedule a bus mastering DMA read into the low memory > buffer; wait for it to complete > 5) Copy the low memory buffer contents to the compare buffer > 6) XOR some non-zero pattern into the low memory buffer > 7) Copy the low memory buffer contents to the high memory buffer > 8) Schedule a bus mastering DMA read into the low memory ^^^^ - UGH! I meant to say "high" here... > buffer; wait for it to complete > 9) Compare the compare buffer contents against the low memory > and high memory buffer contents. > 10) If the compare buffer contents matches the low memory buffer > contents, set the "USEBOUNCEBUFFERS" flag on the controller. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.