comparison packages/kernel/current/ChangeLog @ 2:443894e2e912 ecos-v1_2_1-release

Block commit of eCos version 1.2.1
author jlarmour
date Tue, 11 May 1999 12:24:34 +0000
parents 3111d98ba7b3
children 1d7f19c9e4d1
comparison
equal deleted inserted replaced
1:72f549f0d891 2:443894e2e912
1 1999-04-28 Jesper Skov <jskov@cygnus.co.uk>
2 PR 19850
3 * tests/stress_threads.c: Don't print text from alarm handler.
4
5 1999-04-27 Gary Thomas <gthomas@cygnus.co.uk>
6
7 * tests/tm_basic.cxx:
8 Use/test 'cyg_thread_delete()' function.
9 Add ability to compute statistics with first datum removed which
10 can show up cache effects.
11 Show thread stack usage.
12
13 1999-04-26 Hugo Tyson <hmt@cygnus.co.uk>
14
15 * include/kapi.h: Add missing function cyg_thread_delete();
16 otherwise there is no way in the C API to re-use thread memory
17 safely. It just calls the destructor of the Cyg_Thread class.
18
19 * src/common/kapi.cxx (cyg_thread_delete): Implement it.
20
21 1999-04-26 Hugo Tyson <hmt@cygnus.co.uk>
22
23 * tests/stress_threads.c: Commit a better version for Mark since I
24 happen to have it here; having addressed the main concern of my
25 approval process. It runs better in sims so long as the
26 constructor execution isn't messed with, nor timeslicing nor
27 priority inheritance.
28
29 1999-04-23 Mark Galassi <rosalia@cygnus.com>
30
31 * tests/stress_threads.c (setup_death_alarm): shortened the
32 simulator time by another factor of 10, hoping that it will not
33 slow down nightly testing for simulator platforms too much.
34 (perform_stressful_tasks): added writing of a bit pattern to the
35 malloc()-ed spaces. Also reduced stack requirements for threads.
36
37 1999-04-23 Hugo Tyson <hmt@cygnus.co.uk>
38
39 * src/common/timer.cxx (Cyg_Timer::activate): we must also disable
40 the alarm when resetting it so as to remove it from its queue, so
41 that the enable afterwards places it on the right queue instead of
42 assuming that, being enabled, it's already there. (if not
43 enabling, the behaviour is unchanged and correct) This was
44 detected by uITRON tests[cx]4, with some random perms including
45 enable CYGIMP_KERNEL_COUNTERS_MULTI_LIST,
46 value CYGNUM_KERNEL_COUNTERS_MULTI_LIST_SIZE {8}.
47 The PR is 19475.
48
49 1999-04-21 Hugo Tyson <hmt@cygnus.co.uk>
50
51 * tests/bin_sem1.cxx (bin_sem1_main): Doh! Use priorities 4 and 5
52 for the two threads so that they are unique (with a bitmap
53 scheduler, the threads had prios 0 and 1 resp, which causes an
54 assert in the attempt to set thread 0's prio to 1, "prios not
55 unique"). PR 19904.
56
57 1999-04-20 Hugo Tyson <hmt@cygnus.co.uk>
58
59 * tests/stress_threads.c: applied my patch to fix stack sizes.
60 And timing, in simulator; branch now matches the trunk.
61
62 1999-04-20 Jonathan Larmour <jlarmour@cygnus.co.uk>
63
64 * tests/kcache2.c:
65 Reduce iterations for time_ilock(), time_dlock(), and test_dzero()
66 if a simulated environment is detected
67 Fix for PR 19853
68
69 1999-04-19 Jonathan Larmour <jlarmour@cygnus.co.uk>
70
71 * tests/kill.cxx: Make delay ticks greater than 1 to prevent
72 scheduling problems if the clock rolls over immediately
73 Fix for PR 19516
74
75 1999-04-19 Hugo Tyson <hmt@cygnus.co.uk>
76
77 * tests/bin_sem1.cxx (bin_sem1_main): Add priorities to the
78 threads so that they run sequentially like the tester expected.
79 Otherwise simple timing, and shorter timeslicing, causes failure
80 to be reported; likewise if the kernel happens not to run entry0
81 first!
82 (another checkin)
83 (bin_sem1_main): Add conditional use of set_priority on
84 CYGIMP_THREAD_PRIORITY as it should be.
85
86 1999-04-14 Jesper Skov <jskov@cygnus.co.uk>
87
88 * src/debug/dbg_gdb.cxx: Fixed compiler warnings, cleaned up stub
89 requirements (removed FIX ME).
90
91 1999-04-14 Gary Thomas <gthomas@cygnus.co.uk>
92
93 * include/intr.hxx:
94 * src/intr/intr.cxx (call_pending_DSRs_inner): Rework calling of
95 DSRs to allow calls from HAL code. This will allow for proper
96 use of a separate interrupt stack.
97
98 1999-04-14 Mark Galassi <rosalia@cygnus.com>
99
100 * tests/PKGconf.mak: added an ifndef for the AEB-1 board so that
101 stress_threads is only built conditionally.
102
103 * tests/stress_threads.c: added more config smarts suggested by
104 Jesper for his configurations.
105
106 1999-04-13 Jesper Skov <jskov@cygnus.co.uk>
107 PR 19822
108 * src/debug/dbg_gdb.cxx: Current thread's registers live in
109 registers, not _registers.
110
111 1999-04-13 Mark Galassi <rosalia@cygnus.com>
112
113 * tests/stress_threads.c: simple stressing of thread
114 creation/deletion with some memory-intensive and alarm-based
115 tasks. This version is set so that it dies after DEATH_TIME_LIMIT
116 seconds, currently set to 120. #undef-ing DEATH_TIME_LIMIT makes
117 the test run forever. This is currently not working with the
118 bitmap scheduler, probably for some simple reason, but I have not
119 yet broken it down to see why.
120
121 1999-04-12 Jonathan Larmour <jlarmour@cygnus.co.uk>
122
123 * tests/except1.cxx:
124 * tests/kexcept1.cxx:
125 Remove now unnecessary tx39-specific setting of
126 CYGNUM_HAL_EXCEPTION_DATA_UNALIGNED_ACCESS VSR
127 Part of cleanup for PR 19731
128
129 1999-04-09 Hugo Tyson <hmt@cygnus.co.uk>
130
131 Generally: thread->to_queue_head() moves a thread to the head of
132 whatever queue it is on, if relevant. This is so that a thread
133 can change priority and then put itself at the front of its new
134 run queue instead of the end; otherwise it yields too, which may
135 be undesirable. Particularly for internal use of priorities in
136 the uITRON compatibility layer.
137
138 * include/thread.hxx (class Cyg_Thread): to_queue_head(): new
139 function. Define Cyg_Thread::rotate_queue() for all schedulers.
140 Public inheritance of Cyg_ThreadQueue_Implementation.
141
142 * include/thread.inl (class Cyg_Thread): to_queue_head(): new
143 function. Define Cyg_Thread::rotate_queue() for all schedulers.
144
145 * include/mlqueue.hxx (class Cyg_SchedThread_Implementation):
146 to_queue_head(), ...ThreadQueue...::to_head(): new functions.
147
148 * src/sched/mlqueue.cxx (class Cyg_SchedThread_Implementation):
149 to_queue_head(), ...ThreadQueue...::to_head(): new functions.
150
151 * include/bitmap.hxx (class Cyg_SchedThread_Implementation):
152 Add empty placeholders for rotate_queue() and to_queue_head() to
153 maintain commonality of interface.
154
155 1999-04-08 Jesper Skov <jskov@cygnus.co.uk>
156 PR 19667
157 * kernel/current/src/common/thread.cxx:
158 Removed obsolete Cyg_Thread constructor.
159
160 * kernel/current/tests/testaux.hxx:
161 * kernel/current/tests/thread0.cxx:
162 * kernel/current/tests/thread1.cxx:
163 Changed to use the new Cyg_Thread constructor.
164
165 1999-04-08 Jesper Skov <jskov@cygnus.co.uk>
166
167 * src/common/kapi.cxx: Minor indentation fixes.
168
169 1999-04-07 Jesper Skov <jskov@cygnus.co.uk>
170 PR 19743
171 * include/mfiximpl.inl (Cyg_Mempool_Fixed_Implementation): Moved
172 argument assertions before the first use of the arguments.
173
174 1999-04-07 Hugo Tyson <hmt@cygnus.co.uk>
175
176 * tests/kexcept1.c (except0_main):
177 * tests/except1.cxx (except0_main):
178 Use macro HAL_VSR_SET_TO_ECOS_HANDLER() if defined, to reset
179 likely exception handler VSRs to eCos' default handlers - the
180 target side equivalent to CYG_TEST_GDBCMD("handle SIGBUS nostop");
181 The VSR may not be the eCos standard one in some implementations
182 of cooperation with CygMon.
183
184 1999-03-31 Nick Garnett <nickg@cygnus.co.uk>
185
186 * include/pkgconf/kernel.h (CYGNUM_KERNEL_COUNTERS_RTC_PERIOD):
187 Fixed value of this option for TX39 66MHz to correct number.
188
189 1999-03-25 Gary Thomas <gthomas@cygnus.co.uk>
190
191 * tests/tm_basic.cxx: More adjustments to get clock latency correct.
192 Some fine tuning of messages and layout to fit well within 80 columns.
193
194 1999-03-24 Nick Garnett <nickg@cygnus.co.uk>
195
196 * include/pkgconf/kernel.h: Fixed an ifdef error.
197
198 1999-03-24 Gary Thomas <gthomas@cygnus.co.uk>
199
200 * tests/tm_basic.cxx (NTEST_THREADS): Reduce # threads so test can
201 build on smaller machines. Also, only adjust timings by single
202 "overhead" value instead of the more generous 2*overhead.
203
204 * src/common/clock.cxx: Clock latency measurement defaults to 'off'.
205
206 1999-03-23 Nick Garnett <nickg@cygnus.co.uk>
207
208 * tests/kcache2.c: Reduced number of loops in time_ilock(). On the
209 MN10300 and TX39 this caused the test to timeout in the testing
210 farm.
211
212 1999-03-23 Gary Thomas <gthomas@cygnus.co.uk>
213
214 * tests/tm_basic.cxx:
215 * src/common/clock.cxx: Add 'measure_clock_latency' boolean which
216 is used to turn clock latency measurements on/off.
217
218 1999-03-23 Nick Garnett <nickg@cygnus.co.uk>
219
220 * tests/tm_basic.cxx (run_all_tests): Changed initial delay from
221 100 ticks to 2. This is adequate for the purpose of letting the
222 clock get going, while 100 ticks was too long on simulators.
223
224 1999-03-23 Hugo Tyson <hmt@cygnus.co.uk>
225
226 * tests/kcache1.c:
227 * tests/kcache2.c:
228 * tests/kclock1.c:
229 * tests/kexcept1.c:
230 * tests/kflag1.c:
231 * tests/kmbox1.c:
232 * tests/kmemfix1.c:
233 * tests/kmemvar1.c:
234 * tests/kmutex1.c:
235 * tests/ksched1.c:
236 * tests/ksem1.c:
237 * tests/kthread0.c:
238 * tests/thread0.cxx:
239 Use CYGNUM_HAL_STACK_SIZE_TYPICAL instead of "4096" and include
240 hal_arch.h where necessary to get it.
241
242 1999-03-22 Hugo Tyson <hmt@cygnus.co.uk>
243
244 * include/thread.inl (attach_stack):
245 Fix typo in assert; missing comma.
246
247 1999-03-22 Jonathan Larmour <jlarmour@cygnus.co.uk>
248
249 * src/debug/dbg-thread-syscall.h: Update copyright
250
251 1999-03-22 Hugo Tyson <hmt@cygnus.co.uk>
252
253 * include/thread.inl:
254 * src/common/thread.cxx:
255 * tests/kthread1.c:
256 * tests/testaux.hxx:
257 * tests/thread1.cxx:
258 * tests/thread_gdb.c:
259 * tests/tm_basic.cxx:
260 Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
261 CYGNUM_HAL_MINIMUM_STACK_SIZE.
262 Except for stack checking and the idle thread stack which uses
263 CYGNUM_HAL_STACK_SIZE_MINIMUM.
264
265 1999-03-19 Nick Garnett <nickg@cygnus.co.uk>
266
267 * tests/kcache1.c:
268 * tests/kcache2.c:
269 Made all CYG_INTERRUPT_STATE variables register variables. The
270 value of this variable has to survive cache invalidation and does
271 not in some testing permutations that are unoptimized.
272 Fixes PR 19165.
273
274 * include/kapi.h: Type of cyg_tick_count_t changed to cyg_uint64.
275 Response to PR 19320.
276
277 1999-03-19 Gary Thomas <gthomas@cygnus.co.uk>
278
279 * tests/tm_basic.cxx: Much better analysis of clock interrupt times.
280 Print average deviation instead of variance. Also print "confidence"
281 numbers which are a measure of "how likely" a particular number would
282 be relative to the mean and min of the sample set.
283
284 1999-03-17 Gary Thomas <gthomas@cygnus.co.uk>
285
286 * tests/tm_basic.cxx: Improve messages and layout.
287 Better message for 'hardware clock tick' value.
288
289 * src/common/clock.cxx: Be more careful about clock latency delta
290 values that are used/kept - some hardware can yield incorrect values.
291
292 * tests/testaux.hxx: Use HAL recommended stack size for default.
293
294 1999-03-16 Nick Garnett <nickg@cygnus.co.uk>
295
296 * src/common/thread.cxx:
297 Removed MIPS specific definition of idle_thread_stack[]. This is
298 so it gets the benefit of the redefinition of
299 CYGNUM_KERNEL_THREADS_IDLE_STACK_SIZE. This definition has also
300 been made static, since the MIPS compiler would otherwise put it
301 in the .data section.
302
303 * include/intr.hxx (class Cyg_Interrupt):
304 Changed implementation of Cyg_Interrupt::interrupts_enabled() to
305 test the value of disable_counter, rather than the hardware.
306
307 1999-03-15 Nick Garnett <nickg@cygnus.co.uk>
308
309 * tests/kcache1.c:
310 * tests/kcache2.c:
311 Added interrupt disables around cache operations. If these take
312 too long, an inopportune interrupt can disrupt the cache contents,
313 or result in the interrupt seeing an inconsistent world.
314
315 1999-03-15 Gary Thomas <gthomas@cygnus.co.uk>
316
317 * tests/tm_basic.cxx: Improved and cleaned up messages overall.
318
319 1999-03-15 Jesper Skov <jskov@cygnus.co.uk>
320 PR 19504
321 * tests/tm_basic.cxx: Kill created threads after mutex, mbox and
322 semaphore tests.
323
324 1999-03-12 Hugo Tyson <hmt@cygnus.co.uk>
325
326 * src/debug/dbg-thread-demux.c:
327 Only try handling the SPARClite-SLEB vector correctly if
328 CYG_HAL_USE_ROM_MONITOR_CYGMON ie. we are talking with CygMon.
329 Otherwise the code is wrong, but also not used. No matter.
330
331 1999-03-12 Hugo Tyson <hmt@cygnus.co.uk>
332
333 * tests/kthread1.c:
334 * tests/thread1.cxx:
335 * tests/thread_gdb.c:
336 Deal with CYGNUM_HAL_MINIMUM_STACK_SIZE requirement.
337
338 1999-03-12 Gary Thomas <gthomas@cygnus.co.uk>
339
340 * include/thread.inl (attach_stack): Add check/assert for minimum
341 stack size (HAL defined)
342
343 1999-03-11 Hugo Tyson <hmt@cygnus.co.uk>
344
345 * src/debug/dbg-thread-demux.c (patch_dbg_syscalls):
346 Use the correct vector table slot for SPARClite-SLEB; it's not 15
347 on here, it's BSP_VEC_MT_DEBUG from the hal's hal_cygm.h
348
349 1999-03-11 Nick Garnett <nickg@cygnus.co.uk>
350
351 * tests/testaux.hxx:
352 Move definition of inline placement operator new outside of ifdef
353 for NTHREADS so that it can be used by other code.
354
355 * tests/intr0.cxx:
356 * tests/thread1.cxx:
357 Make use of placement operator new rather than dynamic one in
358 intr0. Removed duplicate definition from thread1.
359
360 1999-03-11 Jesper Skov <jskov@cygnus.co.uk>
361 PR 19472
362 * tests/kill.cxx: Increased delays for the synthetic target.
363
364 1999-03-11 Jesper Skov <jskov@cygnus.co.uk>
365 PR 19468
366 * tests/intr0.cxx (intr0_main):
367 * tests/kintr0.c (kintr0_main):
368 Only attach interrupt handlers to vectors not in use.
369
370 1999-03-10 Jesper Skov <jskov@cygnus.co.uk>
371 PR 19368
372 * src/sched/sched.cxx (start): Change the dependency for
373 referencing the RTC to make its inclusion independent of scheduler
374 choice.
375
376 1999-03-10 Jesper Skov <jskov@cygnus.co.uk>
377 PR 17357
378 * src/intr/intr.cxx (attach): Assert that interrupt vector attach
379 will succeed.
380
381 1999-03-10 Nick Garnett <nickg@cygnus.co.uk>
382
383 * include/pkgconf/kernel.h:
384 Changed names used to control clock frequency on TX39 target.
385
386 1999-03-08 Gary Thomas <gthomas@cygnus.co.uk>
387
388 * src/sync/mutex.cxx: Allow 'Cyg_Condition_Variable::wait()'
389 to be entered with the scheduler locked (and thsu exit in
390 the same state). This will allow for fully thread-safe use
391 of 'Cyg_Condition_Variable::wait()'.
392
393 1999-02-26 Jonathan Larmour <jlarmour@cygnus.co.uk>
394
395 * tests/except1.cxx (except0_main):
396 * tests/kexcept1.c (except0_main):
397 Move CYG_TEST_GDBCMD back to being before CYG_TEST_INIT
398
399 1999-02-26 Jesper Skov <jskov@cygnus.co.uk>
400 PR 19283
401
402 * src/common/kapi.cxx: Changed cyg_exception_call_handler
403 definition to be consistent with declaration.
404
405 * include/kapi.h: Change cyg_code_t to signed type.
406
407 * tests/except1.cxx (except0_main):
408 * tests/kexcept1.c (except0_main):
409 Init diag before making first output.
410
411 1999-02-26 Jesper Skov <jskov@cygnus.co.uk>
412 PR 19284
413 * tests/mutex2.cxx (mutex2_main): Set priorities in a different
414 order.
415
416 1999-02-25 Nick Garnett <nickg@cygnus.co.uk>
417
418 * include/sched.hxx (class Cyg_Scheduler_Base):
419 Added CYGBLD_ATTRIB_ASM_ALIAS(cyg_scheduler_sched_lock) to
420 declaration of sched_lock member. This makes it have the given
421 name in the object and assembler files. This in turn eliminates
422 the need to have a C++ mangled name in the HAL.
423
424 * src/intr/intr.cxx:
425 Cyg_Interrupt::detach() was not translating the vector to a table
426 index correctly in the chained case. Fixed.
427
428 1999-02-24 Nick Garnett <nickg@cygnus.co.uk>
429
430 * include/intr.hxx:
431 * src/intr/intr.cxx:
432 Added an interrupt disable counter to
433 Cyg_Interrupt::disable_interrupts() and
434 Cyg_Interrupt::enable_interrupts().
435
436 1999-02-23 Nick Garnett <nickg@cygnus.co.uk>
437
438 * include/pkgconf/kernel.h:
439 Added support for 66MHz part.
440
441 * include/instrmnt.h:
442 Added CYG_INSTRUMENT_EVENT_MUTEX_RELEASE and
443 CYG_INSTRUMENT_EVENT_MUTEX_RELEASED. This should have been part of
444 the 1999-02-22 checkin.
445
446 1999-02-23 Jonathan Larmour <jlarmour@cygnus.co.uk>
447
448 * tests/clock0.cxx, tests/clock1.cxx, tests/except1.cxx,
449 tests/kcache1.c, tests/kcache2.c, tests/kclock0.c, tests/kclock1.c,
450 tests/kexcept1.c, tests/kflag0.c, tests/kflag1.c, tests/kill.cxx,
451 tests/kintr0.c, tests/kmbox1.c, tests/kmemfix1.c, tests/kmemvar1.c,
452 tests/kmutex0.c, tests/kmutex1.c, tests/ksched1.c, tests/ksem0.c,
453 tests/ksem1.c, tests/kthread0.c, tests/kthread1.c, tests/thread1.cxx:
454 Use CYG_TEST_NA() rather than CYG_TEST_PASS_FINISH() for tests that
455 are not applicable for this configuration
456
457 1999-02-22 Nick Garnett <nickg@cygnus.co.uk>
458
459 * include/kapi.h:
460 * include/mutex.hxx:
461 * src/sync/mutex.cxx:
462 * src/common/kapi.cxx:
463 * tests/mutex2.cxx:
464 * tests/PKGconf.mak:
465 Added Kernel API support for thread release, which allows a thread
466 to be broken out of any wait. Also added support for releasing all
467 threads waiting to lock a mutex, both at C++ and Kernel API
468 levels. Added a test program, mutex2, to test this fuctionality
469 out.
470
471 1999-02-20 Jonathan Larmour <jlarmour@cygnus.co.uk>
472
473 * include/except.hxx:
474 * include/kapidata.h
475 Rename CYG_EXCEPTION_COUNT -> CYGNUM_HAL_EXCEPTION_COUNT in line
476 with HAL changes
477 Rename deliver_exception() -> cyg_hal_deliver_exception()
478 QA improvements
479
480 * src/common/clock.cxx:
481 Rename CYG_VECTOR_RTC -> CYGNUM_HAL_INTERRUPT_RTC in line with
482 HAL changes
483
484 * src/common/except.cxx:
485 Rename CYG_EXCEPTION_* -> CYGNUM_HAL_EXCEPTION_* in line
486 with HAL changes
487 Allow for CYGNUM_HAL_EXCEPTION_MIN != 0
488 Rename deliver_exception() -> cyg_hal_deliver_exception()
489 Add more tracing, and fix some existing
490 QA improvements
491
492 * src/intr/intr.cxx:
493 Rename CYG_ISR_* -> CYGNUM_HAL_ISR_* in line with HAL changes
494 Add more tracing, and fix some existing
495 QA improvements
496
497 * src/sched/bitmap.cxx:
498 * src/sched/mlqueue.cxx:
499 * src/sync/mutex.cxx:
500 Add more tracing and fix some existing
501 QA improvements
502
503 * tests/except1.cxx:
504 * tests/kexcept1.c
505 Rename CYG_EXCEPTION_* -> CYGNUM_HAL_EXCEPTION_* in line
506 with HAL changes
507 QA improvements
508 Use new CYG_TEST_GDBCMD to tell GDB not to stop
509 Remove special simulator case as it should now work
510
511 * tests/intr0.cxx:
512 * tests/kintr0.c:
513 Rename CYG_ISR/VSR_* -> CYGNUM_HAL_ISR/VSR_* in line
514 with HAL changes
515 QA improvements
516
517 1999-02-16 Jonathan Larmour <jlarmour@cygnus.co.uk>
518
519 * tests/kexcept1.c (except0_main): Tell GDB to not stop on
520 SIGBUS or SIGSEGV since we know we're going to cause an exception
521
522 1999-02-12 Hugo Tyson <hmt@cygnus.co.uk>
523
524 * src/common/thread.cxx (idle_thread_stack):
525 Override CYGNUM_KERNEL_THREADS_IDLE_STACK_SIZE if
526 CYGNUM_HAL_MINIMUM_STACK_SIZE demands it.
527
528 * include/pkgconf/kernel.h (CYGNUM_KERNEL_THREADS_IDLE_STACK_SIZE):
529 Document that this option can be overridden by HALs demands.
530
531 1999-02-11 Jesper Skov <jskov@cygnus.co.uk>
532
533 * src/debug/dbg-thread-syscall.h:
534 * src/debug/dbg-thread-demux.c:
535 Added handling of dbg_scheduler_func calls.
536
537 1999-02-11 Nick Garnett <nickg@cygnus.co.uk>
538
539 * include/kapi.h:
540 * src/common/kapi.cxx:
541 Added API support for per-thread data.
542
543 * include/kapi.h:
544 * src/common/kapi.cxx:
545 * tests/ksem1.c:
546 * tests/tm_basic.cxx:
547 Changed arguments to Kernel C API semaphore functions to take
548 cyg_count32 rather than cyg_ucount32. This makes them consistent
549 with the underlying implementation and allows for negative counts
550 in the future. Changed some tests to match.
551 Fixes PR 17877.
552
553 1999-02-08 Jesper Skov <jskov@cygnus.co.uk>
554
555 * tests/kexcept1.c (entry0):
556 * tests/except1.cxx (entry0):
557 Don't call cause_exception on SIMs.
558
559 1999-02-05 Jesper Skov <jskov@cygnus.co.uk>
560
561 * src/common/clock.cxx (isr): Ignore a latency of 0 when finding
562 min_clock_latency.
563
564 1999-02-04 Jesper Skov <jskov@cygnus.co.uk>
565 PR 19075
566 * include/instrmnt.h: Slightly overdid the use of CYG_UNUSED_PARAM
567 macros.
568
569 1999-02-04 Jesper Skov <jskov@cygnus.co.uk>
570
571 * src/intr/intr.cxx:
572 Make instrumentation macros always use the parameters to avoid
573 compiler warnings.
574
575 1999-02-03 Jesper Skov <jskov@cygnus.co.uk>
576 PR 18075
577 * tests/memfix1.cxx:
578 * tests/kmemfix1.c:
579 Make timing less sensitive.
580
581 1999-02-02 Jesper Skov <jskov@cygnus.co.uk>
582
583 * tests/bin_sem2.cxx: Fixed compiler warning.
584
585 1999-02-02 Jesper Skov <jskov@cygnus.co.uk>
586 PR 18971
587 * tests/bin_sem2.cxx (bin_sem2_main): Reduce run time in SIM.
588
589 1999-02-01 Nick Garnett <nickg@cygnus.co.uk>
590
591 * tests/kcache2.c: Added calls to HAL_DCACHE_SYNC() before all
592 relevant calls to HAL_DCACHE_DISABLE(). This should have been done
593 on 1999-01-25 where is was only done to one instance.
594
595 1999-02-01 Gary Thomas <gthomas@cygnus.co.uk>
596
597 * tests/tm_basic.cxx: Adjust stack sizes for platforms with
598 limited memory.
599
600 1999-01-28 Nick Garnett <nickg@cygnus.co.uk>
601
602 * src/intr/intr.cxx: When using chained interrupts,
603 interrupt_end() is passed NULL as the intr argument. If
604 instrumentation is also enabled, the CYG_INSTRUMENT_INTR() calls
605 will try to indirect through zero. Added ifdefs to avoid
606 this. Also test intr for NULL before trying to post the DSR.
607 Fixes PR 18771.
608
609 1999-01-28 Jesper Skov <jskov@cygnus.co.uk>
610
611 * tests/tm_basic.cxx: Fixed strings.
612
613 1999-01-26 Hugo Tyson <hmt@cygnus.co.uk>
614
615 * tests/kcache1.c (time0): Waste much less time if running in a
616 simulator. Do only 40 loops instead of 4000.
617 In consequence the nasty meddling with MAX_STRIDE depending on
618 HAL_xxx_SIM package definitions can go.
619
620 1999-01-26 Jesper Skov <jskov@cygnus.co.uk>
621 PR 18902
622 * src/debug/dbg-thread-demux.c: Oops. Undid my change of 1999-01-21.
623
624 1999-01-25 Jonathan Larmour <jlarmour@cygnus.co.uk>
625
626 * src/common/except.cxx: Make global exception initialisation object
627 be constructed at INTERRUPT priority
628
629 1999-01-25 Jesper Skov <jskov@cygnus.co.uk>
630 PR 18002
631 * tests/thread_gdb.c: Ensure that there are enough priorities.
632
633 1999-01-25 Jesper Skov <jskov@cygnus.co.uk>
634 PR 18875
635 * tests/tm_basic.cxx: Ensure that there are enough priorities.
636
637 1999-01-25 Nick Garnett <nickg@cygnus.co.uk>
638
639 * tests/kcache2.c (test_dstore): Added call to HAL_DCACHE_SYNC()
640 before disabling cache. On some architectures disabling the cache
641 would cause the following call to do nothing.
642 Fixes PR 18849.
643
644 1999-01-22 Jesper Skov <jskov@cygnus.co.uk>
645
646 * tests/tm_basic.cxx: Don't run on Linux target.
647
648 1999-01-21 Hugo Tyson <hmt@cygnus.co.uk>
649 These changes are to get tests working with the SPARClite port; it
650 doesn't do 8-byte register access unless it's properly aligned.
651
652 * tests/philo.cxx (cyg_start):
653 Use tests/testaux.hxx to get new threads, to get the alignment
654 required; see below.
655
656 * tests/thread2.cxx (thread2_main):
657 Use tests/testaux.hxx to get new threads, to get the alignment
658 required; see below.
659
660 * tests/tm_basic.cxx:
661 Larger stack for greedy processor.
662
663 * tests/testaux.hxx:
664 thread_obj[][] and stack[][] are now 8-byte aligned like certain
665 processors require; Cyg_Thread contains cyg_tick_count which is
666 64-bit so any "standalone" C++ object would be so aligned. These
667 dynamically allocated ones should be too.
668
669 1999-01-21 Jesper Skov <jskov@cygnus.co.uk>
670 PR 18747
671 * tests/flag1.cxx: Increase delays/timeouts to prevent failure
672 when configured with full trace logging.
673
674 1999-01-21 Jesper Skov <jskov@cygnus.co.uk>
675
676 * src/debug/dbg-thread-demux.c: Removed PR 17327 workarounds.
677
678 1999-01-19 Jonathan Larmour <jlarmour@cygnus.co.uk>
679
680 * src/sched/sched.cxx (start):
681 CYG_REFERENCE_SYMBOL -> CYG_REFERENCE_OBJECT in line with
682 cyg_type.h change
683
684 1999-01-19 Jesper Skov <jskov@cygnus.co.uk>
685 PR 18824
686 * src/sync/mutex.cxx:
687 * include/pkgconf/kernel.h: Let
688 CYGMFN_KERNEL_SYNCH_CONDVAR_TIMED_WAIT require
689 CYGFUN_KERNEL_THREADS_TIMER.
690
691 1999-01-18 Nick Garnett <nickg@cygnus.co.uk>
692
693 * src/debug/dbg-thread-demux.c (patch_dbg_syscalls): Added test
694 for CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT in patch_dbg_syscalls().
695
696 1999-01-15 Gary Thomas <gthomas@cygnus.co.uk>
697
698 * include/mvarimpl.inl (free): Memory list sort was incorrect.
699
700 * tests/PKGconf.mak (TESTS): Don't build cache tests on
701 some platforms.
702
703 1999-01-15 Jesper Skov <jskov@cygnus.co.uk>
704 PR 18768
705
706 * tests/kmbox1.c:
707 * tests/mbox1.cxx:
708 Increase delays used so the overhead of GDB packets doesn't make
709 the tests fail.
710
711 1999-01-14 Jesper Skov <jskov@cygnus.co.uk>
712
713 * src/sched/sched.cxx (start): Use new CYG_REFERENCE_SYMBOL macro.
714
715 1999-01-14 Nick Garnett <nickg@cygnus.co.uk>
716
717 * src/debug/dbg_gdb.cxx: Extended return types to include success,
718 fail and caller-do-it as required by msnyder.
719
720 * src/debug/dbg-thread-demux.c: Moved prototype of dbg_scheduler()
721 to dbg-threads-api.h.
722
723 1999-01-13 Jesper Skov <jskov@cygnus.co.uk>
724
725 * src/sched/sched.cxx (start): Better implementation of the
726 real_time_clock reference.
727
728 1999-01-13 Jesper Skov <jskov@cygnus.co.uk>
729
730 * include/pkgconf/kernel.h: Disable CYGSEM_KERNEL_SCHED_TIMESLICE
731 in CYG_HAL_ROM_MONITOR magic.
732
733 1999-01-07 Jesper Skov <jskov@cygnus.co.uk>
734
735 * include/pkgconf/kernel.h: Added RTC values for i386/Linux.
736
737
738 1999-01-12 Nick Garnett <nickg@cygnus.co.uk>
739
740 * src/debug/dbg-thread-demux.c:
741 Changed API of patch_dbg_syscalls() to take a pointer to the start
742 of the vector and insert several vectors.
743
744 * src/debug/dbg_gdb.cxx:
745 Added dbg_scheduler() function to allow debuggers to lock and
746 unlock the scheduler. This helps when stepping multithreaded code.
747
748 * include/sched.hxx:
749 * include/sched.inl:
750 Added Cyg_Scheduler::unlock_simple() to decrement the lock without
751 rescheduling.
752
753 1999-01-05 Jesper Skov <jskov@cygnus.co.uk>
754 PR 18574
755
756 * src/sched/sched.cxx (start): Reference the real time clock to
757 ensure it is included when linking.
758
759 1999-01-04 Jesper Skov <jskov@cygnus.co.uk>
760
761 * tests/thread1.cxx:
762 * tests/mbox1.cxx:
763 * tests/kmbox1.c:
764 * tests/kill.cxx:
765 * tests/kflag1.c:
766 * tests/kclock1.c:
767 * tests/flag1.cxx:
768 * src/common/thread.cxx:
769 CYGFUN_KERNEL_THREADS_TIMER requires CYGVAR_KERNEL_COUNTERS_CLOCK
770 so don't check for the latter explicitly.
771
772 1999-01-04 Jesper Skov <jskov@cygnus.co.uk>
773 PR 18573
774
775 * tests/thread1.cxx:
776 * tests/mbox1.cxx:
777 * tests/kmbox1.c:
778 * tests/kflag1.c:
779 * tests/flag1.cxx:
780 Don't run tests that rely on delay() when delay() is only defined
781 as an empty function.
782
783 1998-12-24 Bart Veer <bartv@cygnus.co.uk>
784
785 * src/sync/mutex.cxx:
786 * src/sync/mbox.cxx:
787 * src/sync/flag.cxx:
788 * src/sched/sched.cxx:
789 * src/mem/memvar.cxx:
790 * src/mem/memfixed.cxx:
791 * src/common/thread.cxx:
792 * src/common/clock.cxx:
793 * include/mempoolt.inl:
794 * include/mempolt2.inl:
795 * include/mboxt2.inl:
796 * include/mboxt.inl:
797 check_this() member functions should now be const
798
799 1998-12-22 Nick Garnett <nickg@cygnus.co.uk>
800
801 * include/instrmnt.h: Fixed casts for arguments to
802 cyg_instrument() to work in C. Fixes PR 18413.
803
804 1998-12-21 Gary Thomas <gthomas@cygnus.co.uk>
805
806 * include/pkgconf/kernel.h: Change AEB-1 clock scale.
807
808 1998-12-17 Gary Thomas <gthomas@cygnus.co.uk>
809
810 * tests/tm_basic.cxx: Calculate system clock resolution
811 based on 'CYGNUM_KERNEL_COUNTERS_RTC_RESOLUTION'
812
813 1998-12-16 Gary Thomas <gthomas@cygnus.co.uk>
814
815 * include/pkgconf/kernel.h (CYGNUM_KERNEL_COUNTERS_RTC_PERIOD):
816 Add support for new ARM AEB-1.
817
818 1998-12-16 Hugo Tyson <hmt@masala.cygnus.co.uk>
819
820 * tests/intr0.cxx (intr0_main):
821 * tests/kintr0.c (kintr0_main):
822 Conditionally use a different interrupt vector number on tx39 when
823 in the simulator (according to cyg_test_is_simulator) so that
824 these tests execute correctly in simulators.
825
826 1998-12-16 Jesper Skov <jskov@cygnus.co.uk>
827 PR 18546
828
829 * tests/kill.cxx (cyg_start): Do NOP test if required kernel
830 functionality is disabled.
831
832 1998-12-15 Jesper Skov <jskov@cygnus.co.uk>
833
834 * include/pkgconf/kernel.h: Changed
835 CYGDBG_KERNEL_DEBUG_GDB_INCLUDE_STUBS to
836 CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS.
837
838 1998-12-14 Jesper Skov <jskov@cygnus.co.uk>
839
840 * tests/tm_basic.cxx: Made use of cyg_mbox_get() conditional on
841 CYGMFN_KERNEL_SYNCH_MBOXT_PUT_CAN_WAIT.
842
843 1998-12-14 Jesper Skov <jskov@cygnus.co.uk>
844
845 * tests/tm_basic.cxx: Added requirement for kernel RTC.
846
847 1998-12-11 Jesper Skov <jskov@cygnus.co.uk>
848
849 * tests/kcache2.c: Added tests of three more macros.
850
851 1998-12-10 Jesper Skov <jskov@cygnus.co.uk>
852
853 * tests/kcache2.c: Added tests of three more macros.
854
855 1998-12-10 Jesper Skov <jskov@cygnus.co.uk>
856
857 * tests/PKGconf.mak:
858 * tests/kcache2.c:
859 Added new cache test.
860
861 1998-12-04 Nick Garnett <nickg@cygnus.co.uk>
862
863 * include/intr.hxx:
864 * src/intr/intr.cxx (cyg_interrupt_post_dsr): Added this function
865 to allow functions in the HAL, which are always only in C, to call
866 Cyg_Interrupt::post_dsr(). Have also returned post_dsr() to
867 private parts of Cyg_Interrupt.
868
869 1998-12-04 Jesper Skov <jskov@cygnus.co.uk>
870
871 * include/intr.hxx (class Cyg_Interrupt): Made post_dsr public so
872 it can be called from HAL interrupt arbiters.
873
874 1998-12-04 Jesper Skov <jskov@cygnus.co.uk>
875
876 * include/pkgconf/kernel.h (CYGNUM_KERNEL_COUNTERS_RTC_PERIOD):
877 Set to the correct value for a 33.333MHz clock.
878
879 1998-12-02 Jesper Skov <jskov@cygnus.co.uk>
880
881 * src/intr/intr.cxx (interrupt_end, chain_isr): Got rid of magic
882 interrupt constants.
883
884 1998-11-30 Gary Thomas <gthomas@cygnus.co.uk>
885
886 * include/pkgconf/kernel.h: Fix spelling of CYGVAR_KERNEL_COUNTERS_CLOCK
887
888 1998-11-25 Jesper Skov <jskov@cygnus.co.uk>
889
890 * src/common/thread.cxx (check_this): Check that stack_ptr is
891 within its limits.
892
893 Wed Nov 25 18:45:12 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
894
895 * include/sched.inl (unlock) (lock):
896 * src/common/thread.cxx (thread_entry):
897 * src/sched/sched.cxx (unlock_inner):
898
899 Ensure all accesses to sched_lock cannot be reordered by the
900 optimiser
901
902 1998-11-24 Jesper Skov <jskov@cygnus.co.uk>
903
904 * src/common/thread.cxx (thread_entry): Prevent scheduler lock
905 from being released too early.
906
907 1998-11-23 Nick Garnett <nickg@cygnus.co.uk>
908
909 * include/pkgconf/kernel.h:
910 * src/common/clock.cxx:
911 Added CYGIMP_KERNEL_COUNTERS_SORT_LIST option to determine whether
912 the alarm lists in counters are sorted or not.
913
914 * tests/tm_basic.cxx: Added a test for many alarms firing
915 separately.
916
917 1998-11-23 Jesper Skov <jskov@cygnus.co.uk>
918
919 * tests/kcache1.c: Only run with stride 1 on SIMs.
920
921 1998-11-19 Gary Thomas <gthomas@cygnus.co.uk>
922
923 * tests/tm_basic.cxx: Insure appropriate kernel configuration for
924 building tool. Needs at least kernel C API and multi-level scheduler.
925
926 1998-11-18 Gary Thomas <gthomas@cygnus.co.uk>
927
928 * tests/tm_basic.cxx: Add interrupt latency support. Print
929 results to 10ns accuracy.
930
931 * tests/PKGconf.mak: Add 'tm_basic' (the kernel timing test
932 program) to list of built tests.
933
934 * src/intr/intr.cxx: Change usage of HAL_INTERRUPT_MASK to have
935 trailing ';' to match similar macros.
936
937 * src/common/clock.cxx:
938 * include/pkgconf/kernel.h: Add CDL option
939 CYGVAR_KERNEL_COUNTERS_CLOCK_LATENCY used to define if interrupt
940 latency measurements should be built into kernel.
941
942 1998-11-17 Jesper Skov <jskov@cygnus.co.uk>
943
944 * include/pkgconf/kernel.h: Renamed CYG_HAL_POWERPC_MP860 to
945 CYG_HAL_POWERPC_MPC860.
946
947
1 1998-10-28 David Moore <dsm@keema.cygnus.co.uk> 948 1998-10-28 David Moore <dsm@keema.cygnus.co.uk>
2 949
3 * include/pkgconf/kernel.h 950 * include/pkgconf/kernel.h
4 (CYGNUM_KERNEL_COUNTERS_RTC_RESOLUTION): Changed default value for 951 (CYGNUM_KERNEL_COUNTERS_RTC_RESOLUTION): Changed default value for
5 MIPS simulator to be 0.01 secs instead of 0.001 seconds. 952 MIPS simulator to be 0.01 secs instead of 0.001 seconds.
1185 // 2132 //
1186 // The Original Code is eCos - Embedded Cygnus Operating System, released 2133 // The Original Code is eCos - Embedded Cygnus Operating System, released
1187 // September 30, 1998. 2134 // September 30, 1998.
1188 // 2135 //
1189 // The Initial Developer of the Original Code is Cygnus. Portions created 2136 // The Initial Developer of the Original Code is Cygnus. Portions created
1190 // by Cygnus are Copyright (C) 1998 Cygnus Solutions. All Rights Reserved. 2137 // by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions. All Rights Reserved.
1191 // ------------------------------------------- 2138 // -------------------------------------------
1192 // 2139 //
1193 //####COPYRIGHTEND#### 2140 //####COPYRIGHTEND####
1194 //=========================================================================== 2141 //===========================================================================