From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19987 invoked by alias); 25 Jun 2003 18:31:48 -0000 Mailing-List: contact ecos-cvs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Post: List-Help: , Sender: ecos-cvs-owner@sources.redhat.com List-Subscribe: Received: (qmail 9979 invoked by uid 371); 25 Jun 2003 17:40:42 -0000 Date: Wed, 25 Jun 2003 18:31:00 -0000 Message-ID: <20030625174042.9966.qmail@sources.redhat.com> From: nickg@sources.redhat.com To: ecos-cvs@sources.redhat.com Subject: ecos/packages/hal/common/current ChangeLog src ... X-SW-Source: 2003/txt/msg00993.txt.bz2 List-Id: CVSROOT: /cvs/ecos Module name: ecos Changes by: nickg@sourceware.org 2003-06-25 17:40:42 Modified files: packages/hal/common/current: ChangeLog packages/hal/common/current/src: hal_if.c Log message: * src/hal_if.c (delay_us): The first test against CYGNUM_KERNEL_COUNTERS_RTC_PERIOD is now against the period divided by two. By the time we get to this test we know that usecs can never be > usec_per_period/2 so we can double the range of period values that we can handle without overflow and use the more efficient approximation. The second test is not changed since we cannot make the same assumptions about the elapsed count.