comparison packages/hal/common/current/ChangeLog @ 1076:ff838098079a

* 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.
author nickg
date Wed, 25 Jun 2003 17:40:41 +0000
parents 745b55b432de
children e5931b4baad9
comparison
equal deleted inserted replaced
1075:4d2ad80d01ca 1076:ff838098079a
1 2003-06-25 Nick Garnett <nickg@balti.calivar.com>
2
3 * src/hal_if.c (delay_us): The first test against
4 CYGNUM_KERNEL_COUNTERS_RTC_PERIOD is now against the period
5 divided by two. By the time we get to this test we know that usecs
6 can never be > usec_per_period/2 so we can double the range of
7 period values that we can handle without overflow and use the more
8 efficient approximation. The second test is not changed since we
9 cannot make the same assumptions about the elapsed count.
10
1 2003-06-24 Jonathan Larmour <jifl@eCosCentric.com> 11 2003-06-24 Jonathan Larmour <jifl@eCosCentric.com>
2 12
3 * src/generic-stub.c (crc32): Fix crctable option name typo. 13 * src/generic-stub.c (crc32): Fix crctable option name typo.
4 14
5 * src/hal_if.c (hal_if_init): Remove kill_by_reset. 15 * src/hal_if.c (hal_if_init): Remove kill_by_reset.