This is the mail archive of the
ecos-cvs@sources.redhat.com
mailing list for the ecos project.
ecos/packages/hal/common/current ChangeLog src ...
- From: nickg at sources dot redhat dot com
- To: ecos-cvs at sources dot redhat dot com
- Date: 25 Jun 2003 17:40:42 -0000
- Subject: ecos/packages/hal/common/current ChangeLog src ...
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.