|
2
|
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 |
|
0
|
948 1998-10-28 David Moore <dsm@keema.cygnus.co.uk> |
|
|
949 |
|
|
950 * include/pkgconf/kernel.h |
|
|
951 (CYGNUM_KERNEL_COUNTERS_RTC_RESOLUTION): Changed default value for |
|
|
952 MIPS simulator to be 0.01 secs instead of 0.001 seconds. |
|
|
953 |
|
|
954 1998-10-28 Jesper Skov <jskov@cygnus.co.uk> |
|
|
955 |
|
|
956 * tests/kcache1.c (HAL_DCACHE_PURGE_ALL): Fixed compiler problem |
|
|
957 on PowerPC. |
|
|
958 |
|
|
959 1998-10-27 Nick Garnett <nickg@cygnus.co.uk> |
|
|
960 |
|
|
961 * tests/kcache1.c: |
|
|
962 Added calls to HAL_DCACHE_PURGE_ALL() before each test. Added |
|
|
963 local version of HAL_DCACHE_PURGE_ALL() if this is not supplied by |
|
|
964 the HAL. |
|
|
965 |
|
|
966 1998-10-27 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
967 |
|
|
968 * src/common/thread.cxx (wake): |
|
|
969 Remove the thread unconditionally from any queue it was on; for we |
|
|
970 have just become not-asleep, so it must be OK. (Bug was: it |
|
|
971 didn't happen in transit WAIT-SUSPEND -> SUSPEND, so synch object |
|
|
972 still believed the task was waiting on it). PR#17998 |
|
|
973 |
|
|
974 1998-10-26 Jesper Skov <jskov@cygnus.co.uk> |
|
|
975 PR 17527, PR 17837 |
|
|
976 |
|
|
977 * tests/kcache1.c: |
|
|
978 * tests/kclock0.c: |
|
|
979 * tests/kclock1.c: |
|
|
980 * tests/clock1.cxx: |
|
|
981 * tests/clock0.cxx: |
|
|
982 Do N/A PASS when kernel real-time clock is configured out. |
|
|
983 |
|
|
984 1998-10-26 Jesper Skov <jskov@lassi.cygnus.co.uk> |
|
|
985 PR 17866 |
|
|
986 |
|
|
987 * include/pkgconf/kernel.h |
|
|
988 (CYGNUM_KERNEL_THREADS_IDLE_STACK_SIZE): Doubled to prevent stack |
|
|
989 overruns on PowerPC. |
|
|
990 |
|
|
991 1998-10-26 Jesper Skov <jskov@cygnus.co.uk> |
|
|
992 PR 17987 |
|
|
993 |
|
|
994 * src/debug/dbg_gdb.cxx (dbg_threadinfo): Removed "more: <none>" |
|
|
995 output. |
|
|
996 |
|
|
997 1998-10-23 John Dallaway <jld@cygnus.co.uk> |
|
|
998 |
|
|
999 * tests/tm_basic.cxx: Added basic timing test. |
|
|
1000 |
|
|
1001 1998-10-23 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1002 |
|
|
1003 * include/instrmnt.h: |
|
|
1004 Improved documentation of cyg_instrument_enable() and |
|
|
1005 cyg_instrument_disable(). |
|
|
1006 |
|
|
1007 * src/instrmnt/meminst.cxx: |
|
|
1008 Added code to enable and disable whole groups of events. |
|
|
1009 |
|
|
1010 1998-10-23 Jesper Skov <jskov@lassi.cygnus.co.uk> |
|
|
1011 |
|
|
1012 * include/generic-stub.h: Deleted. It was moved to hal common some |
|
|
1013 time ago. |
|
|
1014 |
|
|
1015 Fri Oct 23 04:45:12 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
1016 |
|
|
1017 * tests/kcache1.c: |
|
|
1018 Remove forced warning of a warning which no longer applies |
|
|
1019 |
|
|
1020 1998-10-22 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1021 |
|
|
1022 * src/common/clock.cxx: |
|
|
1023 Stop searching the alarm list when the current alarm is in the |
|
|
1024 future in Cyg_Counter::tick(). Changed sense of comparison in |
|
|
1025 Cyg_Counter::add_alarm() to sort alarms in ascending order. |
|
|
1026 |
|
|
1027 Thu Oct 22 18:21:50 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
1028 |
|
|
1029 * include/pkgconf/kernel.h: |
|
|
1030 Fix commenting within CDL "comments" |
|
|
1031 |
|
|
1032 Thu Oct 22 17:25:45 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
1033 |
|
|
1034 * include/pkgconf/kernel.h: |
|
|
1035 Remove CYGVAR_KERNEL_INSTRUMENT_EXTERNAL_BUFFER configuration |
|
|
1036 option. For PR 17838 |
|
|
1037 |
|
|
1038 1998-10-21 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1039 |
|
|
1040 * include/pkgconf/kernel.h (CYGNUM_KERNEL_COUNTERS_RTC_PERIOD): |
|
|
1041 Changed value for JMR3904 board to 15360 which is correct for a |
|
|
1042 24.576MHz board rather than 25MHz as before. |
|
|
1043 |
|
|
1044 * src/common/thread.cxx: |
|
|
1045 Exchanged stack_base and stack_size in idle thread constructor. |
|
|
1046 |
|
|
1047 1998-10-20 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
1048 |
|
|
1049 * tests/kflag1.c (kflag1_main): |
|
|
1050 Only mess with f2 if it exists, ie. CYGFUN_KERNEL_THREADS_TIMER. |
|
|
1051 |
|
|
1052 1998-10-19 Mark Galassi <rosalia@cygnus.com> |
|
|
1053 |
|
|
1054 * include/pkgconf/kernel.h: updated the doc URL |
|
|
1055 |
|
|
1056 1998-10-19 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
1057 |
|
|
1058 * include/kapi.h: |
|
|
1059 * include/kapidata.h (struct cyg_flag_t): |
|
|
1060 * src/common/kapi.cxx: |
|
|
1061 Add flags (Cyg_Flag, kernel.../flag.hxx) to the C API. |
|
|
1062 |
|
|
1063 * tests/PKGconf.mak (TESTS): |
|
|
1064 Add new tests for flags via the C API. |
|
|
1065 |
|
|
1066 * tests/kflag0.c: |
|
|
1067 * tests/kflag1.c: |
|
|
1068 New tests (well, versions of the plain C++ versions flag0.cxx and |
|
|
1069 flag1.cxx) for flags via the kernel C API. |
|
|
1070 |
|
|
1071 1998-10-19 Bart Veer <bartv@cygnus.co.uk> |
|
|
1072 |
|
|
1073 * include/pkgconf/kernel.h: |
|
|
1074 Fixed description of clock resolution. |
|
|
1075 |
|
|
1076 1998-10-17 Bart Veer <bartv@cygnus.co.uk> |
|
|
1077 |
|
|
1078 * include/pkgconf/kernel.h: |
|
|
1079 Added a way of configuring the clock interrupt frequency. |
|
|
1080 |
|
|
1081 Thu Oct 15 21:31:58 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
1082 |
|
|
1083 * include/pkgconf/kernel.h: |
|
|
1084 Allow kernel to be disabled now |
|
|
1085 |
|
|
1086 * src/common/delete.cxx, src/common/memcpy.c, src/common/memset.c: |
|
|
1087 Move these files to the infra package |
|
|
1088 |
|
|
1089 * src/PKGconf.mak: |
|
|
1090 Don't build the above files any more |
|
|
1091 |
|
|
1092 Above changes are required for PR 17229 |
|
|
1093 |
|
|
1094 1998-10-15 Hugo Tyson <hmt@masala.cygnus.co.uk> |
|
|
1095 |
|
|
1096 * include/mempoolt.inl (Cyg_Mempoolt): |
|
|
1097 * include/mempolt2.inl (Cyg_Mempolt2): |
|
|
1098 Flesh out the destructors to awaken any waiting threads |
|
|
1099 with reason Cyg_Thread::DESTRUCT to support uITRON |
|
|
1100 create and delete of memory pool objects. |
|
|
1101 Note that only template mempolt2 is actually used. |
|
|
1102 |
|
|
1103 Wed Oct 14 21:45:54 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
1104 |
|
|
1105 * tests/thread_gdb.c: |
|
|
1106 Remove unnecessary inclusion of <cyg/kernel/diag.h> |
|
|
1107 |
|
|
1108 * tests/kcache1.c: |
|
|
1109 Add a warning to expect the "function declaration isn't a |
|
|
1110 prototype" warning from infra/diag.h |
|
|
1111 |
|
|
1112 1998-10-14 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
1113 |
|
|
1114 * src/common/thread.cxx (kill,reinitialize): |
|
|
1115 Do not refer to member timer unless CYGFUN_KERNEL_THREADS_TIMER is |
|
|
1116 defined. |
|
|
1117 |
|
|
1118 1998-10-14 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1119 |
|
|
1120 * src/debug/dbg-thread-demux.c: |
|
|
1121 Now get dbg-threads-api.h from HAL. |
|
|
1122 |
|
|
1123 * src/debug/dbg_gdb.cxx: |
|
|
1124 Tidied up info sent back by dbg_threadinfo(). |
|
|
1125 |
|
|
1126 * src/common/thread.cxx: |
|
|
1127 Changed constructor of idle thread to include initial priority and |
|
|
1128 a thread name. |
|
|
1129 |
|
|
1130 * include/pkgconf/kernel.h: |
|
|
1131 Moved GDB stub configuration code out to hal.h. |
|
|
1132 |
|
|
1133 * include/ktypes.h: |
|
|
1134 Moved definition of CYG_LABEL_NAME() out to cyg_type.h. |
|
|
1135 |
|
|
1136 * src/debug/PKGconf.mak: |
|
|
1137 * src/debug/dbg-threads-api.h: |
|
|
1138 * src/debug/generic-stub.c: |
|
|
1139 * src/debug/stubrom.c: |
|
|
1140 * src/debug/thread-packets.c: |
|
|
1141 * src/debug/thread-pkts.h: |
|
|
1142 These files have all be relocated to hal/common. |
|
|
1143 |
|
|
1144 1998-10-14 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
1145 |
|
|
1146 * include/thread.hxx (class Cyg_Thread): |
|
|
1147 Add public members get_stack_base(), get_stack_size() and |
|
|
1148 get_stack_limit(); |
|
|
1149 Add private members add_to_list() and remove_from_list() to |
|
|
1150 centralize handling of the CYGVAR_KERNEL_THREADS_LIST as it is |
|
|
1151 known. |
|
|
1152 |
|
|
1153 * include/thread.inl (class Cyg_Thread): |
|
|
1154 Add public members get_stack_base(), get_stack_size() and |
|
|
1155 get_stack_limit(); |
|
|
1156 |
|
|
1157 * src/common/thread.cxx: |
|
|
1158 Add private members add_to_list() and remove_from_list() to |
|
|
1159 centralize handling of the CYGVAR_KERNEL_THREADS_LIST as it is |
|
|
1160 known. |
|
|
1161 Tidy up the two constructors to use them. |
|
|
1162 Add CYG_REPORT_RETURN()/_RETVAL(...) logging throughout. |
|
|
1163 Tidy up reinitialize() to use the 6-argument constructor, |
|
|
1164 thus preserving the thread name. |
|
|
1165 Fix some bugs in the CYGVAR_KERNEL_THREADS_LIST stuff where |
|
|
1166 re-adding a thread caused loops in the list, and the like. |
|
|
1167 Fix bug in set_priority() when the thread is asleep but NOT on any |
|
|
1168 queue, such as a plain counted_sleep(). |
|
|
1169 |
|
|
1170 1998-10-14 Jesper Skov <jskov@cygnus.co.uk> |
|
|
1171 |
|
|
1172 * src/debug/thread-packets.c: |
|
|
1173 * src/debug/dbg_gdb.cxx: |
|
|
1174 Don't include hal_stub.h unless it's really, really, really |
|
|
1175 needed. |
|
|
1176 |
|
|
1177 1998-10-14 Jesper Skov <jskov@cygnus.co.uk> |
|
|
1178 |
|
|
1179 * src/debug/dbg_gdb.cxx: Don't include hal_stub.h unless it's really |
|
|
1180 needed. |
|
|
1181 |
|
|
1182 1998-10-13 Jesper Skov <jskov@cygnus.co.uk> |
|
|
1183 |
|
|
1184 * src/debug/generic-stub.c: Added thread support. Renaming a few |
|
|
1185 functions/variables to match the most recent libstub |
|
|
1186 generic-stub.c. |
|
|
1187 Use thread_get_register & thread_put_register when handling GDB |
|
|
1188 register packets. |
|
|
1189 |
|
|
1190 * src/debug/dbg_gdb.cxx (dbg_getthreadreg, dbg_getthreadreg): |
|
|
1191 DTRT for current thread when CygMon is not configured. |
|
|
1192 |
|
|
1193 * src/debug/dbg_gdb.cxx (dbg_threadlist, dbg_getthreadreg, |
|
|
1194 dbg_getthreadreg): return true/false rather than 0, 1, -1. |
|
|
1195 |
|
|
1196 * src/debug/dbg_gdb.cxx: |
|
|
1197 * src/debug/dbg-threads-api.h: |
|
|
1198 Added dbg_currthread_id. |
|
|
1199 |
|
|
1200 1998-10-08 Jesper Skov <jskov@lassi.cygnus.co.uk> |
|
|
1201 |
|
|
1202 * src/debug/generic-stub.c: |
|
|
1203 * src/debug/generic-stub.h: |
|
|
1204 Added control of interrupts. |
|
|
1205 Removed unused functions set_debug_trap and initialize_stub. |
|
|
1206 |
|
|
1207 Tue Oct 13 17:36:29 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
1208 |
|
|
1209 * src/test/tsttracc.c (cyg_start): |
|
|
1210 Replace CYG_REPORT_FUNCARGSVOID with the correct |
|
|
1211 CYG_REPORT_FUNCARGVOID |
|
|
1212 |
|
|
1213 1998-10-09 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
1214 |
|
|
1215 * src/common/thread.cxx: |
|
|
1216 clear_timer() is a static which always affects the executing |
|
|
1217 thread and none other. Removed the "foo->" from various |
|
|
1218 "foo->clear_timer()" calls to make this less confusing. |
|
|
1219 Ditto set_timer(). |
|
|
1220 Changed a "clear_timer()" call to "timer.disable()" and added one |
|
|
1221 so that they affect _this_ thread, the thread which is being |
|
|
1222 kill()ed or reinitialize()d rather than the killer or the |
|
|
1223 resuscitator. Otherwise the alarm list can still get a loop in |
|
|
1224 it when a thread's killed when waiting with a timeout and |
|
|
1225 restarted soon enough. |
|
|
1226 |
|
|
1227 1998-10-08 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
1228 |
|
|
1229 In general, these changes are to support create/delete of uITRON |
|
|
1230 objects; this requires that an object can be destroyed whilst |
|
|
1231 there are threads waiting on it, and that they shall be awoken |
|
|
1232 with a specific return code. |
|
|
1233 |
|
|
1234 * include/thread.hxx: |
|
|
1235 Cyg_Thread::DESTRUCT added to wake reasons, to deal with an object |
|
|
1236 being destroyed whilst a thread is waiting on it; it's handled in |
|
|
1237 a manner very similar to release() and BREAK wake_reason. |
|
|
1238 |
|
|
1239 * src/common/thread.cxx: |
|
|
1240 thread_entry(): threads now exit() if the entry_point returns. |
|
|
1241 Cyg_Thread() constructors now initialize wake_reason to NONE. |
|
|
1242 reinitialize() clears any pending timeout before calling |
|
|
1243 constructors. |
|
|
1244 counted_sleep( [timeout] ) now both deal with the wake reason in |
|
|
1245 general, and with DESTRUCT in particular. |
|
|
1246 exit() now clears any pending timeout. |
|
|
1247 kill() now force_resumes the thread first. |
|
|
1248 kill() now does not explicitly remove the thread from any queue |
|
|
1249 it's on; wake() does that for you anyway. |
|
|
1250 delay() clears the timer just in case and handles DESTRUCT |
|
|
1251 properly. |
|
|
1252 DESTRUCT added to various switches for completeness. |
|
|
1253 |
|
|
1254 The fixes to counted_sleep()[x2] and kill() are a bugfix for |
|
|
1255 PR#17688. |
|
|
1256 |
|
|
1257 * include/flag.hxx: |
|
|
1258 * src/sync/flag.cxx: |
|
|
1259 Add an argument, defaulting to 0, to the constructor which sets |
|
|
1260 the initial flag value. |
|
|
1261 Add handing of DESTRUCT wake reason. |
|
|
1262 Add a destructor which wakes all threads with DESTRUCT |
|
|
1263 wake_reason. |
|
|
1264 |
|
|
1265 * include/mboxt2.inl: |
|
|
1266 Add handing of DESTRUCT wake reason. |
|
|
1267 Add a destructor which wakes all threads with DESTRUCT |
|
|
1268 wake_reason. |
|
|
1269 |
|
|
1270 * src/sync/cnt_sem2.cxx: |
|
|
1271 Add handing of DESTRUCT wake reason. |
|
|
1272 Add a destructor which wakes all threads with DESTRUCT |
|
|
1273 wake_reason. |
|
|
1274 Correct typo in logic for queueing a waiting thread in |
|
|
1275 Cyg_Counting_Semaphore2::wait( cyg_tick_count abs_timeout ). |
|
|
1276 This is a bugfix for PR#17687. |
|
|
1277 |
|
|
1278 * include/mboxt.inl: |
|
|
1279 * include/mempoolt.inl: |
|
|
1280 * include/mempolt2.inl: |
|
|
1281 * src/sync/bin_sem.cxx: |
|
|
1282 * src/sync/cnt_sem.cxx: |
|
|
1283 * src/sync/mutex.cxx: |
|
|
1284 All these gain handling of the DESTRUCT wake_reason, that's all. |
|
|
1285 |
|
|
1286 1998-10-08 Gary Thomas <gthomas@penang.cygnus.co.uk> |
|
|
1287 |
|
|
1288 * include/pkgconf/kernel.h: |
|
|
1289 Add support for new architecture |
|
|
1290 |
|
|
1291 1998-10-07 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1292 |
|
|
1293 * tests/kcache1.c (entry0): |
|
|
1294 Replaced CYG_TEST_FINISH() with CYG_TEST_PASS_FINISH(). |
|
|
1295 |
|
|
1296 * src/debug/dbg-thread-demux.c: |
|
|
1297 Added dbg_thread_syscall_rmt_1() to save/set and restore the $gp |
|
|
1298 register values when being called from Cygmon. |
|
|
1299 |
|
|
1300 Sun Sep 27 20:12:15 1998 David Moore <dsm@keema.cygnus.co.uk> |
|
|
1301 |
|
|
1302 * include/mlqueue.hxx: |
|
|
1303 * include/bitmap.hxx: |
|
|
1304 Disallow more than 32 priority levels |
|
|
1305 |
|
|
1306 * include/pkgconf/kernel.h: |
|
|
1307 Changed range of allowed levels from 64 to 32 |
|
|
1308 |
|
|
1309 1998-09-27 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1310 |
|
|
1311 * tests/memfix2.cxx: |
|
|
1312 Changed message to say "Fixed memory pool 2 OK" rather than |
|
|
1313 "Variable memory pool 2 OK". |
|
|
1314 |
|
|
1315 1998-09-26 Bart Veer <bartv@cygnus.co.uk> |
|
|
1316 |
|
|
1317 * include/intr.hxx (DSRs_pending): |
|
|
1318 PR 17500: if DSR support is disabled completely then this inline |
|
|
1319 function should not be defined at all. |
|
|
1320 |
|
|
1321 1998-09-26 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1322 |
|
|
1323 * tests/kcache1.c: |
|
|
1324 Added this test program for cache API. Includes some performance |
|
|
1325 testing. |
|
|
1326 |
|
|
1327 1998-09-25 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1328 |
|
|
1329 * src/debug/dbg_gdb.cxx: |
|
|
1330 Removed some debugging code. |
|
|
1331 |
|
|
1332 * tests/thread_gdb.c: |
|
|
1333 Added this test program to allow for GDB thread support testing. |
|
|
1334 |
|
|
1335 1998-09-25 Bart Veer <bartv@cygnus.co.uk> |
|
|
1336 |
|
|
1337 * include/pkgconf/kernel.h: |
|
|
1338 The GDB thread support requires the kernel to keep track of all |
|
|
1339 threads on a linked list. This is a separate option. An additional |
|
|
1340 requires statement enforces the dependency. |
|
|
1341 |
|
|
1342 1998-09-25 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1343 |
|
|
1344 * src/debug/dbg-thread-demux.c: |
|
|
1345 Added include of <pkgconf/kernel.h>, removed debug code. |
|
|
1346 |
|
|
1347 1998-09-24 Bart Veer <bartv@cygnus.co.uk> |
|
|
1348 |
|
|
1349 * src/debug/dbg-thread-demux.c (dbg_thread_syscall_rmt): |
|
|
1350 PR 17327. If kernel gdb thread support is disabled, do not compile |
|
|
1351 in the relevant cases in the rmt switch statement. This is a |
|
|
1352 partial solution to the general problem of how the HAL, kernel, |
|
|
1353 cygmon, and gdb interact. |
|
|
1354 |
|
|
1355 1998-09-24 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1356 |
|
|
1357 * src/common/clock.cxx (Cyg_RealTimeClock): |
|
|
1358 Changed clock priority from zero to one, since it is now used to |
|
|
1359 set the hardware interrupt priority. |
|
|
1360 |
|
|
1361 * src/intr/intr.cxx: |
|
|
1362 Cyg_Interrupt::chain_isr() now only calls interrupt objects that |
|
|
1363 have the matching vector number. |
|
|
1364 Call HAL_INTERRUPT_SET_LEVEL() when attaching interrupts using the |
|
|
1365 priority passed in the constructor. |
|
|
1366 Added call to HAL_TRANSLATE_VECTOR() for attaching chained |
|
|
1367 interrupts. |
|
|
1368 |
|
|
1369 * include/instrmnt.h (CYG_INSTRUMENT_EVENT_INTR_CHAIN_ISR): |
|
|
1370 Added this event. |
|
|
1371 |
|
|
1372 Thu Sep 24 11:07:12 1998 David Moore <dsm@keema.cygnus.co.uk> |
|
|
1373 |
|
|
1374 * tests/except1.cxx: |
|
|
1375 * tests/kexcept1.cxx: |
|
|
1376 Made exception tests detect when CYGPKG_KERNEL_EXCEPTIONS |
|
|
1377 is disabled. |
|
|
1378 |
|
|
1379 |
|
|
1380 1998-09-22 Bart Veer <bartv@cygnus.co.uk> |
|
|
1381 |
|
|
1382 * include/pkgconf/kernel.h: |
|
|
1383 Changed the kernel package from type bool to type dummy, since |
|
|
1384 it is not yet possible to disable this package. |
|
|
1385 |
|
|
1386 1998-09-20 Mark Galassi <rosalia@cygnus.com> |
|
|
1387 |
|
|
1388 * include/pkgconf/kernel.h: updated CDL doc strings. |
|
|
1389 fixed some typos in my doc strings. |
|
|
1390 |
|
|
1391 1998-09-18 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1392 |
|
|
1393 * src/common/thread.cxx: |
|
|
1394 * include/thread.inl: |
|
|
1395 Modified threads list from a LIFO stack to a ring so that we can |
|
|
1396 add new ones to the end and present the threads to GDB in an order |
|
|
1397 that more closely matches how it assigns thread ids. |
|
|
1398 |
|
|
1399 Wed Sep 16 19:11:22 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
1400 |
|
|
1401 * include/thread.inl (get_unique_id): |
|
|
1402 Move this declaration to before its first use, so that the user |
|
|
1403 knows it is inline at the point of use. Avoids a warning. |
|
|
1404 |
|
|
1405 Wed Sep 16 08:49:48 1998 Jesper Skov <jskov@cygnus.co.uk> |
|
|
1406 PR 17269 |
|
|
1407 |
|
|
1408 * src/common/except.cxx (Cyg_Exception_Control): Replaced |
|
|
1409 CYGNUM_EXCEPTION_MAX (bug!) with CYG_EXCEPTION_COUNT. |
|
|
1410 |
|
|
1411 * include/kapidata.h (struct cyg_exception_conrol): Replaced |
|
|
1412 CYG_EXCEPTION_MAX (bug!) with CYG_EXCEPTION_COUNT. |
|
|
1413 |
|
|
1414 * src/intr/intr.cxx: |
|
|
1415 * include/intr.hxx (class Cyg_Interrupt): Replaced CYG_ISR_MAX+1 |
|
|
1416 with CYG_ISR_COUNT. |
|
|
1417 |
|
|
1418 * include/except.hxx: Replaced CYGNUM_EXCEPTION_COUNT with |
|
|
1419 CYG_EXCEPTION_COUNT. |
|
|
1420 |
|
|
1421 * tests/kintr0.c: |
|
|
1422 * tests/intr0.cxx: Replaced CYG_ISR_MAX (bug!) with |
|
|
1423 CYG_ISR_COUNT. |
|
|
1424 |
|
|
1425 Tue Sep 15 19:19:37 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
1426 |
|
|
1427 * include/mboxt2.hxx: |
|
|
1428 Add inclusion of thread.inl to silence warning |
|
|
1429 |
|
|
1430 * tests/kexcept1.c: |
|
|
1431 Insert void as parameter list of __default_exception_vsr() to |
|
|
1432 silence warning |
|
|
1433 |
|
|
1434 Tue Sep 15 19:16:52 1998 David Moore <dsm@keema.cygnus.co.uk> |
|
|
1435 |
|
|
1436 * src/sched/sched.cxx: Cleaned up comments. |
|
|
1437 |
|
|
1438 1998-09-15 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1439 |
|
|
1440 * src/debug/dbg-thread-demux.c: |
|
|
1441 Stubbed out led() function. |
|
|
1442 |
|
|
1443 * src/debug/dbg_gdb.cxx: |
|
|
1444 Decide whether to byteswap thread id depending on reported byte |
|
|
1445 order of target. |
|
|
1446 Many small changes to debug code. |
|
|
1447 |
|
|
1448 * include/thread.inl (init_context): |
|
|
1449 Changed CYG_DEBUG to CYGPKG_INFRA_DEBUG. |
|
|
1450 |
|
|
1451 Tue Sep 15 09:35:14 1998 Jesper Skov <jskov@cygnus.co.uk> |
|
|
1452 PR 17236 |
|
|
1453 |
|
|
1454 * src/common/clock.cxx (add_alarm): A retriggering alarm called |
|
|
1455 with a trigger time in the past or now will be assigned a new |
|
|
1456 trigger time. Don't find the counter list until the final trigger |
|
|
1457 time is known. |
|
|
1458 Also added a few #else error statements to catch a situation where |
|
|
1459 no CYGIMP_KERNEL_COUNTERS_x_LIST implementation config is |
|
|
1460 selected. |
|
|
1461 |
|
|
1462 * tests/clock0.cxx: Added extra ASSERT to ensure alarms enabled |
|
|
1463 with a trigger time of now or in the past actually fire. |
|
|
1464 * tests/kclock0.c: Same. |
|
|
1465 |
|
|
1466 1998-09-15 Bart Veer <bartv@cygnus.co.uk> |
|
|
1467 |
|
|
1468 * include/pkgconf/kernel.h: |
|
|
1469 Cleaning up coonfiguration data (mostly improving the |
|
|
1470 descriptions). |
|
|
1471 |
|
|
1472 Mon Sep 14 11:08:59 1998 Jesper Skov <jskov@lassi.cygnus.co.uk> |
|
|
1473 PR 17230 |
|
|
1474 |
|
|
1475 * include/pkgconf/kernel.h: CYGIMP_KERNEL_INTERRUPTS_CHAIN |
|
|
1476 requires CYGIMP_HAL_COMMON_INTERRUPTS_CHAIN. |
|
|
1477 |
|
|
1478 1998-09-14 Mark Galassi <rosalia@cygnus.com> |
|
|
1479 |
|
|
1480 * include/pkgconf/kernel.h: started adding CDL doc fields. |
|
|
1481 |
|
|
1482 1998-09-12 Bart Veer <bartv@cygnus.co.uk> |
|
|
1483 |
|
|
1484 * include/pkgconf/kernel.h: |
|
|
1485 Sort out exception handling options (PR 16953) |
|
|
1486 Added missing descriptions (PR 17184) |
|
|
1487 |
|
|
1488 Fri Sep 11 19:18:28 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> |
|
|
1489 |
|
|
1490 * include/clock.hxx (class Cyg_Alarm): |
|
|
1491 * src/common/clock.cxx (Cyg_Alarm::add_alarm): |
|
|
1492 PR#17182 |
|
|
1493 Move the code to synchronize a repeating alarm which had been |
|
|
1494 firing in the dim and distant past with times in the future, which |
|
|
1495 had been inline in Cyg_Alarm::enable(), into a function of its |
|
|
1496 own, Cyg_Alarm::synchronize(). Call it from Cyg_Alarm::enable() |
|
|
1497 and also from add_alarm() when the immediate time to fire is now |
|
|
1498 or in the past; otherwise an initial time of, say, NOW-10 with an |
|
|
1499 interval of 5 would just get lost. Also corrected/commented the |
|
|
1500 logic there to allow an alarm's handler to cancel itself. |
|
|
1501 |
|
|
1502 Wed Sep 9 17:43:26 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
1503 |
|
|
1504 * src/common/delete.cxx: |
|
|
1505 Control the provision of empty delete functions rather better, via |
|
|
1506 an explicit option from the libc package. Read the rather lengthy |
|
|
1507 comment in delete.cxx for the explanation. |
|
|
1508 Also note that the correct place for this functionality is in the |
|
|
1509 infrastructure, and the same should be done for the C++ new |
|
|
1510 functions also. |
|
|
1511 |
|
|
1512 1998-09-09 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1513 |
|
|
1514 * src/common/thread.cxx: |
|
|
1515 combined separate next_unique_id variables in both constructors. |
|
|
1516 This would have caused duplicate thread ids to be generated. |
|
|
1517 |
|
|
1518 * include/thread.inl: |
|
|
1519 Added code to initialize Cyg_HardwareThread::saved_context. |
|
|
1520 |
|
|
1521 * src/debug/dbg-thread-demux.c: |
|
|
1522 * src/debug/dbg_gdb.cxx: |
|
|
1523 Many changes to get thread API working with Cygmon. Debug code |
|
|
1524 currently left in place until complete testing is possible. |
|
|
1525 |
|
|
1526 Tue Sep 8 17:17:32 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
1527 |
|
|
1528 * include/pkgconf/kernel.h (CYGNUM_KERNEL_COUNTERS_RTC_PERIOD): |
|
|
1529 Set up a sensible default RTC for CYG_HAL_MN10300_SIM different |
|
|
1530 from that for the MN103002 or CYG_HAL_MN10300_STDEVAL1, so that |
|
|
1531 sim tests run in less than geological time. This is the same as |
|
|
1532 the default value of before. |
|
|
1533 |
|
|
1534 Fri Sep 4 18:25:02 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
1535 |
|
|
1536 * src/sched/mlqueue.cxx (timeslice): |
|
|
1537 * src/sched/sched.cxx (unlock_inner): |
|
|
1538 Condition out the tracing macros here by default, for tracing |
|
|
1539 these consumes the whole quantum. |
|
|
1540 |
|
|
1541 1998-09-04 Bart Veer <bartv@cygnus.co.uk> |
|
|
1542 |
|
|
1543 * include/pkgconf/kernel.h: |
|
|
1544 Commented out the ROM monitor-specific option settings for now. |
|
|
1545 |
|
|
1546 * tests/kclock1.c: |
|
|
1547 * include/pkgconf/kernel.h: |
|
|
1548 * include/kapidata.h (struct cyg_counter): |
|
|
1549 Fixed typos in configuration option names. |
|
|
1550 |
|
|
1551 1998-09-03 David Moore <dsm@cygnus.co.uk> |
|
|
1552 |
|
|
1553 * include/pkgconf/kernel.h |
|
|
1554 (CYGNUM_KERNEL_INTERRUPTS_DSRS_TABLE_SIZE): |
|
|
1555 Fixed typo in configuration option name. |
|
|
1556 |
|
|
1557 * src/intr/intr.cxx: |
|
|
1558 Fixed typo in configuration option name. |
|
|
1559 Fixed cast to incorrect type. |
|
|
1560 |
|
|
1561 1998-09-03 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1562 |
|
|
1563 * src/PKGconf.mak (COMPILE): |
|
|
1564 Added debug/dbg-thread-demux.c to COMPILE list. |
|
|
1565 |
|
|
1566 * src/debug/dbg_gdb.cxx (dbg_threadinfo): |
|
|
1567 Added first cut at providing thread state string. |
|
|
1568 |
|
|
1569 * src/debug/dbg-thread-syscall.h: |
|
|
1570 * src/debug/dbg-thread-demux.c: |
|
|
1571 Added these two files to implement the interface between Cygmon |
|
|
1572 and eCos. |
|
|
1573 |
|
|
1574 1998-09-03 Bart Veer <bartv@cygnus.co.uk> |
|
|
1575 |
|
|
1576 * include/pkgconf/kernel.h (CYGSEM_KERNEL_MEMORY_COALESCE): |
|
|
1577 * include/mvarimpl.inl (Cyg_Mempool_Variable_Implementation): |
|
|
1578 Fixed typo in configuration option name. |
|
|
1579 |
|
|
1580 * include/pkgconf/kernel.h: |
|
|
1581 Fixed type in configuration option name. |
|
|
1582 |
|
|
1583 Wed Sep 2 19:01:02 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
1584 |
|
|
1585 * include/mboxt.hxx: |
|
|
1586 * include/mboxt.inl: |
|
|
1587 * include/mboxt2.hxx: |
|
|
1588 * include/mboxt2.inl: |
|
|
1589 * include/mempolt2.hxx: |
|
|
1590 * include/mempolt2.inl: |
|
|
1591 * include/mempoolt.hxx: |
|
|
1592 * include/mempoolt.inl: |
|
|
1593 * include/sema2.hxx: |
|
|
1594 * src/sync/cnt_sem2.cxx: |
|
|
1595 * include/flag.hxx: |
|
|
1596 * src/sync/flag.cxx: |
|
|
1597 * include/kapi.h: |
|
|
1598 * src/common/kapi.cxx: |
|
|
1599 * tests/kmbox1.c: |
|
|
1600 * tests/kmemfix1.c: |
|
|
1601 * tests/kmemvar1.c: |
|
|
1602 * tests/mbox1.cxx: |
|
|
1603 * tests/memfix1.cxx: |
|
|
1604 * tests/memvar1.cxx: |
|
|
1605 Memory pool (both types) and message boxes (both types) and flags |
|
|
1606 and cnt_sem2-type semaphores now all have absolute timeouts |
|
|
1607 instead of relative ones in the timely wait functions. |
|
|
1608 uITRON has changed to add the current time itself. |
|
|
1609 Kapi changes are mainly name changes to make it clear that |
|
|
1610 timeouts are now absolute. |
|
|
1611 The tests (incl. kapi) add in the time themselves now. |
|
|
1612 |
|
|
1613 1998-09-01 Tim Goodwin <tgoodwin@cygnus.co.uk> |
|
|
1614 |
|
|
1615 * include/kapi.h: |
|
|
1616 * src/common/kapi.cxx: |
|
|
1617 * tests/kclock1.c: |
|
|
1618 * tests/kexcept1.c: |
|
|
1619 * tests/kmbox1.c: |
|
|
1620 * tests/kmemfix1.c: |
|
|
1621 * tests/kmemvar1.c: |
|
|
1622 * tests/kmutex1.c: |
|
|
1623 * tests/ksched1.c: |
|
|
1624 * tests/ksem1.c: |
|
|
1625 * tests/kthread0.c: |
|
|
1626 * tests/kthread1.c: |
|
|
1627 * src/test/kcache1.c: |
|
|
1628 * src/test/kphilo.c: |
|
|
1629 * tests/kphilo.c: |
|
|
1630 * tests/lottery.c: |
|
|
1631 Changes to cyg_thread_create() interface. |
|
|
1632 |
|
|
1633 Tue Sep 1 18:49:06 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> |
|
|
1634 |
|
|
1635 * include/pkgconf/kernel.h: |
|
|
1636 Moved and renamed CYG_DIAG_USE_DEVICE to infra and to |
|
|
1637 CYGDBG_INFRA_DIAG_USE_DEVICE; kernel.h now includes infra.h as |
|
|
1638 well as hal.h to ensure all its clients get the info too. |
|
|
1639 |
|
|
1640 * include/intr.hxx (class Cyg_Interrupt): |
|
|
1641 Add static member interrupts_enabled() to poll the current status; |
|
|
1642 just to avoid calling the HAL directly, really. |
|
|
1643 |
|
|
1644 * include/diag.h: |
|
|
1645 Now just includes cyg/infra/diag.h, so that kernel-specific |
|
|
1646 features can be added later - original diag.h has moved to infra, |
|
|
1647 and is that includee. |
|
|
1648 |
|
|
1649 * src/PKGconf.mak: |
|
|
1650 Trace folder and its contents elided, now in infra. |
|
|
1651 |
|
|
1652 * src/trace/diag.c: |
|
|
1653 * src/trace/fancy.cxx: |
|
|
1654 * src/trace/null.cxx: |
|
|
1655 * src/trace/simple.cxx: |
|
|
1656 * src/trace/tcdiag.cxx: |
|
|
1657 Deleted; all moved to infra, actually. |
|
|
1658 |
|
|
1659 1998-09-01 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1660 |
|
|
1661 * src/debug/dbg-threads-api.h: |
|
|
1662 * src/debug/dbg_gdb.cxx: |
|
|
1663 Converted threadref from long long to char[8] as defined by Cygmon |
|
|
1664 guys. |
|
|
1665 |
|
|
1666 * src/common/thread.cxx: |
|
|
1667 Added scheduler lock around manipulations of thread list. |
|
|
1668 |
|
|
1669 * include/except.hxx: |
|
|
1670 Now use CYG_EXCEPTION_COUNT to size handler arrays. |
|
|
1671 |
|
|
1672 Mon Aug 31 17:53:12 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
1673 |
|
|
1674 * include/memfixed.hxx, include/mempolt2.hxx, include/mempolt2.inl, |
|
|
1675 include/mempoolt.hxx, include/mempoolt.inl, include/memvar.hxx, |
|
|
1676 include/mvarimpl.hxx, include/mvarimpl.inl, src/mem/memfixed.cxx, |
|
|
1677 src/mem/memvar.cxx: |
|
|
1678 |
|
|
1679 Add new get_allocation_size() method to return the size of a |
|
|
1680 previously allocated block - trivial for fixed block allocator, and |
|
|
1681 requiring a bit of poking around for the variable block allocator. |
|
|
1682 |
|
|
1683 This is required for the C library realloc() implementation. Strictly |
|
|
1684 this only uses the variable block allocator, but the API can only be |
|
|
1685 enhanced by also updating the template. As a result, this also meant |
|
|
1686 doing it for the fixed block allocator. |
|
|
1687 |
|
|
1688 Mon Aug 31 09:51:37 1998 Jesper Skov <jskov@cygnus.co.uk> |
|
|
1689 |
|
|
1690 * src/debug/stubrom.c (cyg_start): Renamed from main(). |
|
|
1691 |
|
|
1692 Mon Aug 31 09:00:01 1998 Jesper Skov <jskov@cygnus.co.uk> |
|
|
1693 |
|
|
1694 * src/common/thread.cxx: Fixed typo. |
|
|
1695 |
|
|
1696 1998-08-28 Bart Veer <bartv@cygnus.co.uk> |
|
|
1697 |
|
|
1698 * include/pkgconf/kernel.h, include/bitmap.hxx, include/clock.hxx, |
|
|
1699 include/except.hxx, include/flag.hxx, include/instrmnt.h, |
|
|
1700 include/intr.hxx, include/kapi.h, include/kapidata.h, |
|
|
1701 include/mbox.hxx, include/mboxt.hxx, include/mboxt.inl, |
|
|
1702 include/mboxt2.hxx, include/mboxt2.inl, include/memfixed.hxx, |
|
|
1703 include/mempolt2.hxx, include/mempolt2.inl, |
|
|
1704 include/mempoolt.hxx, include/mempoolt.inl, include/memvar.hxx, |
|
|
1705 include/mlqueue.hxx, include/mutex.hxx, include/mvarimpl.inl, |
|
|
1706 include/sched.hxx, include/sema.hxx, include/sema2.hxx, |
|
|
1707 include/thread.hxx, include/thread.inl, |
|
|
1708 include/pkgconf/kernel.h: |
|
|
1709 src/common/clock.cxx, src/common/except.cxx, |
|
|
1710 src/common/kapi.cxx, src/common/thread.cxx, |
|
|
1711 src/debug/dbg_gdb.cxx, src/debug/generic-stub.c, |
|
|
1712 src/instrmnt/meminst.cxx, src/instrmnt/nullinst.cxx, |
|
|
1713 src/intr/intr.cxx, src/mem/memfixed.cxx, src/mem/memvar.cxx, |
|
|
1714 src/sched/bitmap.cxx, src/sched/lottery.cxx, |
|
|
1715 src/sched/mlqueue.cxx, src/sched/sched.cxx, |
|
|
1716 src/sync/cnt_sem.cxx, src/sync/cnt_sem2.cxx, src/sync/flag.cxx, |
|
|
1717 src/sync/mbox.cxx, src/sync/mutex.cxx, src/test/diag.cxx, |
|
|
1718 src/test/kcache1.c, src/test/main.cxx, src/test/timer.cxx, |
|
|
1719 src/test/tstmbox.cxx: |
|
|
1720 tests/clock0.cxx, tests/clock1.cxx, tests/except1.cxx, |
|
|
1721 tests/flag1.cxx, tests/intr0.cxx, tests/kclock0.c, |
|
|
1722 tests/kclock1.c, tests/kexcept1.c, tests/kintr0.c, |
|
|
1723 tests/kmbox1.c, tests/kmemfix1.c, tests/kmemvar1.c, |
|
|
1724 tests/kmutex0.c, tests/kmutex1.c, tests/ksched1.c, |
|
|
1725 tests/ksem0.c, tests/ksem1.c, tests/kthread0.c, |
|
|
1726 tests/kthread1.c, tests/lottery.c, tests/mbox1.cxx, |
|
|
1727 tests/memfix1.cxx, tests/memvar1.cxx, tests/sync3.cxx, |
|
|
1728 tests/thread2.cxx : |
|
|
1729 Provide configuration data and rename configuration options |
|
|
1730 |
|
|
1731 Fri Aug 28 15:27:31 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
1732 |
|
|
1733 * src/trace/fancy.cxx: |
|
|
1734 * src/trace/simple.cxx: |
|
|
1735 * src/trace/null.cxx: |
|
|
1736 Condition on newly named symbols from the infra package, whence |
|
|
1737 these units will be moved soon. |
|
|
1738 |
|
|
1739 Fri Aug 28 09:33:17 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
1740 |
|
|
1741 * src/test/demo.cxx, src/test/kcache1.c, src/test/kphilo.c, |
|
|
1742 src/test/main.cxx, src/test/philo.cxx, src/test/sload.c, |
|
|
1743 src/test/timer.cxx, src/test/tstflag.cxx, src/test/tstmbox.cxx, |
|
|
1744 src/test/tstmpf.cxx, src/test/tstmpool.cxx, src/test/tsttracc.c, |
|
|
1745 src/test/tsttrace.cxx, tests/bin_sem0.cxx, tests/bin_sem1.cxx, |
|
|
1746 tests/bin_sem2.cxx, tests/clock0.cxx, tests/clock1.cxx, |
|
|
1747 tests/cnt_sem0.cxx, tests/cnt_sem1.cxx, tests/except1.cxx, |
|
|
1748 tests/flag0.cxx, tests/flag1.cxx, tests/intr0.cxx, tests/kclock0.c, |
|
|
1749 tests/kclock1.c, tests/kexcept1.c, tests/kill.cxx, tests/kintr0.c, |
|
|
1750 tests/kmbox1.c, tests/kmemfix1.c, tests/kmemvar1.c, tests/kmutex0.c, |
|
|
1751 tests/kmutex1.c, tests/kphilo.c, tests/ksched1.c, tests/ksem0.c, |
|
|
1752 tests/ksem1.c, tests/kthread0.c, tests/kthread1.c, tests/lottery.c, |
|
|
1753 tests/mbox1.cxx, tests/memfix1.cxx, tests/memfix2.cxx, |
|
|
1754 tests/memvar1.cxx, tests/memvar2.cxx, tests/mutex0.cxx, |
|
|
1755 tests/mutex1.cxx, tests/philo.cxx, tests/release.cxx, |
|
|
1756 tests/sched1.cxx, tests/sync2.cxx, tests/sync3.cxx, |
|
|
1757 tests/thread0.cxx, tests/thread1.cxx, tests/thread2.cxx: |
|
|
1758 Change entry points from main() to cyg_start(), and remove return |
|
|
1759 codes - while main returned an int, cyg_start() returns void. It has |
|
|
1760 no meaning anyway - what could you do with the code? |
|
|
1761 |
|
|
1762 * src/test/tsttracc.c, src/test/tsttrace.cxx: |
|
|
1763 Also change trace calls (CYG_REPORT_...) to reflect that it is a |
|
|
1764 function called cyg_start with no args returning void, rather than |
|
|
1765 what it was for main(argc, argv) |
|
|
1766 |
|
|
1767 Fri Aug 28 09:24:41 1998 Jesper Skov <jskov@cygnus.co.uk> |
|
|
1768 |
|
|
1769 * src/debug/generic-stub.c: Moved strcpy/strlen from hal-stub to |
|
|
1770 generic-stub. Cleaned up a bit to avoid compiler warnings. |
|
|
1771 |
|
|
1772 Thu Aug 27 19:22:51 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
1773 |
|
|
1774 * tests/kphilo.c (Philosopher): |
|
|
1775 * tests/philo.cxx (Philosopher): |
|
|
1776 * src/test/philo.cxx (Philosopher): |
|
|
1777 * src/test/kphilo.c (Philosopher): |
|
|
1778 * src/common/kapi.cxx: |
|
|
1779 Change CYG_RELEASE_DEBUG to CYGPKG_INFRA_DEBUG. |
|
|
1780 These changes are self-contained, so they can go in right now. |
|
|
1781 |
|
|
1782 Thu Aug 27 15:20:31 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
1783 |
|
|
1784 * include/mvarimpl.inl (free): |
|
|
1785 Remove a couple of warning due to pointer comparison without casts |
|
|
1786 in coallesce(sic.) code. |
|
|
1787 |
|
|
1788 1998-08-26 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1789 |
|
|
1790 * include/kapidata.h: |
|
|
1791 Added saved_context to cyg_hardwarethread structure to track |
|
|
1792 GDB support in rest of kernel. |
|
|
1793 |
|
|
1794 1998-08-25 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1795 |
|
|
1796 * include/pkgconf/kernel.h: |
|
|
1797 Added CYGIMP_KERNEL_THREAD_GDB_SUPPORT to configure for GDB |
|
|
1798 interactions with the kernel. |
|
|
1799 |
|
|
1800 * src/debug/dbg-threads-api.h: |
|
|
1801 * src/debug/dbg_gdb.cxx: |
|
|
1802 Added these files to repository to support GDB interactions |
|
|
1803 with the kernel. Note that dbg-threads-api.h is a copy of a |
|
|
1804 file in devo/libstub. Any changes there must be merged in here |
|
|
1805 too. |
|
|
1806 |
|
|
1807 * src/PKGconf.mak: |
|
|
1808 Added debug/dbg_gdb.cxx to COMPILE list. |
|
|
1809 |
|
|
1810 * include/thread.inl: |
|
|
1811 * include/thread.hxx: |
|
|
1812 Added support for GDB, specifically for thread-aware debugging. |
|
|
1813 |
|
|
1814 * include/intr.hxx: |
|
|
1815 * src/intr/intr.cxx: |
|
|
1816 Added an extra argument to interrupt_end(): a pointer to |
|
|
1817 the saved register state. This is optionally used to provide |
|
|
1818 a more interesting saved register state for GDB. |
|
|
1819 |
|
|
1820 Tue Aug 25 02:36:26 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
1821 |
|
|
1822 * include/generic-stub.h: |
|
|
1823 Add void to empty prototype argument lists to silence compiler |
|
|
1824 warnings |
|
|
1825 |
|
|
1826 Fri Aug 21 18:46:34 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
1827 |
|
|
1828 * src/common/clock.cxx (enable): |
|
|
1829 Make the maths work right if we only just set up the clock |
|
|
1830 thingy. Unsigned has a lot to answer for; when the next scheduled |
|
|
1831 tick was all correct, the delta was -1, which correctly rounds to |
|
|
1832 zero in the division. But it isn't -1 it's 18446744073709551615 |
|
|
1833 which gave a shift of 15 in the the uITRON test programs. |
|
|
1834 |
|
|
1835 Fri Aug 21 11:40:50 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
1836 |
|
|
1837 * include/mboxt2.inl (put): |
|
|
1838 * include/mempolt2.inl (alloc): |
|
|
1839 Tidy Nick's changes (1998-07-27) for set_timer() semantics a bit, |
|
|
1840 make it a bit more efficient and smaller code. |
|
|
1841 |
|
|
1842 Thu Aug 20 17:37:35 BST 1998 Chris Provenzano <proven@cygnus.com> |
|
|
1843 |
|
|
1844 * include/mvarimpl.inl, include/pkgconf/kernel.h: |
|
|
1845 Added memory coallecsing to the variable size memory allocator. |
|
|
1846 This option is enabled my default. |
|
|
1847 |
|
|
1848 * tests/stdlib/malloc2.c: Only print 50 messages, not 500. |
|
|
1849 |
|
|
1850 1998-08-20 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1851 |
|
|
1852 * include/pkgconf/kernel.h: |
|
|
1853 Moved definition of CYG_KERNEL_USE_INIT_PRIORITY from here |
|
|
1854 to hal.h. |
|
|
1855 |
|
|
1856 * include/thread.hxx: |
|
|
1857 Changed argument to cyg_thread_entry() to CYG_ADDRWORD from |
|
|
1858 CYG_ADDRESS. |
|
|
1859 |
|
|
1860 * include/ktypes.h: |
|
|
1861 Moved constructor priority ordering stuff out to infra/cyg_type.h. |
|
|
1862 |
|
|
1863 * include/kapi.h: |
|
|
1864 * src/common/kapi.cxx: |
|
|
1865 Added name and priority parameters to cyg_thread_create() and |
|
|
1866 swapped stack size and base parameters. These changes are |
|
|
1867 currently protected by DAY_OF_CHAOS ifdefs and are therefore |
|
|
1868 inactive. |
|
|
1869 |
|
|
1870 Wed Aug 19 19:06:16 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
1871 |
|
|
1872 * tests/bin_sem1.cxx, tests/bin_sem2.cxx, tests/cnt_sem1.cxx, |
|
|
1873 tests/flag1.cxx, tests/mbox1.cxx, tests/memfix2.cxx, |
|
|
1874 tests/memvar2.cxx, tests/sync2.cxx, tests/sync3.cxx, |
|
|
1875 tests/thread2.cxx, tests/release.cxx, tests/kill.cxx: |
|
|
1876 Reorder inclusion of thread.inl to silence warnings |
|
|
1877 |
|
|
1878 Wed Aug 19 18:48:03 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
1879 |
|
|
1880 * include/kernel.hxx: |
|
|
1881 Reorder inclusion of thread.inl to silence warnings |
|
|
1882 |
|
|
1883 Wed Aug 19 18:21:31 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
1884 |
|
|
1885 * src/common/kapi.cxx, src/sync/flag.cxx: |
|
|
1886 Reorder inclusion of thread.inl to silence warnings |
|
|
1887 |
|
|
1888 * src/sync/bin_sem.cxx, src/sync/cnt_sem.cxx, src/sync/cnt_sem2.cxx, |
|
|
1889 src/sync/mbox.cxx: |
|
|
1890 Add inclusion of thread.inl to silence warnings |
|
|
1891 |
|
|
1892 * src/common/memset.c: |
|
|
1893 Make pointer arithmetic be on char *, not void * to silence warnings |
|
|
1894 |
|
|
1895 * include/diag.h, src/trace/diag.c: |
|
|
1896 Make diag_init take void parameter, and give diag_printf explicit |
|
|
1897 parameters in prototypes to silence warnings |
|
|
1898 |
|
|
1899 1998-08-19 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1900 |
|
|
1901 * include/pkgconf/kernel.h: |
|
|
1902 * src/common/thread.cxx: |
|
|
1903 Added ifdef for CYGIMP_IDLE_THREAD_YIELD to support single |
|
|
1904 priority configurations. |
|
|
1905 |
|
|
1906 Tue Aug 18 16:56:38 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
1907 |
|
|
1908 * include/thread.hxx, include/thread.inl: |
|
|
1909 To silence compiler warnings, move register_exception inline definition |
|
|
1910 from the .hxx to the .inl. Also move attach_stack to before the |
|
|
1911 constructor where it is invoked from. |
|
|
1912 |
|
|
1913 1998-08-18 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1914 |
|
|
1915 * include/pkgconf/kernel.h: |
|
|
1916 Moved all HAL specific config options out to a HAL config file. |
|
|
1917 |
|
|
1918 * include/kapi.h: |
|
|
1919 * src/common/kapi.cxx: |
|
|
1920 Added cyg_scheduler_lock() and cyg_scheduler_unlock() to provide |
|
|
1921 user access to the scheduler lock. |
|
|
1922 |
|
|
1923 Mon Aug 17 21:39:20 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
1924 |
|
|
1925 * include/kapi.h: |
|
|
1926 Insert "void" to empty parameter lists to silence warnings |
|
|
1927 |
|
|
1928 Fri Aug 14 18:10:20 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> |
|
|
1929 |
|
|
1930 * src/common/thread.cxx (exit): |
|
|
1931 Set the state explicitly to EXITED rather than or'ing |
|
|
1932 it in; should be safe cos it's what kill does in the normal case. |
|
|
1933 Needed to avoid suspend sort of states persisting after death. |
|
|
1934 One character changes are always aesthetically pleasing. |
|
|
1935 |
|
|
1936 Fri Aug 14 17:28:01 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
1937 |
|
|
1938 * include/pkgconf/kernel.h: |
|
|
1939 Add config options as below: |
|
|
1940 |
|
|
1941 * src/common/thread.cxx: |
|
|
1942 Add asserts of CYGNUM_KERNEL_MAX_COUNTED_WAKE_COUNT_ASSERT |
|
|
1943 and CYGNUM_KERNEL_MAX_SUSPEND_COUNT_ASSERT if they are defined. |
|
|
1944 Also lazily tidied format of func hdrs as per code review et al. |
|
|
1945 |
|
|
1946 1998-08-14 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1947 |
|
|
1948 * include/kapidata.h: |
|
|
1949 Added support for thread names and thread housekeeping list. |
|
|
1950 |
|
|
1951 * src/common/delete.cxx: |
|
|
1952 Added include for cyg_type.h. |
|
|
1953 |
|
|
1954 * include/pkgconf/kernel.h: |
|
|
1955 Added CYGIMP_THREAD_NAME and CYGIMP_THREAD_LIST options. |
|
|
1956 |
|
|
1957 * include/thread.inl: |
|
|
1958 * include/thread.hxx: |
|
|
1959 Added support for thread names and thread housekeeping list. |
|
|
1960 |
|
|
1961 * src/common/thread.cxx: |
|
|
1962 Added support for thread names and thread housekeeping list. |
|
|
1963 Fixed ordering bug in Cyg_Thread::delay(). |
|
|
1964 |
|
|
1965 Thu Aug 13 15:33:48 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
1966 |
|
|
1967 * include/ktypes.h: |
|
|
1968 Remove inlined new and delete as they aren't strictly permitted and |
|
|
1969 they prevent a valid new and delete being defined anywhere else! |
|
|
1970 |
|
|
1971 * src/common/delete.cxx, src/PKGconf.mak: |
|
|
1972 Add delete.cxx to provide default delete operation for when a C |
|
|
1973 library isn't present |
|
|
1974 |
|
|
1975 1998-07-28 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1976 |
|
|
1977 * include/thread.hxx, include/sched.hxx, include/mlqueue.hxx, |
|
|
1978 include/lottery.hxx, include/bitmap.hxx, src/common/thread.cxx, |
|
|
1979 src/sched/sched.cxx, src/sched/mlqueue.cxx, src/sched/lottery.cxx, |
|
|
1980 src/sched/bitmap.cxx: |
|
|
1981 Added an alternative constructor to Cyg_Thread which takes |
|
|
1982 arguments in new order, and includes a scheduling parameters |
|
|
1983 argument. Propagated effects of this through Cyg_SchedThread |
|
|
1984 and Cyg_SchedThread_Implementation. This mostly takes the form |
|
|
1985 of passing the scheduling parameters through to the constructors. |
|
|
1986 |
|
|
1987 1998-07-27 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1988 |
|
|
1989 * src/sync/flag.cxx, src/sync/cnt_sem2.cxx, include/mempoolt.inl, |
|
|
1990 include/mempolt2.inl, include/mboxt2.inl, include/mboxt.inl: |
|
|
1991 Modified code in API calls that take a timeout to allow for a |
|
|
1992 timeout in the past. |
|
|
1993 NOTE: The timeouts have for now been left as relative delays, they |
|
|
1994 should be converted to absolute timeouts. |
|
|
1995 |
|
|
1996 * src/common/thread.cxx: |
|
|
1997 Modified code in counted_sleep to allow for a timeout in the past. |
|
|
1998 Added handling of EXIT wake_reason in delay(). |
|
|
1999 |
|
|
2000 1998-07-24 Nick Garnett <nickg@cygnus.co.uk> |
|
|
2001 |
|
|
2002 * include/thread.inl: |
|
|
2003 Reordered code in Cyg_Thread::set_timer() to init the timer after |
|
|
2004 wake_reason has been assigned. |
|
|
2005 |
|
|
2006 * include/clock.inl: |
|
|
2007 Removed Cyg_Alarm::enable(). |
|
|
2008 |
|
|
2009 * src/sync/mutex.cxx (Cyg_Condition_Variable::wait): |
|
|
2010 Modified order of code in timed version of wait to allow for a |
|
|
2011 timout in the past. |
|
|
2012 |
|
|
2013 * src/sync/cnt_sem.cxx (Cyg_Counting_Semaphore::wait): |
|
|
2014 Modified order of code in timed version of wait to allow for a |
|
|
2015 timout in the past. Also modified timeout to be absolute rather |
|
|
2016 than relative. |
|
|
2017 |
|
|
2018 * src/common/thread.cxx (Cyg_Thread::wake): |
|
|
2019 Added test for whether a thread is actually asleep before waking |
|
|
2020 it. Allows us to apply wake() to awake threads without damage. |
|
|
2021 |
|
|
2022 * src/common/clock.cxx: |
|
|
2023 Added code to Cyg_Counter::add_alarm() to deal with alarms |
|
|
2024 that trigger now or in the past. |
|
|
2025 Moved Cyg_Alarm::enable() here. Added code to do the right thing |
|
|
2026 when reenabling previously disabled interval alarms. |
|
|
2027 |
|
|
2028 1998-07-23 Nick Garnett <nickg@cygnus.co.uk> |
|
|
2029 |
|
|
2030 * src/debug/stubrom.c: Added header comments. |
|
|
2031 |
|
|
2032 Thu Mar 26 18:25:36 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
2033 |
|
|
2034 * src/test/philo.cxx: |
|
|
2035 Rename CYG_DEBUG ifdef to CYG_RELEASE_DEBUG |
|
|
2036 |
|
|
2037 Wed Mar 25 23:23:39 GMT 1998 Chris Provenzano <proven@cygnus.com> |
|
|
2038 |
|
|
2039 * configure.in: Fix so non_arch.h is updated even if |
|
|
2040 config.cache does exists. |
|
|
2041 |
|
|
2042 * include/kapi.h, include/kapidata.h, include/kernel.hxx |
|
|
2043 * include/mboxt.inl, include/sched.hxx: |
|
|
2044 #include <eccconf/kernel.h> instead of include <eccconf/kernel.h> |
|
|
2045 |
|
|
2046 * include/eccconf/kernel.h: Added. This was old devo/config.h |
|
|
2047 |
|
|
2048 * src/Makefile.am : Set CYG_CONFIGURATION to "<eccconf/kernel.h>" |
|
|
2049 |
|
|
2050 * src/test/Makefile.am : Build .gdbinit from gdbinit.in |
|
|
2051 and tree from tree.in |
|
|
2052 |
|
|
2053 Wed Mar 25 18:24:48 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
2054 |
|
|
2055 * src/Makefile.am, src/common/memcpy.c, src/common/memset.c: |
|
|
2056 Move memcpy and memset functions from C library into kernel to |
|
|
2057 satisfy the requirements of gcc - namely it must be available at |
|
|
2058 at all time. Changed memcpy and memset to sit more cleanly in the |
|
|
2059 kernel, and lose all dependencies on the C library |
|
|
2060 * src/Makefile.in: regenerated |
|
|
2061 |
|
|
2062 Fri Mar 13 18:36:42 GMT 1998 Chris Provenzano <proven@cygnus.com> |
|
|
2063 |
|
|
2064 * configure.in : Add rule to get correct objcopy for target |
|
|
2065 * src/test/Makefile.am : Add rule to build philo.srec |
|
|
2066 |
|
|
2067 Fri Mar 13 11:47:23 GMT 1998 Chris Provenzano <proven@cygnus.com> |
|
|
2068 |
|
|
2069 * configure.in, non_arch.h.in, non_arch.sh |
|
|
2070 Add support for the mn103000 |
|
|
2071 |
|
|
2072 Thu Mar 12 11:38:28 GMT 1998 David Moore <dsm@cygnus.co.uk> |
|
|
2073 |
|
|
2074 * src/Makefile.am: |
|
|
2075 Removed flag to leave comments in generated linker script. |
|
|
2076 |
|
|
2077 Thu Mar 12 10:55:20 GMT 1998 David Moore <dsm@cygnus.co.uk> |
|
|
2078 |
|
|
2079 * configure.in: |
|
|
2080 Fixed setting of platform variable |
|
|
2081 |
|
|
2082 Wed Mar 11 16:54:28 GMT 1998 Chris Provenzano <proven@cygnus.com> |
|
|
2083 |
|
|
2084 * src/test/Makefile.am, tests/Makefile.am: |
|
|
2085 Make sure CXXFLAGS from configure are also used |
|
|
2086 |
|
|
2087 Wed Mar 11 16:16:57 GMT 1998 Chris Provenzano <proven@cygnus.com> |
|
|
2088 |
|
|
2089 * configure.in, non_arch.h.in. non_arch.sh: |
|
|
2090 Added build support for mips |
|
|
2091 * tests/Makefile.am, src/test/Makefile.am |
|
|
2092 Link with -nostdlib -lgcc |
|
|
2093 |
|
|
2094 Wed Mar 11 14:43:36 GMT 1998 Chris Provenzano <proven@cygnus.com> |
|
|
2095 |
|
|
2096 * Makefile.am, configure.in, tests/Makefile.am |
|
|
2097 support building tests in the tests directory |
|
|
2098 |
|
|
2099 Wed Mar 11 13:18:17 GMT 1998 Chris Provenzano <proven@cygnus.com> |
|
|
2100 |
|
|
2101 * acinclude.m4, stamp-h.in, non_arch.h.in, src/Makefile.am: |
|
|
2102 Added to support new kernel configure/make process |
|
|
2103 |
|
|
2104 * Makefile.am: Modified to support new kernel configure/make |
|
|
2105 process. |
|
|
2106 |
|
|
2107 * src/acinclude.m4, src/aclocal.m4, src/configure, src/configure.in |
|
|
2108 Deleted to support new kernel configure/make process |
|
|
2109 |
|
|
2110 * Makefile.in, configure, aclocal.m4, src/Makefile.in, |
|
|
2111 src/configure: regenerated |
|
|
2112 |
|
|
2113 * non_arch.sh: New shellscript to change platform/startup/debug |
|
|
2114 options after a configure is done. |
|
|
2115 |
|
|
2116 * src/devo/config.h: include non_arch.h, for platform/startup/debug |
|
|
2117 options. This is generated at configure and modified by non_arch.sh |
|
|
2118 |
|
|
2119 //=========================================================================== |
|
|
2120 //####COPYRIGHTBEGIN#### |
|
|
2121 // |
|
|
2122 // ------------------------------------------- |
|
|
2123 // The contents of this file are subject to the Cygnus eCos Public License |
|
|
2124 // Version 1.0 (the "License"); you may not use this file except in |
|
|
2125 // compliance with the License. You may obtain a copy of the License at |
|
|
2126 // http://sourceware.cygnus.com/ecos |
|
|
2127 // |
|
|
2128 // Software distributed under the License is distributed on an "AS IS" |
|
|
2129 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the |
|
|
2130 // License for the specific language governing rights and limitations under |
|
|
2131 // the License. |
|
|
2132 // |
|
|
2133 // The Original Code is eCos - Embedded Cygnus Operating System, released |
|
|
2134 // September 30, 1998. |
|
|
2135 // |
|
|
2136 // The Initial Developer of the Original Code is Cygnus. Portions created |
|
2
|
2137 // by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions. All Rights Reserved. |
|
0
|
2138 // ------------------------------------------- |
|
|
2139 // |
|
|
2140 //####COPYRIGHTEND#### |
|
|
2141 //=========================================================================== |