|
0
|
1 1998-10-28 David Moore <dsm@keema.cygnus.co.uk> |
|
|
2 |
|
|
3 * include/pkgconf/kernel.h |
|
|
4 (CYGNUM_KERNEL_COUNTERS_RTC_RESOLUTION): Changed default value for |
|
|
5 MIPS simulator to be 0.01 secs instead of 0.001 seconds. |
|
|
6 |
|
|
7 1998-10-28 Jesper Skov <jskov@cygnus.co.uk> |
|
|
8 |
|
|
9 * tests/kcache1.c (HAL_DCACHE_PURGE_ALL): Fixed compiler problem |
|
|
10 on PowerPC. |
|
|
11 |
|
|
12 1998-10-27 Nick Garnett <nickg@cygnus.co.uk> |
|
|
13 |
|
|
14 * tests/kcache1.c: |
|
|
15 Added calls to HAL_DCACHE_PURGE_ALL() before each test. Added |
|
|
16 local version of HAL_DCACHE_PURGE_ALL() if this is not supplied by |
|
|
17 the HAL. |
|
|
18 |
|
|
19 1998-10-27 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
20 |
|
|
21 * src/common/thread.cxx (wake): |
|
|
22 Remove the thread unconditionally from any queue it was on; for we |
|
|
23 have just become not-asleep, so it must be OK. (Bug was: it |
|
|
24 didn't happen in transit WAIT-SUSPEND -> SUSPEND, so synch object |
|
|
25 still believed the task was waiting on it). PR#17998 |
|
|
26 |
|
|
27 1998-10-26 Jesper Skov <jskov@cygnus.co.uk> |
|
|
28 PR 17527, PR 17837 |
|
|
29 |
|
|
30 * tests/kcache1.c: |
|
|
31 * tests/kclock0.c: |
|
|
32 * tests/kclock1.c: |
|
|
33 * tests/clock1.cxx: |
|
|
34 * tests/clock0.cxx: |
|
|
35 Do N/A PASS when kernel real-time clock is configured out. |
|
|
36 |
|
|
37 1998-10-26 Jesper Skov <jskov@lassi.cygnus.co.uk> |
|
|
38 PR 17866 |
|
|
39 |
|
|
40 * include/pkgconf/kernel.h |
|
|
41 (CYGNUM_KERNEL_THREADS_IDLE_STACK_SIZE): Doubled to prevent stack |
|
|
42 overruns on PowerPC. |
|
|
43 |
|
|
44 1998-10-26 Jesper Skov <jskov@cygnus.co.uk> |
|
|
45 PR 17987 |
|
|
46 |
|
|
47 * src/debug/dbg_gdb.cxx (dbg_threadinfo): Removed "more: <none>" |
|
|
48 output. |
|
|
49 |
|
|
50 1998-10-23 John Dallaway <jld@cygnus.co.uk> |
|
|
51 |
|
|
52 * tests/tm_basic.cxx: Added basic timing test. |
|
|
53 |
|
|
54 1998-10-23 Nick Garnett <nickg@cygnus.co.uk> |
|
|
55 |
|
|
56 * include/instrmnt.h: |
|
|
57 Improved documentation of cyg_instrument_enable() and |
|
|
58 cyg_instrument_disable(). |
|
|
59 |
|
|
60 * src/instrmnt/meminst.cxx: |
|
|
61 Added code to enable and disable whole groups of events. |
|
|
62 |
|
|
63 1998-10-23 Jesper Skov <jskov@lassi.cygnus.co.uk> |
|
|
64 |
|
|
65 * include/generic-stub.h: Deleted. It was moved to hal common some |
|
|
66 time ago. |
|
|
67 |
|
|
68 Fri Oct 23 04:45:12 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
69 |
|
|
70 * tests/kcache1.c: |
|
|
71 Remove forced warning of a warning which no longer applies |
|
|
72 |
|
|
73 1998-10-22 Nick Garnett <nickg@cygnus.co.uk> |
|
|
74 |
|
|
75 * src/common/clock.cxx: |
|
|
76 Stop searching the alarm list when the current alarm is in the |
|
|
77 future in Cyg_Counter::tick(). Changed sense of comparison in |
|
|
78 Cyg_Counter::add_alarm() to sort alarms in ascending order. |
|
|
79 |
|
|
80 Thu Oct 22 18:21:50 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
81 |
|
|
82 * include/pkgconf/kernel.h: |
|
|
83 Fix commenting within CDL "comments" |
|
|
84 |
|
|
85 Thu Oct 22 17:25:45 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
86 |
|
|
87 * include/pkgconf/kernel.h: |
|
|
88 Remove CYGVAR_KERNEL_INSTRUMENT_EXTERNAL_BUFFER configuration |
|
|
89 option. For PR 17838 |
|
|
90 |
|
|
91 1998-10-21 Nick Garnett <nickg@cygnus.co.uk> |
|
|
92 |
|
|
93 * include/pkgconf/kernel.h (CYGNUM_KERNEL_COUNTERS_RTC_PERIOD): |
|
|
94 Changed value for JMR3904 board to 15360 which is correct for a |
|
|
95 24.576MHz board rather than 25MHz as before. |
|
|
96 |
|
|
97 * src/common/thread.cxx: |
|
|
98 Exchanged stack_base and stack_size in idle thread constructor. |
|
|
99 |
|
|
100 1998-10-20 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
101 |
|
|
102 * tests/kflag1.c (kflag1_main): |
|
|
103 Only mess with f2 if it exists, ie. CYGFUN_KERNEL_THREADS_TIMER. |
|
|
104 |
|
|
105 1998-10-19 Mark Galassi <rosalia@cygnus.com> |
|
|
106 |
|
|
107 * include/pkgconf/kernel.h: updated the doc URL |
|
|
108 |
|
|
109 1998-10-19 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
110 |
|
|
111 * include/kapi.h: |
|
|
112 * include/kapidata.h (struct cyg_flag_t): |
|
|
113 * src/common/kapi.cxx: |
|
|
114 Add flags (Cyg_Flag, kernel.../flag.hxx) to the C API. |
|
|
115 |
|
|
116 * tests/PKGconf.mak (TESTS): |
|
|
117 Add new tests for flags via the C API. |
|
|
118 |
|
|
119 * tests/kflag0.c: |
|
|
120 * tests/kflag1.c: |
|
|
121 New tests (well, versions of the plain C++ versions flag0.cxx and |
|
|
122 flag1.cxx) for flags via the kernel C API. |
|
|
123 |
|
|
124 1998-10-19 Bart Veer <bartv@cygnus.co.uk> |
|
|
125 |
|
|
126 * include/pkgconf/kernel.h: |
|
|
127 Fixed description of clock resolution. |
|
|
128 |
|
|
129 1998-10-17 Bart Veer <bartv@cygnus.co.uk> |
|
|
130 |
|
|
131 * include/pkgconf/kernel.h: |
|
|
132 Added a way of configuring the clock interrupt frequency. |
|
|
133 |
|
|
134 Thu Oct 15 21:31:58 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
135 |
|
|
136 * include/pkgconf/kernel.h: |
|
|
137 Allow kernel to be disabled now |
|
|
138 |
|
|
139 * src/common/delete.cxx, src/common/memcpy.c, src/common/memset.c: |
|
|
140 Move these files to the infra package |
|
|
141 |
|
|
142 * src/PKGconf.mak: |
|
|
143 Don't build the above files any more |
|
|
144 |
|
|
145 Above changes are required for PR 17229 |
|
|
146 |
|
|
147 1998-10-15 Hugo Tyson <hmt@masala.cygnus.co.uk> |
|
|
148 |
|
|
149 * include/mempoolt.inl (Cyg_Mempoolt): |
|
|
150 * include/mempolt2.inl (Cyg_Mempolt2): |
|
|
151 Flesh out the destructors to awaken any waiting threads |
|
|
152 with reason Cyg_Thread::DESTRUCT to support uITRON |
|
|
153 create and delete of memory pool objects. |
|
|
154 Note that only template mempolt2 is actually used. |
|
|
155 |
|
|
156 Wed Oct 14 21:45:54 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
157 |
|
|
158 * tests/thread_gdb.c: |
|
|
159 Remove unnecessary inclusion of <cyg/kernel/diag.h> |
|
|
160 |
|
|
161 * tests/kcache1.c: |
|
|
162 Add a warning to expect the "function declaration isn't a |
|
|
163 prototype" warning from infra/diag.h |
|
|
164 |
|
|
165 1998-10-14 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
166 |
|
|
167 * src/common/thread.cxx (kill,reinitialize): |
|
|
168 Do not refer to member timer unless CYGFUN_KERNEL_THREADS_TIMER is |
|
|
169 defined. |
|
|
170 |
|
|
171 1998-10-14 Nick Garnett <nickg@cygnus.co.uk> |
|
|
172 |
|
|
173 * src/debug/dbg-thread-demux.c: |
|
|
174 Now get dbg-threads-api.h from HAL. |
|
|
175 |
|
|
176 * src/debug/dbg_gdb.cxx: |
|
|
177 Tidied up info sent back by dbg_threadinfo(). |
|
|
178 |
|
|
179 * src/common/thread.cxx: |
|
|
180 Changed constructor of idle thread to include initial priority and |
|
|
181 a thread name. |
|
|
182 |
|
|
183 * include/pkgconf/kernel.h: |
|
|
184 Moved GDB stub configuration code out to hal.h. |
|
|
185 |
|
|
186 * include/ktypes.h: |
|
|
187 Moved definition of CYG_LABEL_NAME() out to cyg_type.h. |
|
|
188 |
|
|
189 * src/debug/PKGconf.mak: |
|
|
190 * src/debug/dbg-threads-api.h: |
|
|
191 * src/debug/generic-stub.c: |
|
|
192 * src/debug/stubrom.c: |
|
|
193 * src/debug/thread-packets.c: |
|
|
194 * src/debug/thread-pkts.h: |
|
|
195 These files have all be relocated to hal/common. |
|
|
196 |
|
|
197 1998-10-14 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
198 |
|
|
199 * include/thread.hxx (class Cyg_Thread): |
|
|
200 Add public members get_stack_base(), get_stack_size() and |
|
|
201 get_stack_limit(); |
|
|
202 Add private members add_to_list() and remove_from_list() to |
|
|
203 centralize handling of the CYGVAR_KERNEL_THREADS_LIST as it is |
|
|
204 known. |
|
|
205 |
|
|
206 * include/thread.inl (class Cyg_Thread): |
|
|
207 Add public members get_stack_base(), get_stack_size() and |
|
|
208 get_stack_limit(); |
|
|
209 |
|
|
210 * src/common/thread.cxx: |
|
|
211 Add private members add_to_list() and remove_from_list() to |
|
|
212 centralize handling of the CYGVAR_KERNEL_THREADS_LIST as it is |
|
|
213 known. |
|
|
214 Tidy up the two constructors to use them. |
|
|
215 Add CYG_REPORT_RETURN()/_RETVAL(...) logging throughout. |
|
|
216 Tidy up reinitialize() to use the 6-argument constructor, |
|
|
217 thus preserving the thread name. |
|
|
218 Fix some bugs in the CYGVAR_KERNEL_THREADS_LIST stuff where |
|
|
219 re-adding a thread caused loops in the list, and the like. |
|
|
220 Fix bug in set_priority() when the thread is asleep but NOT on any |
|
|
221 queue, such as a plain counted_sleep(). |
|
|
222 |
|
|
223 1998-10-14 Jesper Skov <jskov@cygnus.co.uk> |
|
|
224 |
|
|
225 * src/debug/thread-packets.c: |
|
|
226 * src/debug/dbg_gdb.cxx: |
|
|
227 Don't include hal_stub.h unless it's really, really, really |
|
|
228 needed. |
|
|
229 |
|
|
230 1998-10-14 Jesper Skov <jskov@cygnus.co.uk> |
|
|
231 |
|
|
232 * src/debug/dbg_gdb.cxx: Don't include hal_stub.h unless it's really |
|
|
233 needed. |
|
|
234 |
|
|
235 1998-10-13 Jesper Skov <jskov@cygnus.co.uk> |
|
|
236 |
|
|
237 * src/debug/generic-stub.c: Added thread support. Renaming a few |
|
|
238 functions/variables to match the most recent libstub |
|
|
239 generic-stub.c. |
|
|
240 Use thread_get_register & thread_put_register when handling GDB |
|
|
241 register packets. |
|
|
242 |
|
|
243 * src/debug/dbg_gdb.cxx (dbg_getthreadreg, dbg_getthreadreg): |
|
|
244 DTRT for current thread when CygMon is not configured. |
|
|
245 |
|
|
246 * src/debug/dbg_gdb.cxx (dbg_threadlist, dbg_getthreadreg, |
|
|
247 dbg_getthreadreg): return true/false rather than 0, 1, -1. |
|
|
248 |
|
|
249 * src/debug/dbg_gdb.cxx: |
|
|
250 * src/debug/dbg-threads-api.h: |
|
|
251 Added dbg_currthread_id. |
|
|
252 |
|
|
253 1998-10-08 Jesper Skov <jskov@lassi.cygnus.co.uk> |
|
|
254 |
|
|
255 * src/debug/generic-stub.c: |
|
|
256 * src/debug/generic-stub.h: |
|
|
257 Added control of interrupts. |
|
|
258 Removed unused functions set_debug_trap and initialize_stub. |
|
|
259 |
|
|
260 Tue Oct 13 17:36:29 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
261 |
|
|
262 * src/test/tsttracc.c (cyg_start): |
|
|
263 Replace CYG_REPORT_FUNCARGSVOID with the correct |
|
|
264 CYG_REPORT_FUNCARGVOID |
|
|
265 |
|
|
266 1998-10-09 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
267 |
|
|
268 * src/common/thread.cxx: |
|
|
269 clear_timer() is a static which always affects the executing |
|
|
270 thread and none other. Removed the "foo->" from various |
|
|
271 "foo->clear_timer()" calls to make this less confusing. |
|
|
272 Ditto set_timer(). |
|
|
273 Changed a "clear_timer()" call to "timer.disable()" and added one |
|
|
274 so that they affect _this_ thread, the thread which is being |
|
|
275 kill()ed or reinitialize()d rather than the killer or the |
|
|
276 resuscitator. Otherwise the alarm list can still get a loop in |
|
|
277 it when a thread's killed when waiting with a timeout and |
|
|
278 restarted soon enough. |
|
|
279 |
|
|
280 1998-10-08 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
281 |
|
|
282 In general, these changes are to support create/delete of uITRON |
|
|
283 objects; this requires that an object can be destroyed whilst |
|
|
284 there are threads waiting on it, and that they shall be awoken |
|
|
285 with a specific return code. |
|
|
286 |
|
|
287 * include/thread.hxx: |
|
|
288 Cyg_Thread::DESTRUCT added to wake reasons, to deal with an object |
|
|
289 being destroyed whilst a thread is waiting on it; it's handled in |
|
|
290 a manner very similar to release() and BREAK wake_reason. |
|
|
291 |
|
|
292 * src/common/thread.cxx: |
|
|
293 thread_entry(): threads now exit() if the entry_point returns. |
|
|
294 Cyg_Thread() constructors now initialize wake_reason to NONE. |
|
|
295 reinitialize() clears any pending timeout before calling |
|
|
296 constructors. |
|
|
297 counted_sleep( [timeout] ) now both deal with the wake reason in |
|
|
298 general, and with DESTRUCT in particular. |
|
|
299 exit() now clears any pending timeout. |
|
|
300 kill() now force_resumes the thread first. |
|
|
301 kill() now does not explicitly remove the thread from any queue |
|
|
302 it's on; wake() does that for you anyway. |
|
|
303 delay() clears the timer just in case and handles DESTRUCT |
|
|
304 properly. |
|
|
305 DESTRUCT added to various switches for completeness. |
|
|
306 |
|
|
307 The fixes to counted_sleep()[x2] and kill() are a bugfix for |
|
|
308 PR#17688. |
|
|
309 |
|
|
310 * include/flag.hxx: |
|
|
311 * src/sync/flag.cxx: |
|
|
312 Add an argument, defaulting to 0, to the constructor which sets |
|
|
313 the initial flag value. |
|
|
314 Add handing of DESTRUCT wake reason. |
|
|
315 Add a destructor which wakes all threads with DESTRUCT |
|
|
316 wake_reason. |
|
|
317 |
|
|
318 * include/mboxt2.inl: |
|
|
319 Add handing of DESTRUCT wake reason. |
|
|
320 Add a destructor which wakes all threads with DESTRUCT |
|
|
321 wake_reason. |
|
|
322 |
|
|
323 * src/sync/cnt_sem2.cxx: |
|
|
324 Add handing of DESTRUCT wake reason. |
|
|
325 Add a destructor which wakes all threads with DESTRUCT |
|
|
326 wake_reason. |
|
|
327 Correct typo in logic for queueing a waiting thread in |
|
|
328 Cyg_Counting_Semaphore2::wait( cyg_tick_count abs_timeout ). |
|
|
329 This is a bugfix for PR#17687. |
|
|
330 |
|
|
331 * include/mboxt.inl: |
|
|
332 * include/mempoolt.inl: |
|
|
333 * include/mempolt2.inl: |
|
|
334 * src/sync/bin_sem.cxx: |
|
|
335 * src/sync/cnt_sem.cxx: |
|
|
336 * src/sync/mutex.cxx: |
|
|
337 All these gain handling of the DESTRUCT wake_reason, that's all. |
|
|
338 |
|
|
339 1998-10-08 Gary Thomas <gthomas@penang.cygnus.co.uk> |
|
|
340 |
|
|
341 * include/pkgconf/kernel.h: |
|
|
342 Add support for new architecture |
|
|
343 |
|
|
344 1998-10-07 Nick Garnett <nickg@cygnus.co.uk> |
|
|
345 |
|
|
346 * tests/kcache1.c (entry0): |
|
|
347 Replaced CYG_TEST_FINISH() with CYG_TEST_PASS_FINISH(). |
|
|
348 |
|
|
349 * src/debug/dbg-thread-demux.c: |
|
|
350 Added dbg_thread_syscall_rmt_1() to save/set and restore the $gp |
|
|
351 register values when being called from Cygmon. |
|
|
352 |
|
|
353 Sun Sep 27 20:12:15 1998 David Moore <dsm@keema.cygnus.co.uk> |
|
|
354 |
|
|
355 * include/mlqueue.hxx: |
|
|
356 * include/bitmap.hxx: |
|
|
357 Disallow more than 32 priority levels |
|
|
358 |
|
|
359 * include/pkgconf/kernel.h: |
|
|
360 Changed range of allowed levels from 64 to 32 |
|
|
361 |
|
|
362 1998-09-27 Nick Garnett <nickg@cygnus.co.uk> |
|
|
363 |
|
|
364 * tests/memfix2.cxx: |
|
|
365 Changed message to say "Fixed memory pool 2 OK" rather than |
|
|
366 "Variable memory pool 2 OK". |
|
|
367 |
|
|
368 1998-09-26 Bart Veer <bartv@cygnus.co.uk> |
|
|
369 |
|
|
370 * include/intr.hxx (DSRs_pending): |
|
|
371 PR 17500: if DSR support is disabled completely then this inline |
|
|
372 function should not be defined at all. |
|
|
373 |
|
|
374 1998-09-26 Nick Garnett <nickg@cygnus.co.uk> |
|
|
375 |
|
|
376 * tests/kcache1.c: |
|
|
377 Added this test program for cache API. Includes some performance |
|
|
378 testing. |
|
|
379 |
|
|
380 1998-09-25 Nick Garnett <nickg@cygnus.co.uk> |
|
|
381 |
|
|
382 * src/debug/dbg_gdb.cxx: |
|
|
383 Removed some debugging code. |
|
|
384 |
|
|
385 * tests/thread_gdb.c: |
|
|
386 Added this test program to allow for GDB thread support testing. |
|
|
387 |
|
|
388 1998-09-25 Bart Veer <bartv@cygnus.co.uk> |
|
|
389 |
|
|
390 * include/pkgconf/kernel.h: |
|
|
391 The GDB thread support requires the kernel to keep track of all |
|
|
392 threads on a linked list. This is a separate option. An additional |
|
|
393 requires statement enforces the dependency. |
|
|
394 |
|
|
395 1998-09-25 Nick Garnett <nickg@cygnus.co.uk> |
|
|
396 |
|
|
397 * src/debug/dbg-thread-demux.c: |
|
|
398 Added include of <pkgconf/kernel.h>, removed debug code. |
|
|
399 |
|
|
400 1998-09-24 Bart Veer <bartv@cygnus.co.uk> |
|
|
401 |
|
|
402 * src/debug/dbg-thread-demux.c (dbg_thread_syscall_rmt): |
|
|
403 PR 17327. If kernel gdb thread support is disabled, do not compile |
|
|
404 in the relevant cases in the rmt switch statement. This is a |
|
|
405 partial solution to the general problem of how the HAL, kernel, |
|
|
406 cygmon, and gdb interact. |
|
|
407 |
|
|
408 1998-09-24 Nick Garnett <nickg@cygnus.co.uk> |
|
|
409 |
|
|
410 * src/common/clock.cxx (Cyg_RealTimeClock): |
|
|
411 Changed clock priority from zero to one, since it is now used to |
|
|
412 set the hardware interrupt priority. |
|
|
413 |
|
|
414 * src/intr/intr.cxx: |
|
|
415 Cyg_Interrupt::chain_isr() now only calls interrupt objects that |
|
|
416 have the matching vector number. |
|
|
417 Call HAL_INTERRUPT_SET_LEVEL() when attaching interrupts using the |
|
|
418 priority passed in the constructor. |
|
|
419 Added call to HAL_TRANSLATE_VECTOR() for attaching chained |
|
|
420 interrupts. |
|
|
421 |
|
|
422 * include/instrmnt.h (CYG_INSTRUMENT_EVENT_INTR_CHAIN_ISR): |
|
|
423 Added this event. |
|
|
424 |
|
|
425 Thu Sep 24 11:07:12 1998 David Moore <dsm@keema.cygnus.co.uk> |
|
|
426 |
|
|
427 * tests/except1.cxx: |
|
|
428 * tests/kexcept1.cxx: |
|
|
429 Made exception tests detect when CYGPKG_KERNEL_EXCEPTIONS |
|
|
430 is disabled. |
|
|
431 |
|
|
432 |
|
|
433 1998-09-22 Bart Veer <bartv@cygnus.co.uk> |
|
|
434 |
|
|
435 * include/pkgconf/kernel.h: |
|
|
436 Changed the kernel package from type bool to type dummy, since |
|
|
437 it is not yet possible to disable this package. |
|
|
438 |
|
|
439 1998-09-20 Mark Galassi <rosalia@cygnus.com> |
|
|
440 |
|
|
441 * include/pkgconf/kernel.h: updated CDL doc strings. |
|
|
442 fixed some typos in my doc strings. |
|
|
443 |
|
|
444 1998-09-18 Nick Garnett <nickg@cygnus.co.uk> |
|
|
445 |
|
|
446 * src/common/thread.cxx: |
|
|
447 * include/thread.inl: |
|
|
448 Modified threads list from a LIFO stack to a ring so that we can |
|
|
449 add new ones to the end and present the threads to GDB in an order |
|
|
450 that more closely matches how it assigns thread ids. |
|
|
451 |
|
|
452 Wed Sep 16 19:11:22 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
453 |
|
|
454 * include/thread.inl (get_unique_id): |
|
|
455 Move this declaration to before its first use, so that the user |
|
|
456 knows it is inline at the point of use. Avoids a warning. |
|
|
457 |
|
|
458 Wed Sep 16 08:49:48 1998 Jesper Skov <jskov@cygnus.co.uk> |
|
|
459 PR 17269 |
|
|
460 |
|
|
461 * src/common/except.cxx (Cyg_Exception_Control): Replaced |
|
|
462 CYGNUM_EXCEPTION_MAX (bug!) with CYG_EXCEPTION_COUNT. |
|
|
463 |
|
|
464 * include/kapidata.h (struct cyg_exception_conrol): Replaced |
|
|
465 CYG_EXCEPTION_MAX (bug!) with CYG_EXCEPTION_COUNT. |
|
|
466 |
|
|
467 * src/intr/intr.cxx: |
|
|
468 * include/intr.hxx (class Cyg_Interrupt): Replaced CYG_ISR_MAX+1 |
|
|
469 with CYG_ISR_COUNT. |
|
|
470 |
|
|
471 * include/except.hxx: Replaced CYGNUM_EXCEPTION_COUNT with |
|
|
472 CYG_EXCEPTION_COUNT. |
|
|
473 |
|
|
474 * tests/kintr0.c: |
|
|
475 * tests/intr0.cxx: Replaced CYG_ISR_MAX (bug!) with |
|
|
476 CYG_ISR_COUNT. |
|
|
477 |
|
|
478 Tue Sep 15 19:19:37 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
479 |
|
|
480 * include/mboxt2.hxx: |
|
|
481 Add inclusion of thread.inl to silence warning |
|
|
482 |
|
|
483 * tests/kexcept1.c: |
|
|
484 Insert void as parameter list of __default_exception_vsr() to |
|
|
485 silence warning |
|
|
486 |
|
|
487 Tue Sep 15 19:16:52 1998 David Moore <dsm@keema.cygnus.co.uk> |
|
|
488 |
|
|
489 * src/sched/sched.cxx: Cleaned up comments. |
|
|
490 |
|
|
491 1998-09-15 Nick Garnett <nickg@cygnus.co.uk> |
|
|
492 |
|
|
493 * src/debug/dbg-thread-demux.c: |
|
|
494 Stubbed out led() function. |
|
|
495 |
|
|
496 * src/debug/dbg_gdb.cxx: |
|
|
497 Decide whether to byteswap thread id depending on reported byte |
|
|
498 order of target. |
|
|
499 Many small changes to debug code. |
|
|
500 |
|
|
501 * include/thread.inl (init_context): |
|
|
502 Changed CYG_DEBUG to CYGPKG_INFRA_DEBUG. |
|
|
503 |
|
|
504 Tue Sep 15 09:35:14 1998 Jesper Skov <jskov@cygnus.co.uk> |
|
|
505 PR 17236 |
|
|
506 |
|
|
507 * src/common/clock.cxx (add_alarm): A retriggering alarm called |
|
|
508 with a trigger time in the past or now will be assigned a new |
|
|
509 trigger time. Don't find the counter list until the final trigger |
|
|
510 time is known. |
|
|
511 Also added a few #else error statements to catch a situation where |
|
|
512 no CYGIMP_KERNEL_COUNTERS_x_LIST implementation config is |
|
|
513 selected. |
|
|
514 |
|
|
515 * tests/clock0.cxx: Added extra ASSERT to ensure alarms enabled |
|
|
516 with a trigger time of now or in the past actually fire. |
|
|
517 * tests/kclock0.c: Same. |
|
|
518 |
|
|
519 1998-09-15 Bart Veer <bartv@cygnus.co.uk> |
|
|
520 |
|
|
521 * include/pkgconf/kernel.h: |
|
|
522 Cleaning up coonfiguration data (mostly improving the |
|
|
523 descriptions). |
|
|
524 |
|
|
525 Mon Sep 14 11:08:59 1998 Jesper Skov <jskov@lassi.cygnus.co.uk> |
|
|
526 PR 17230 |
|
|
527 |
|
|
528 * include/pkgconf/kernel.h: CYGIMP_KERNEL_INTERRUPTS_CHAIN |
|
|
529 requires CYGIMP_HAL_COMMON_INTERRUPTS_CHAIN. |
|
|
530 |
|
|
531 1998-09-14 Mark Galassi <rosalia@cygnus.com> |
|
|
532 |
|
|
533 * include/pkgconf/kernel.h: started adding CDL doc fields. |
|
|
534 |
|
|
535 1998-09-12 Bart Veer <bartv@cygnus.co.uk> |
|
|
536 |
|
|
537 * include/pkgconf/kernel.h: |
|
|
538 Sort out exception handling options (PR 16953) |
|
|
539 Added missing descriptions (PR 17184) |
|
|
540 |
|
|
541 Fri Sep 11 19:18:28 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> |
|
|
542 |
|
|
543 * include/clock.hxx (class Cyg_Alarm): |
|
|
544 * src/common/clock.cxx (Cyg_Alarm::add_alarm): |
|
|
545 PR#17182 |
|
|
546 Move the code to synchronize a repeating alarm which had been |
|
|
547 firing in the dim and distant past with times in the future, which |
|
|
548 had been inline in Cyg_Alarm::enable(), into a function of its |
|
|
549 own, Cyg_Alarm::synchronize(). Call it from Cyg_Alarm::enable() |
|
|
550 and also from add_alarm() when the immediate time to fire is now |
|
|
551 or in the past; otherwise an initial time of, say, NOW-10 with an |
|
|
552 interval of 5 would just get lost. Also corrected/commented the |
|
|
553 logic there to allow an alarm's handler to cancel itself. |
|
|
554 |
|
|
555 Wed Sep 9 17:43:26 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
556 |
|
|
557 * src/common/delete.cxx: |
|
|
558 Control the provision of empty delete functions rather better, via |
|
|
559 an explicit option from the libc package. Read the rather lengthy |
|
|
560 comment in delete.cxx for the explanation. |
|
|
561 Also note that the correct place for this functionality is in the |
|
|
562 infrastructure, and the same should be done for the C++ new |
|
|
563 functions also. |
|
|
564 |
|
|
565 1998-09-09 Nick Garnett <nickg@cygnus.co.uk> |
|
|
566 |
|
|
567 * src/common/thread.cxx: |
|
|
568 combined separate next_unique_id variables in both constructors. |
|
|
569 This would have caused duplicate thread ids to be generated. |
|
|
570 |
|
|
571 * include/thread.inl: |
|
|
572 Added code to initialize Cyg_HardwareThread::saved_context. |
|
|
573 |
|
|
574 * src/debug/dbg-thread-demux.c: |
|
|
575 * src/debug/dbg_gdb.cxx: |
|
|
576 Many changes to get thread API working with Cygmon. Debug code |
|
|
577 currently left in place until complete testing is possible. |
|
|
578 |
|
|
579 Tue Sep 8 17:17:32 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
580 |
|
|
581 * include/pkgconf/kernel.h (CYGNUM_KERNEL_COUNTERS_RTC_PERIOD): |
|
|
582 Set up a sensible default RTC for CYG_HAL_MN10300_SIM different |
|
|
583 from that for the MN103002 or CYG_HAL_MN10300_STDEVAL1, so that |
|
|
584 sim tests run in less than geological time. This is the same as |
|
|
585 the default value of before. |
|
|
586 |
|
|
587 Fri Sep 4 18:25:02 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
588 |
|
|
589 * src/sched/mlqueue.cxx (timeslice): |
|
|
590 * src/sched/sched.cxx (unlock_inner): |
|
|
591 Condition out the tracing macros here by default, for tracing |
|
|
592 these consumes the whole quantum. |
|
|
593 |
|
|
594 1998-09-04 Bart Veer <bartv@cygnus.co.uk> |
|
|
595 |
|
|
596 * include/pkgconf/kernel.h: |
|
|
597 Commented out the ROM monitor-specific option settings for now. |
|
|
598 |
|
|
599 * tests/kclock1.c: |
|
|
600 * include/pkgconf/kernel.h: |
|
|
601 * include/kapidata.h (struct cyg_counter): |
|
|
602 Fixed typos in configuration option names. |
|
|
603 |
|
|
604 1998-09-03 David Moore <dsm@cygnus.co.uk> |
|
|
605 |
|
|
606 * include/pkgconf/kernel.h |
|
|
607 (CYGNUM_KERNEL_INTERRUPTS_DSRS_TABLE_SIZE): |
|
|
608 Fixed typo in configuration option name. |
|
|
609 |
|
|
610 * src/intr/intr.cxx: |
|
|
611 Fixed typo in configuration option name. |
|
|
612 Fixed cast to incorrect type. |
|
|
613 |
|
|
614 1998-09-03 Nick Garnett <nickg@cygnus.co.uk> |
|
|
615 |
|
|
616 * src/PKGconf.mak (COMPILE): |
|
|
617 Added debug/dbg-thread-demux.c to COMPILE list. |
|
|
618 |
|
|
619 * src/debug/dbg_gdb.cxx (dbg_threadinfo): |
|
|
620 Added first cut at providing thread state string. |
|
|
621 |
|
|
622 * src/debug/dbg-thread-syscall.h: |
|
|
623 * src/debug/dbg-thread-demux.c: |
|
|
624 Added these two files to implement the interface between Cygmon |
|
|
625 and eCos. |
|
|
626 |
|
|
627 1998-09-03 Bart Veer <bartv@cygnus.co.uk> |
|
|
628 |
|
|
629 * include/pkgconf/kernel.h (CYGSEM_KERNEL_MEMORY_COALESCE): |
|
|
630 * include/mvarimpl.inl (Cyg_Mempool_Variable_Implementation): |
|
|
631 Fixed typo in configuration option name. |
|
|
632 |
|
|
633 * include/pkgconf/kernel.h: |
|
|
634 Fixed type in configuration option name. |
|
|
635 |
|
|
636 Wed Sep 2 19:01:02 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
637 |
|
|
638 * include/mboxt.hxx: |
|
|
639 * include/mboxt.inl: |
|
|
640 * include/mboxt2.hxx: |
|
|
641 * include/mboxt2.inl: |
|
|
642 * include/mempolt2.hxx: |
|
|
643 * include/mempolt2.inl: |
|
|
644 * include/mempoolt.hxx: |
|
|
645 * include/mempoolt.inl: |
|
|
646 * include/sema2.hxx: |
|
|
647 * src/sync/cnt_sem2.cxx: |
|
|
648 * include/flag.hxx: |
|
|
649 * src/sync/flag.cxx: |
|
|
650 * include/kapi.h: |
|
|
651 * src/common/kapi.cxx: |
|
|
652 * tests/kmbox1.c: |
|
|
653 * tests/kmemfix1.c: |
|
|
654 * tests/kmemvar1.c: |
|
|
655 * tests/mbox1.cxx: |
|
|
656 * tests/memfix1.cxx: |
|
|
657 * tests/memvar1.cxx: |
|
|
658 Memory pool (both types) and message boxes (both types) and flags |
|
|
659 and cnt_sem2-type semaphores now all have absolute timeouts |
|
|
660 instead of relative ones in the timely wait functions. |
|
|
661 uITRON has changed to add the current time itself. |
|
|
662 Kapi changes are mainly name changes to make it clear that |
|
|
663 timeouts are now absolute. |
|
|
664 The tests (incl. kapi) add in the time themselves now. |
|
|
665 |
|
|
666 1998-09-01 Tim Goodwin <tgoodwin@cygnus.co.uk> |
|
|
667 |
|
|
668 * include/kapi.h: |
|
|
669 * src/common/kapi.cxx: |
|
|
670 * tests/kclock1.c: |
|
|
671 * tests/kexcept1.c: |
|
|
672 * tests/kmbox1.c: |
|
|
673 * tests/kmemfix1.c: |
|
|
674 * tests/kmemvar1.c: |
|
|
675 * tests/kmutex1.c: |
|
|
676 * tests/ksched1.c: |
|
|
677 * tests/ksem1.c: |
|
|
678 * tests/kthread0.c: |
|
|
679 * tests/kthread1.c: |
|
|
680 * src/test/kcache1.c: |
|
|
681 * src/test/kphilo.c: |
|
|
682 * tests/kphilo.c: |
|
|
683 * tests/lottery.c: |
|
|
684 Changes to cyg_thread_create() interface. |
|
|
685 |
|
|
686 Tue Sep 1 18:49:06 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> |
|
|
687 |
|
|
688 * include/pkgconf/kernel.h: |
|
|
689 Moved and renamed CYG_DIAG_USE_DEVICE to infra and to |
|
|
690 CYGDBG_INFRA_DIAG_USE_DEVICE; kernel.h now includes infra.h as |
|
|
691 well as hal.h to ensure all its clients get the info too. |
|
|
692 |
|
|
693 * include/intr.hxx (class Cyg_Interrupt): |
|
|
694 Add static member interrupts_enabled() to poll the current status; |
|
|
695 just to avoid calling the HAL directly, really. |
|
|
696 |
|
|
697 * include/diag.h: |
|
|
698 Now just includes cyg/infra/diag.h, so that kernel-specific |
|
|
699 features can be added later - original diag.h has moved to infra, |
|
|
700 and is that includee. |
|
|
701 |
|
|
702 * src/PKGconf.mak: |
|
|
703 Trace folder and its contents elided, now in infra. |
|
|
704 |
|
|
705 * src/trace/diag.c: |
|
|
706 * src/trace/fancy.cxx: |
|
|
707 * src/trace/null.cxx: |
|
|
708 * src/trace/simple.cxx: |
|
|
709 * src/trace/tcdiag.cxx: |
|
|
710 Deleted; all moved to infra, actually. |
|
|
711 |
|
|
712 1998-09-01 Nick Garnett <nickg@cygnus.co.uk> |
|
|
713 |
|
|
714 * src/debug/dbg-threads-api.h: |
|
|
715 * src/debug/dbg_gdb.cxx: |
|
|
716 Converted threadref from long long to char[8] as defined by Cygmon |
|
|
717 guys. |
|
|
718 |
|
|
719 * src/common/thread.cxx: |
|
|
720 Added scheduler lock around manipulations of thread list. |
|
|
721 |
|
|
722 * include/except.hxx: |
|
|
723 Now use CYG_EXCEPTION_COUNT to size handler arrays. |
|
|
724 |
|
|
725 Mon Aug 31 17:53:12 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
726 |
|
|
727 * include/memfixed.hxx, include/mempolt2.hxx, include/mempolt2.inl, |
|
|
728 include/mempoolt.hxx, include/mempoolt.inl, include/memvar.hxx, |
|
|
729 include/mvarimpl.hxx, include/mvarimpl.inl, src/mem/memfixed.cxx, |
|
|
730 src/mem/memvar.cxx: |
|
|
731 |
|
|
732 Add new get_allocation_size() method to return the size of a |
|
|
733 previously allocated block - trivial for fixed block allocator, and |
|
|
734 requiring a bit of poking around for the variable block allocator. |
|
|
735 |
|
|
736 This is required for the C library realloc() implementation. Strictly |
|
|
737 this only uses the variable block allocator, but the API can only be |
|
|
738 enhanced by also updating the template. As a result, this also meant |
|
|
739 doing it for the fixed block allocator. |
|
|
740 |
|
|
741 Mon Aug 31 09:51:37 1998 Jesper Skov <jskov@cygnus.co.uk> |
|
|
742 |
|
|
743 * src/debug/stubrom.c (cyg_start): Renamed from main(). |
|
|
744 |
|
|
745 Mon Aug 31 09:00:01 1998 Jesper Skov <jskov@cygnus.co.uk> |
|
|
746 |
|
|
747 * src/common/thread.cxx: Fixed typo. |
|
|
748 |
|
|
749 1998-08-28 Bart Veer <bartv@cygnus.co.uk> |
|
|
750 |
|
|
751 * include/pkgconf/kernel.h, include/bitmap.hxx, include/clock.hxx, |
|
|
752 include/except.hxx, include/flag.hxx, include/instrmnt.h, |
|
|
753 include/intr.hxx, include/kapi.h, include/kapidata.h, |
|
|
754 include/mbox.hxx, include/mboxt.hxx, include/mboxt.inl, |
|
|
755 include/mboxt2.hxx, include/mboxt2.inl, include/memfixed.hxx, |
|
|
756 include/mempolt2.hxx, include/mempolt2.inl, |
|
|
757 include/mempoolt.hxx, include/mempoolt.inl, include/memvar.hxx, |
|
|
758 include/mlqueue.hxx, include/mutex.hxx, include/mvarimpl.inl, |
|
|
759 include/sched.hxx, include/sema.hxx, include/sema2.hxx, |
|
|
760 include/thread.hxx, include/thread.inl, |
|
|
761 include/pkgconf/kernel.h: |
|
|
762 src/common/clock.cxx, src/common/except.cxx, |
|
|
763 src/common/kapi.cxx, src/common/thread.cxx, |
|
|
764 src/debug/dbg_gdb.cxx, src/debug/generic-stub.c, |
|
|
765 src/instrmnt/meminst.cxx, src/instrmnt/nullinst.cxx, |
|
|
766 src/intr/intr.cxx, src/mem/memfixed.cxx, src/mem/memvar.cxx, |
|
|
767 src/sched/bitmap.cxx, src/sched/lottery.cxx, |
|
|
768 src/sched/mlqueue.cxx, src/sched/sched.cxx, |
|
|
769 src/sync/cnt_sem.cxx, src/sync/cnt_sem2.cxx, src/sync/flag.cxx, |
|
|
770 src/sync/mbox.cxx, src/sync/mutex.cxx, src/test/diag.cxx, |
|
|
771 src/test/kcache1.c, src/test/main.cxx, src/test/timer.cxx, |
|
|
772 src/test/tstmbox.cxx: |
|
|
773 tests/clock0.cxx, tests/clock1.cxx, tests/except1.cxx, |
|
|
774 tests/flag1.cxx, tests/intr0.cxx, tests/kclock0.c, |
|
|
775 tests/kclock1.c, tests/kexcept1.c, tests/kintr0.c, |
|
|
776 tests/kmbox1.c, tests/kmemfix1.c, tests/kmemvar1.c, |
|
|
777 tests/kmutex0.c, tests/kmutex1.c, tests/ksched1.c, |
|
|
778 tests/ksem0.c, tests/ksem1.c, tests/kthread0.c, |
|
|
779 tests/kthread1.c, tests/lottery.c, tests/mbox1.cxx, |
|
|
780 tests/memfix1.cxx, tests/memvar1.cxx, tests/sync3.cxx, |
|
|
781 tests/thread2.cxx : |
|
|
782 Provide configuration data and rename configuration options |
|
|
783 |
|
|
784 Fri Aug 28 15:27:31 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
785 |
|
|
786 * src/trace/fancy.cxx: |
|
|
787 * src/trace/simple.cxx: |
|
|
788 * src/trace/null.cxx: |
|
|
789 Condition on newly named symbols from the infra package, whence |
|
|
790 these units will be moved soon. |
|
|
791 |
|
|
792 Fri Aug 28 09:33:17 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
793 |
|
|
794 * src/test/demo.cxx, src/test/kcache1.c, src/test/kphilo.c, |
|
|
795 src/test/main.cxx, src/test/philo.cxx, src/test/sload.c, |
|
|
796 src/test/timer.cxx, src/test/tstflag.cxx, src/test/tstmbox.cxx, |
|
|
797 src/test/tstmpf.cxx, src/test/tstmpool.cxx, src/test/tsttracc.c, |
|
|
798 src/test/tsttrace.cxx, tests/bin_sem0.cxx, tests/bin_sem1.cxx, |
|
|
799 tests/bin_sem2.cxx, tests/clock0.cxx, tests/clock1.cxx, |
|
|
800 tests/cnt_sem0.cxx, tests/cnt_sem1.cxx, tests/except1.cxx, |
|
|
801 tests/flag0.cxx, tests/flag1.cxx, tests/intr0.cxx, tests/kclock0.c, |
|
|
802 tests/kclock1.c, tests/kexcept1.c, tests/kill.cxx, tests/kintr0.c, |
|
|
803 tests/kmbox1.c, tests/kmemfix1.c, tests/kmemvar1.c, tests/kmutex0.c, |
|
|
804 tests/kmutex1.c, tests/kphilo.c, tests/ksched1.c, tests/ksem0.c, |
|
|
805 tests/ksem1.c, tests/kthread0.c, tests/kthread1.c, tests/lottery.c, |
|
|
806 tests/mbox1.cxx, tests/memfix1.cxx, tests/memfix2.cxx, |
|
|
807 tests/memvar1.cxx, tests/memvar2.cxx, tests/mutex0.cxx, |
|
|
808 tests/mutex1.cxx, tests/philo.cxx, tests/release.cxx, |
|
|
809 tests/sched1.cxx, tests/sync2.cxx, tests/sync3.cxx, |
|
|
810 tests/thread0.cxx, tests/thread1.cxx, tests/thread2.cxx: |
|
|
811 Change entry points from main() to cyg_start(), and remove return |
|
|
812 codes - while main returned an int, cyg_start() returns void. It has |
|
|
813 no meaning anyway - what could you do with the code? |
|
|
814 |
|
|
815 * src/test/tsttracc.c, src/test/tsttrace.cxx: |
|
|
816 Also change trace calls (CYG_REPORT_...) to reflect that it is a |
|
|
817 function called cyg_start with no args returning void, rather than |
|
|
818 what it was for main(argc, argv) |
|
|
819 |
|
|
820 Fri Aug 28 09:24:41 1998 Jesper Skov <jskov@cygnus.co.uk> |
|
|
821 |
|
|
822 * src/debug/generic-stub.c: Moved strcpy/strlen from hal-stub to |
|
|
823 generic-stub. Cleaned up a bit to avoid compiler warnings. |
|
|
824 |
|
|
825 Thu Aug 27 19:22:51 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
826 |
|
|
827 * tests/kphilo.c (Philosopher): |
|
|
828 * tests/philo.cxx (Philosopher): |
|
|
829 * src/test/philo.cxx (Philosopher): |
|
|
830 * src/test/kphilo.c (Philosopher): |
|
|
831 * src/common/kapi.cxx: |
|
|
832 Change CYG_RELEASE_DEBUG to CYGPKG_INFRA_DEBUG. |
|
|
833 These changes are self-contained, so they can go in right now. |
|
|
834 |
|
|
835 Thu Aug 27 15:20:31 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
836 |
|
|
837 * include/mvarimpl.inl (free): |
|
|
838 Remove a couple of warning due to pointer comparison without casts |
|
|
839 in coallesce(sic.) code. |
|
|
840 |
|
|
841 1998-08-26 Nick Garnett <nickg@cygnus.co.uk> |
|
|
842 |
|
|
843 * include/kapidata.h: |
|
|
844 Added saved_context to cyg_hardwarethread structure to track |
|
|
845 GDB support in rest of kernel. |
|
|
846 |
|
|
847 1998-08-25 Nick Garnett <nickg@cygnus.co.uk> |
|
|
848 |
|
|
849 * include/pkgconf/kernel.h: |
|
|
850 Added CYGIMP_KERNEL_THREAD_GDB_SUPPORT to configure for GDB |
|
|
851 interactions with the kernel. |
|
|
852 |
|
|
853 * src/debug/dbg-threads-api.h: |
|
|
854 * src/debug/dbg_gdb.cxx: |
|
|
855 Added these files to repository to support GDB interactions |
|
|
856 with the kernel. Note that dbg-threads-api.h is a copy of a |
|
|
857 file in devo/libstub. Any changes there must be merged in here |
|
|
858 too. |
|
|
859 |
|
|
860 * src/PKGconf.mak: |
|
|
861 Added debug/dbg_gdb.cxx to COMPILE list. |
|
|
862 |
|
|
863 * include/thread.inl: |
|
|
864 * include/thread.hxx: |
|
|
865 Added support for GDB, specifically for thread-aware debugging. |
|
|
866 |
|
|
867 * include/intr.hxx: |
|
|
868 * src/intr/intr.cxx: |
|
|
869 Added an extra argument to interrupt_end(): a pointer to |
|
|
870 the saved register state. This is optionally used to provide |
|
|
871 a more interesting saved register state for GDB. |
|
|
872 |
|
|
873 Tue Aug 25 02:36:26 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
874 |
|
|
875 * include/generic-stub.h: |
|
|
876 Add void to empty prototype argument lists to silence compiler |
|
|
877 warnings |
|
|
878 |
|
|
879 Fri Aug 21 18:46:34 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
880 |
|
|
881 * src/common/clock.cxx (enable): |
|
|
882 Make the maths work right if we only just set up the clock |
|
|
883 thingy. Unsigned has a lot to answer for; when the next scheduled |
|
|
884 tick was all correct, the delta was -1, which correctly rounds to |
|
|
885 zero in the division. But it isn't -1 it's 18446744073709551615 |
|
|
886 which gave a shift of 15 in the the uITRON test programs. |
|
|
887 |
|
|
888 Fri Aug 21 11:40:50 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
889 |
|
|
890 * include/mboxt2.inl (put): |
|
|
891 * include/mempolt2.inl (alloc): |
|
|
892 Tidy Nick's changes (1998-07-27) for set_timer() semantics a bit, |
|
|
893 make it a bit more efficient and smaller code. |
|
|
894 |
|
|
895 Thu Aug 20 17:37:35 BST 1998 Chris Provenzano <proven@cygnus.com> |
|
|
896 |
|
|
897 * include/mvarimpl.inl, include/pkgconf/kernel.h: |
|
|
898 Added memory coallecsing to the variable size memory allocator. |
|
|
899 This option is enabled my default. |
|
|
900 |
|
|
901 * tests/stdlib/malloc2.c: Only print 50 messages, not 500. |
|
|
902 |
|
|
903 1998-08-20 Nick Garnett <nickg@cygnus.co.uk> |
|
|
904 |
|
|
905 * include/pkgconf/kernel.h: |
|
|
906 Moved definition of CYG_KERNEL_USE_INIT_PRIORITY from here |
|
|
907 to hal.h. |
|
|
908 |
|
|
909 * include/thread.hxx: |
|
|
910 Changed argument to cyg_thread_entry() to CYG_ADDRWORD from |
|
|
911 CYG_ADDRESS. |
|
|
912 |
|
|
913 * include/ktypes.h: |
|
|
914 Moved constructor priority ordering stuff out to infra/cyg_type.h. |
|
|
915 |
|
|
916 * include/kapi.h: |
|
|
917 * src/common/kapi.cxx: |
|
|
918 Added name and priority parameters to cyg_thread_create() and |
|
|
919 swapped stack size and base parameters. These changes are |
|
|
920 currently protected by DAY_OF_CHAOS ifdefs and are therefore |
|
|
921 inactive. |
|
|
922 |
|
|
923 Wed Aug 19 19:06:16 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
924 |
|
|
925 * tests/bin_sem1.cxx, tests/bin_sem2.cxx, tests/cnt_sem1.cxx, |
|
|
926 tests/flag1.cxx, tests/mbox1.cxx, tests/memfix2.cxx, |
|
|
927 tests/memvar2.cxx, tests/sync2.cxx, tests/sync3.cxx, |
|
|
928 tests/thread2.cxx, tests/release.cxx, tests/kill.cxx: |
|
|
929 Reorder inclusion of thread.inl to silence warnings |
|
|
930 |
|
|
931 Wed Aug 19 18:48:03 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
932 |
|
|
933 * include/kernel.hxx: |
|
|
934 Reorder inclusion of thread.inl to silence warnings |
|
|
935 |
|
|
936 Wed Aug 19 18:21:31 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
937 |
|
|
938 * src/common/kapi.cxx, src/sync/flag.cxx: |
|
|
939 Reorder inclusion of thread.inl to silence warnings |
|
|
940 |
|
|
941 * src/sync/bin_sem.cxx, src/sync/cnt_sem.cxx, src/sync/cnt_sem2.cxx, |
|
|
942 src/sync/mbox.cxx: |
|
|
943 Add inclusion of thread.inl to silence warnings |
|
|
944 |
|
|
945 * src/common/memset.c: |
|
|
946 Make pointer arithmetic be on char *, not void * to silence warnings |
|
|
947 |
|
|
948 * include/diag.h, src/trace/diag.c: |
|
|
949 Make diag_init take void parameter, and give diag_printf explicit |
|
|
950 parameters in prototypes to silence warnings |
|
|
951 |
|
|
952 1998-08-19 Nick Garnett <nickg@cygnus.co.uk> |
|
|
953 |
|
|
954 * include/pkgconf/kernel.h: |
|
|
955 * src/common/thread.cxx: |
|
|
956 Added ifdef for CYGIMP_IDLE_THREAD_YIELD to support single |
|
|
957 priority configurations. |
|
|
958 |
|
|
959 Tue Aug 18 16:56:38 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
960 |
|
|
961 * include/thread.hxx, include/thread.inl: |
|
|
962 To silence compiler warnings, move register_exception inline definition |
|
|
963 from the .hxx to the .inl. Also move attach_stack to before the |
|
|
964 constructor where it is invoked from. |
|
|
965 |
|
|
966 1998-08-18 Nick Garnett <nickg@cygnus.co.uk> |
|
|
967 |
|
|
968 * include/pkgconf/kernel.h: |
|
|
969 Moved all HAL specific config options out to a HAL config file. |
|
|
970 |
|
|
971 * include/kapi.h: |
|
|
972 * src/common/kapi.cxx: |
|
|
973 Added cyg_scheduler_lock() and cyg_scheduler_unlock() to provide |
|
|
974 user access to the scheduler lock. |
|
|
975 |
|
|
976 Mon Aug 17 21:39:20 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
977 |
|
|
978 * include/kapi.h: |
|
|
979 Insert "void" to empty parameter lists to silence warnings |
|
|
980 |
|
|
981 Fri Aug 14 18:10:20 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> |
|
|
982 |
|
|
983 * src/common/thread.cxx (exit): |
|
|
984 Set the state explicitly to EXITED rather than or'ing |
|
|
985 it in; should be safe cos it's what kill does in the normal case. |
|
|
986 Needed to avoid suspend sort of states persisting after death. |
|
|
987 One character changes are always aesthetically pleasing. |
|
|
988 |
|
|
989 Fri Aug 14 17:28:01 1998 Hugo Tyson <hmt@cygnus.co.uk> |
|
|
990 |
|
|
991 * include/pkgconf/kernel.h: |
|
|
992 Add config options as below: |
|
|
993 |
|
|
994 * src/common/thread.cxx: |
|
|
995 Add asserts of CYGNUM_KERNEL_MAX_COUNTED_WAKE_COUNT_ASSERT |
|
|
996 and CYGNUM_KERNEL_MAX_SUSPEND_COUNT_ASSERT if they are defined. |
|
|
997 Also lazily tidied format of func hdrs as per code review et al. |
|
|
998 |
|
|
999 1998-08-14 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1000 |
|
|
1001 * include/kapidata.h: |
|
|
1002 Added support for thread names and thread housekeeping list. |
|
|
1003 |
|
|
1004 * src/common/delete.cxx: |
|
|
1005 Added include for cyg_type.h. |
|
|
1006 |
|
|
1007 * include/pkgconf/kernel.h: |
|
|
1008 Added CYGIMP_THREAD_NAME and CYGIMP_THREAD_LIST options. |
|
|
1009 |
|
|
1010 * include/thread.inl: |
|
|
1011 * include/thread.hxx: |
|
|
1012 Added support for thread names and thread housekeeping list. |
|
|
1013 |
|
|
1014 * src/common/thread.cxx: |
|
|
1015 Added support for thread names and thread housekeeping list. |
|
|
1016 Fixed ordering bug in Cyg_Thread::delay(). |
|
|
1017 |
|
|
1018 Thu Aug 13 15:33:48 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
1019 |
|
|
1020 * include/ktypes.h: |
|
|
1021 Remove inlined new and delete as they aren't strictly permitted and |
|
|
1022 they prevent a valid new and delete being defined anywhere else! |
|
|
1023 |
|
|
1024 * src/common/delete.cxx, src/PKGconf.mak: |
|
|
1025 Add delete.cxx to provide default delete operation for when a C |
|
|
1026 library isn't present |
|
|
1027 |
|
|
1028 1998-07-28 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1029 |
|
|
1030 * include/thread.hxx, include/sched.hxx, include/mlqueue.hxx, |
|
|
1031 include/lottery.hxx, include/bitmap.hxx, src/common/thread.cxx, |
|
|
1032 src/sched/sched.cxx, src/sched/mlqueue.cxx, src/sched/lottery.cxx, |
|
|
1033 src/sched/bitmap.cxx: |
|
|
1034 Added an alternative constructor to Cyg_Thread which takes |
|
|
1035 arguments in new order, and includes a scheduling parameters |
|
|
1036 argument. Propagated effects of this through Cyg_SchedThread |
|
|
1037 and Cyg_SchedThread_Implementation. This mostly takes the form |
|
|
1038 of passing the scheduling parameters through to the constructors. |
|
|
1039 |
|
|
1040 1998-07-27 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1041 |
|
|
1042 * src/sync/flag.cxx, src/sync/cnt_sem2.cxx, include/mempoolt.inl, |
|
|
1043 include/mempolt2.inl, include/mboxt2.inl, include/mboxt.inl: |
|
|
1044 Modified code in API calls that take a timeout to allow for a |
|
|
1045 timeout in the past. |
|
|
1046 NOTE: The timeouts have for now been left as relative delays, they |
|
|
1047 should be converted to absolute timeouts. |
|
|
1048 |
|
|
1049 * src/common/thread.cxx: |
|
|
1050 Modified code in counted_sleep to allow for a timeout in the past. |
|
|
1051 Added handling of EXIT wake_reason in delay(). |
|
|
1052 |
|
|
1053 1998-07-24 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1054 |
|
|
1055 * include/thread.inl: |
|
|
1056 Reordered code in Cyg_Thread::set_timer() to init the timer after |
|
|
1057 wake_reason has been assigned. |
|
|
1058 |
|
|
1059 * include/clock.inl: |
|
|
1060 Removed Cyg_Alarm::enable(). |
|
|
1061 |
|
|
1062 * src/sync/mutex.cxx (Cyg_Condition_Variable::wait): |
|
|
1063 Modified order of code in timed version of wait to allow for a |
|
|
1064 timout in the past. |
|
|
1065 |
|
|
1066 * src/sync/cnt_sem.cxx (Cyg_Counting_Semaphore::wait): |
|
|
1067 Modified order of code in timed version of wait to allow for a |
|
|
1068 timout in the past. Also modified timeout to be absolute rather |
|
|
1069 than relative. |
|
|
1070 |
|
|
1071 * src/common/thread.cxx (Cyg_Thread::wake): |
|
|
1072 Added test for whether a thread is actually asleep before waking |
|
|
1073 it. Allows us to apply wake() to awake threads without damage. |
|
|
1074 |
|
|
1075 * src/common/clock.cxx: |
|
|
1076 Added code to Cyg_Counter::add_alarm() to deal with alarms |
|
|
1077 that trigger now or in the past. |
|
|
1078 Moved Cyg_Alarm::enable() here. Added code to do the right thing |
|
|
1079 when reenabling previously disabled interval alarms. |
|
|
1080 |
|
|
1081 1998-07-23 Nick Garnett <nickg@cygnus.co.uk> |
|
|
1082 |
|
|
1083 * src/debug/stubrom.c: Added header comments. |
|
|
1084 |
|
|
1085 Thu Mar 26 18:25:36 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
1086 |
|
|
1087 * src/test/philo.cxx: |
|
|
1088 Rename CYG_DEBUG ifdef to CYG_RELEASE_DEBUG |
|
|
1089 |
|
|
1090 Wed Mar 25 23:23:39 GMT 1998 Chris Provenzano <proven@cygnus.com> |
|
|
1091 |
|
|
1092 * configure.in: Fix so non_arch.h is updated even if |
|
|
1093 config.cache does exists. |
|
|
1094 |
|
|
1095 * include/kapi.h, include/kapidata.h, include/kernel.hxx |
|
|
1096 * include/mboxt.inl, include/sched.hxx: |
|
|
1097 #include <eccconf/kernel.h> instead of include <eccconf/kernel.h> |
|
|
1098 |
|
|
1099 * include/eccconf/kernel.h: Added. This was old devo/config.h |
|
|
1100 |
|
|
1101 * src/Makefile.am : Set CYG_CONFIGURATION to "<eccconf/kernel.h>" |
|
|
1102 |
|
|
1103 * src/test/Makefile.am : Build .gdbinit from gdbinit.in |
|
|
1104 and tree from tree.in |
|
|
1105 |
|
|
1106 Wed Mar 25 18:24:48 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
|
1107 |
|
|
1108 * src/Makefile.am, src/common/memcpy.c, src/common/memset.c: |
|
|
1109 Move memcpy and memset functions from C library into kernel to |
|
|
1110 satisfy the requirements of gcc - namely it must be available at |
|
|
1111 at all time. Changed memcpy and memset to sit more cleanly in the |
|
|
1112 kernel, and lose all dependencies on the C library |
|
|
1113 * src/Makefile.in: regenerated |
|
|
1114 |
|
|
1115 Fri Mar 13 18:36:42 GMT 1998 Chris Provenzano <proven@cygnus.com> |
|
|
1116 |
|
|
1117 * configure.in : Add rule to get correct objcopy for target |
|
|
1118 * src/test/Makefile.am : Add rule to build philo.srec |
|
|
1119 |
|
|
1120 Fri Mar 13 11:47:23 GMT 1998 Chris Provenzano <proven@cygnus.com> |
|
|
1121 |
|
|
1122 * configure.in, non_arch.h.in, non_arch.sh |
|
|
1123 Add support for the mn103000 |
|
|
1124 |
|
|
1125 Thu Mar 12 11:38:28 GMT 1998 David Moore <dsm@cygnus.co.uk> |
|
|
1126 |
|
|
1127 * src/Makefile.am: |
|
|
1128 Removed flag to leave comments in generated linker script. |
|
|
1129 |
|
|
1130 Thu Mar 12 10:55:20 GMT 1998 David Moore <dsm@cygnus.co.uk> |
|
|
1131 |
|
|
1132 * configure.in: |
|
|
1133 Fixed setting of platform variable |
|
|
1134 |
|
|
1135 Wed Mar 11 16:54:28 GMT 1998 Chris Provenzano <proven@cygnus.com> |
|
|
1136 |
|
|
1137 * src/test/Makefile.am, tests/Makefile.am: |
|
|
1138 Make sure CXXFLAGS from configure are also used |
|
|
1139 |
|
|
1140 Wed Mar 11 16:16:57 GMT 1998 Chris Provenzano <proven@cygnus.com> |
|
|
1141 |
|
|
1142 * configure.in, non_arch.h.in. non_arch.sh: |
|
|
1143 Added build support for mips |
|
|
1144 * tests/Makefile.am, src/test/Makefile.am |
|
|
1145 Link with -nostdlib -lgcc |
|
|
1146 |
|
|
1147 Wed Mar 11 14:43:36 GMT 1998 Chris Provenzano <proven@cygnus.com> |
|
|
1148 |
|
|
1149 * Makefile.am, configure.in, tests/Makefile.am |
|
|
1150 support building tests in the tests directory |
|
|
1151 |
|
|
1152 Wed Mar 11 13:18:17 GMT 1998 Chris Provenzano <proven@cygnus.com> |
|
|
1153 |
|
|
1154 * acinclude.m4, stamp-h.in, non_arch.h.in, src/Makefile.am: |
|
|
1155 Added to support new kernel configure/make process |
|
|
1156 |
|
|
1157 * Makefile.am: Modified to support new kernel configure/make |
|
|
1158 process. |
|
|
1159 |
|
|
1160 * src/acinclude.m4, src/aclocal.m4, src/configure, src/configure.in |
|
|
1161 Deleted to support new kernel configure/make process |
|
|
1162 |
|
|
1163 * Makefile.in, configure, aclocal.m4, src/Makefile.in, |
|
|
1164 src/configure: regenerated |
|
|
1165 |
|
|
1166 * non_arch.sh: New shellscript to change platform/startup/debug |
|
|
1167 options after a configure is done. |
|
|
1168 |
|
|
1169 * src/devo/config.h: include non_arch.h, for platform/startup/debug |
|
|
1170 options. This is generated at configure and modified by non_arch.sh |
|
|
1171 |
|
|
1172 //=========================================================================== |
|
|
1173 //####COPYRIGHTBEGIN#### |
|
|
1174 // |
|
|
1175 // ------------------------------------------- |
|
|
1176 // The contents of this file are subject to the Cygnus eCos Public License |
|
|
1177 // Version 1.0 (the "License"); you may not use this file except in |
|
|
1178 // compliance with the License. You may obtain a copy of the License at |
|
|
1179 // http://sourceware.cygnus.com/ecos |
|
|
1180 // |
|
|
1181 // Software distributed under the License is distributed on an "AS IS" |
|
|
1182 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the |
|
|
1183 // License for the specific language governing rights and limitations under |
|
|
1184 // the License. |
|
|
1185 // |
|
|
1186 // The Original Code is eCos - Embedded Cygnus Operating System, released |
|
|
1187 // September 30, 1998. |
|
|
1188 // |
|
|
1189 // The Initial Developer of the Original Code is Cygnus. Portions created |
|
|
1190 // by Cygnus are Copyright (C) 1998 Cygnus Solutions. All Rights Reserved. |
|
|
1191 // ------------------------------------------- |
|
|
1192 // |
|
|
1193 //####COPYRIGHTEND#### |
|
|
1194 //=========================================================================== |