ecos/packages/hal/common/current ChangeLog src ...
nickg@sources.redhat.com
nickg@sources.redhat.com
Wed Jun 25 18:31:00 GMT 2003
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.
More information about the Ecos-cvs
mailing list