Mercurial > ecos
annotate packages/kernel/current/ChangeLog @ 56:755351606154 ecos-sw-1999-12-01
Merge from eCos master repository on 1999-12-01-18:03:05-GMT
| author | jlarmour |
|---|---|
| date | Wed, 01 Dec 1999 18:33:37 +0000 |
| parents | a0774359f013 |
| children | 3836136e7743 |
| rev | line source |
|---|---|
|
56
755351606154
Merge from eCos master repository on 1999-12-01-18:03:05-GMT
jlarmour
parents:
50
diff
changeset
|
1 1999-11-30 Hugo Tyson <hmt@cygnus.co.uk> |
|
755351606154
Merge from eCos master repository on 1999-12-01-18:03:05-GMT
jlarmour
parents:
50
diff
changeset
|
2 |
|
755351606154
Merge from eCos master repository on 1999-12-01-18:03:05-GMT
jlarmour
parents:
50
diff
changeset
|
3 * src/common/kapi.cxx (cyg_scheduler_lock, cyg_scheduler_unlock): |
|
755351606154
Merge from eCos master repository on 1999-12-01-18:03:05-GMT
jlarmour
parents:
50
diff
changeset
|
4 assert good range for sched lock, and be defensive anyway. This |
|
755351606154
Merge from eCos master repository on 1999-12-01-18:03:05-GMT
jlarmour
parents:
50
diff
changeset
|
5 is in response to a long time taken to track down a "unlocked too |
|
755351606154
Merge from eCos master repository on 1999-12-01-18:03:05-GMT
jlarmour
parents:
50
diff
changeset
|
6 many times" bug. |
|
755351606154
Merge from eCos master repository on 1999-12-01-18:03:05-GMT
jlarmour
parents:
50
diff
changeset
|
7 |
|
755351606154
Merge from eCos master repository on 1999-12-01-18:03:05-GMT
jlarmour
parents:
50
diff
changeset
|
8 1999-11-24 Gary Thomas <gthomas@cygnus.co.uk> |
|
755351606154
Merge from eCos master repository on 1999-12-01-18:03:05-GMT
jlarmour
parents:
50
diff
changeset
|
9 |
|
755351606154
Merge from eCos master repository on 1999-12-01-18:03:05-GMT
jlarmour
parents:
50
diff
changeset
|
10 * tests/tm_basic.cxx: Size tests based on available resources, |
|
755351606154
Merge from eCos master repository on 1999-12-01-18:03:05-GMT
jlarmour
parents:
50
diff
changeset
|
11 using MLT files. Fall back if not available. |
|
755351606154
Merge from eCos master repository on 1999-12-01-18:03:05-GMT
jlarmour
parents:
50
diff
changeset
|
12 |
|
755351606154
Merge from eCos master repository on 1999-12-01-18:03:05-GMT
jlarmour
parents:
50
diff
changeset
|
13 1999-11-22 Nick Garnett <nickg@cygnus.co.uk> |
|
755351606154
Merge from eCos master repository on 1999-12-01-18:03:05-GMT
jlarmour
parents:
50
diff
changeset
|
14 |
|
755351606154
Merge from eCos master repository on 1999-12-01-18:03:05-GMT
jlarmour
parents:
50
diff
changeset
|
15 * src/sched/bitmap.cxx (Cyg_Scheduler_Implementation::add_thread): |
|
755351606154
Merge from eCos master repository on 1999-12-01-18:03:05-GMT
jlarmour
parents:
50
diff
changeset
|
16 Fixed typo in assertion, and moved it to a more useful place. |
|
755351606154
Merge from eCos master repository on 1999-12-01-18:03:05-GMT
jlarmour
parents:
50
diff
changeset
|
17 |
|
50
a0774359f013
Merge from eCos master repository on 1999-11-02-17:02:15-GMT
jlarmour
parents:
46
diff
changeset
|
18 1999-10-29 Gary Thomas <gthomas@cygnus.co.uk> |
|
a0774359f013
Merge from eCos master repository on 1999-11-02-17:02:15-GMT
jlarmour
parents:
46
diff
changeset
|
19 |
|
a0774359f013
Merge from eCos master repository on 1999-11-02-17:02:15-GMT
jlarmour
parents:
46
diff
changeset
|
20 * tests/PKGconf.mak: Enable cache tests for Cirrus Logic boards. |
|
a0774359f013
Merge from eCos master repository on 1999-11-02-17:02:15-GMT
jlarmour
parents:
46
diff
changeset
|
21 |
|
46
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
44
diff
changeset
|
22 1999-10-08 Jesper Skov <jskov@cygnus.co.uk> |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
44
diff
changeset
|
23 |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
44
diff
changeset
|
24 * tests/kcache1.c: Fix array size. |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
44
diff
changeset
|
25 |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
44
diff
changeset
|
26 * src/sched/bitmap.cxx (add_thread): |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
44
diff
changeset
|
27 * src/sched/mlqueue.cxx (add_thread): |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
44
diff
changeset
|
28 Check for valid thread priority. |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
44
diff
changeset
|
29 |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
44
diff
changeset
|
30 |
|
44
41bd4f3a90de
Merge from eCos master repository on 1999-10-08-07:47:04-BST
jlarmour
parents:
40
diff
changeset
|
31 1999-10-05 Jesper Skov <jskov@cygnus.co.uk> |
|
41bd4f3a90de
Merge from eCos master repository on 1999-10-08-07:47:04-BST
jlarmour
parents:
40
diff
changeset
|
32 |
|
41bd4f3a90de
Merge from eCos master repository on 1999-10-08-07:47:04-BST
jlarmour
parents:
40
diff
changeset
|
33 * tests/kcache1.c: Reduced memory footprint. |
|
41bd4f3a90de
Merge from eCos master repository on 1999-10-08-07:47:04-BST
jlarmour
parents:
40
diff
changeset
|
34 |
|
40
a3cc6665b684
Merge from eCos master repository on 1999-10-01-07:47:04-BST
jlarmour
parents:
38
diff
changeset
|
35 1999-09-25 Jesper Skov <jskov@cygnus.co.uk> |
|
a3cc6665b684
Merge from eCos master repository on 1999-10-01-07:47:04-BST
jlarmour
parents:
38
diff
changeset
|
36 |
|
a3cc6665b684
Merge from eCos master repository on 1999-10-01-07:47:04-BST
jlarmour
parents:
38
diff
changeset
|
37 * tests/stress_threads.c: Added date header and flush() calls. |
|
a3cc6665b684
Merge from eCos master repository on 1999-10-01-07:47:04-BST
jlarmour
parents:
38
diff
changeset
|
38 |
|
38
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
39 1999-09-16 Hugo Tyson <hmt@cygnus.co.uk> |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
40 |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
41 * tests/tm_basic.cxx (run_mutex_tests): Must unlock mutices before |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
42 destroying, given the change below. |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
43 |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
44 * src/common/kapi.cxx (cyg_cond_destroy): Call the correct |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
45 destructor. As it happens, it didn't matter because all these |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
46 destructors do is assert the queue is empty, and the queue is the |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
47 2nd word in every case. |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
48 (cyg_mutex_destroy): Call the destructor at all, so that |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
49 assertions are made. |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
50 |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
51 1999-09-13 Gary Thomas <gthomas@cygnus.co.uk> |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
52 |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
53 * src/intr/intr.cxx (call_pending_DSRs_inner): Add assert to check |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
54 for valid DSR (before trying to use it). |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
55 |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
56 1999-09-13 Jesper Skov <jskov@cygnus.co.uk> |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
57 |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
58 * tests/stress_threads.c: Print out malloc system info. |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
59 (print_statistics): Fix buglet. |
|
e7ba79f6d3a8
Merge from eCos master repository on 1999-09-23-20:10:25-BST
jlarmour
parents:
36
diff
changeset
|
60 |
|
36
e97d78785e2d
Merge from eCos master repository on 1999-09-12-15:40:34-BST
jlarmour
parents:
34
diff
changeset
|
61 1999-09-10 Jesper Skov <jskov@cygnus.co.uk> |
|
e97d78785e2d
Merge from eCos master repository on 1999-09-12-15:40:34-BST
jlarmour
parents:
34
diff
changeset
|
62 |
|
e97d78785e2d
Merge from eCos master repository on 1999-09-12-15:40:34-BST
jlarmour
parents:
34
diff
changeset
|
63 * tests/stress_threads.c: Print out more info. Reduce dump |
|
e97d78785e2d
Merge from eCos master repository on 1999-09-12-15:40:34-BST
jlarmour
parents:
34
diff
changeset
|
64 frequency as test runs. |
|
e97d78785e2d
Merge from eCos master repository on 1999-09-12-15:40:34-BST
jlarmour
parents:
34
diff
changeset
|
65 |
|
34
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
66 1999-08-25 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
67 |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
68 * include/pkgconf/kernel.h: Add missing close brace in |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
69 CYGIMP_KERNEL_COUNTERS_CLOCK_LATENCY CDL. |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
70 |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
71 1999-08-24 Nick Garnett <nickg@cygnus.co.uk> |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
72 |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
73 * tests/kcache1.c (entry0): Depending on architecture, set |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
74 cyg_test_is_simulator for last two tests. Otherwise they take far |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
75 too long and time out. |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
76 |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
77 1999-08-23 Hugo Tyson <hmt@cygnus.co.uk> |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
78 |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
79 * tests/intr0.cxx (vsr0): |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
80 * tests/kintr0.c (vsr0): |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
81 Add a comment to the effect that vsr0() is NOT a valid VSR on any |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
82 known platform; VSRs must be writ in assembler. Customer |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
83 requested this, the examples are rather confusing otherwise. |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
84 |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
85 1999-08-23 Nick Garnett <nickg@cygnus.co.uk> |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
86 |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
87 * include/pkgconf/kernel.h: |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
88 * src/common/clock.cxx: |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
89 * tests/tm_basic.cxx: |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
90 Added CYGVAR_KERNEL_COUNTERS_CLOCK_DSR_LATENCY to enable recording |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
91 of DSR latency figures. Added code controlled by this option to |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
92 clock and tm_basic. Also made interrupt latency measurement |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
93 primarily dependent on CYGVAR_KERNEL_COUNTERS_CLOCK_LATENCY since |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
94 whether HAL_CLOCK_LATENCY is defined is not sufficient. |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
30
diff
changeset
|
95 |
|
30
641b639be825
Merge from eCos master repository on 1999-08-16-22:01:37-BST
jlarmour
parents:
28
diff
changeset
|
96 1999-08-16 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
641b639be825
Merge from eCos master repository on 1999-08-16-22:01:37-BST
jlarmour
parents:
28
diff
changeset
|
97 |
|
641b639be825
Merge from eCos master repository on 1999-08-16-22:01:37-BST
jlarmour
parents:
28
diff
changeset
|
98 * src/sload/sload.c: Rename AM32 to AM31 |
|
641b639be825
Merge from eCos master repository on 1999-08-16-22:01:37-BST
jlarmour
parents:
28
diff
changeset
|
99 |
|
641b639be825
Merge from eCos master repository on 1999-08-16-22:01:37-BST
jlarmour
parents:
28
diff
changeset
|
100 1999-08-12 Nick Garnett <nickg@cygnus.co.uk> |
|
641b639be825
Merge from eCos master repository on 1999-08-16-22:01:37-BST
jlarmour
parents:
28
diff
changeset
|
101 |
|
641b639be825
Merge from eCos master repository on 1999-08-16-22:01:37-BST
jlarmour
parents:
28
diff
changeset
|
102 * src/debug/dbg_gdb.cxx (dbg_make_threadref): Extended test for |
|
641b639be825
Merge from eCos master repository on 1999-08-16-22:01:37-BST
jlarmour
parents:
28
diff
changeset
|
103 uninitialized thread pointer. |
|
641b639be825
Merge from eCos master repository on 1999-08-16-22:01:37-BST
jlarmour
parents:
28
diff
changeset
|
104 |
|
28
18ee5a9c102e
Merge from eCos master repository on 1999-08-09-17:04:48-BST
jlarmour
parents:
24
diff
changeset
|
105 1999-07-29 Jesper Skov <jskov@cygnus.co.uk> |
|
18ee5a9c102e
Merge from eCos master repository on 1999-08-09-17:04:48-BST
jlarmour
parents:
24
diff
changeset
|
106 |
|
18ee5a9c102e
Merge from eCos master repository on 1999-08-09-17:04:48-BST
jlarmour
parents:
24
diff
changeset
|
107 * src/sync/mutex.cxx (lock): Removed assertion again. Not possible |
|
18ee5a9c102e
Merge from eCos master repository on 1999-08-09-17:04:48-BST
jlarmour
parents:
24
diff
changeset
|
108 to determine if a violation wil cause a deadlock. |
|
18ee5a9c102e
Merge from eCos master repository on 1999-08-09-17:04:48-BST
jlarmour
parents:
24
diff
changeset
|
109 |
|
18ee5a9c102e
Merge from eCos master repository on 1999-08-09-17:04:48-BST
jlarmour
parents:
24
diff
changeset
|
110 1999-07-27 Jesper Skov <jskov@cygnus.co.uk> |
|
18ee5a9c102e
Merge from eCos master repository on 1999-08-09-17:04:48-BST
jlarmour
parents:
24
diff
changeset
|
111 |
|
18ee5a9c102e
Merge from eCos master repository on 1999-08-09-17:04:48-BST
jlarmour
parents:
24
diff
changeset
|
112 * src/sync/mutex.cxx (lock): Added simple assertion check for |
|
18ee5a9c102e
Merge from eCos master repository on 1999-08-09-17:04:48-BST
jlarmour
parents:
24
diff
changeset
|
113 deadlocks. |
|
18ee5a9c102e
Merge from eCos master repository on 1999-08-09-17:04:48-BST
jlarmour
parents:
24
diff
changeset
|
114 |
|
18ee5a9c102e
Merge from eCos master repository on 1999-08-09-17:04:48-BST
jlarmour
parents:
24
diff
changeset
|
115 * tests/stress_threads.c: Only allow printf from main thread to |
|
18ee5a9c102e
Merge from eCos master repository on 1999-08-09-17:04:48-BST
jlarmour
parents:
24
diff
changeset
|
116 prevent deadlocks. |
|
18ee5a9c102e
Merge from eCos master repository on 1999-08-09-17:04:48-BST
jlarmour
parents:
24
diff
changeset
|
117 |
|
24
306eee292492
Merge from eCos master repository on 1999-07-16-05:47:06-BST
jlarmour
parents:
22
diff
changeset
|
118 1999-07-14 Hugo Tyson <hmt@cygnus.co.uk> |
|
306eee292492
Merge from eCos master repository on 1999-07-16-05:47:06-BST
jlarmour
parents:
22
diff
changeset
|
119 |
|
306eee292492
Merge from eCos master repository on 1999-07-16-05:47:06-BST
jlarmour
parents:
22
diff
changeset
|
120 * tests/kcache1.c (entry0): Also perform timing tests with |
|
306eee292492
Merge from eCos master repository on 1999-07-16-05:47:06-BST
jlarmour
parents:
22
diff
changeset
|
121 HAL_DCACHE_INVALIDATE_ALL and/or HAL_ICACHE_INVALIDATE_ALL in the |
|
306eee292492
Merge from eCos master repository on 1999-07-16-05:47:06-BST
jlarmour
parents:
22
diff
changeset
|
122 loop if provided by the HAL. Invalidating the Data cache can |
|
306eee292492
Merge from eCos master repository on 1999-07-16-05:47:06-BST
jlarmour
parents:
22
diff
changeset
|
123 spoil clock operation, so elapsed time appears to be 0. |
|
306eee292492
Merge from eCos master repository on 1999-07-16-05:47:06-BST
jlarmour
parents:
22
diff
changeset
|
124 |
|
306eee292492
Merge from eCos master repository on 1999-07-16-05:47:06-BST
jlarmour
parents:
22
diff
changeset
|
125 * tests/kcache2.c (entry0): Replace the "if (0)" for having a |
|
306eee292492
Merge from eCos master repository on 1999-07-16-05:47:06-BST
jlarmour
parents:
22
diff
changeset
|
126 copy-back cache with a proper test on a HAL macro. Even though I |
|
306eee292492
Merge from eCos master repository on 1999-07-16-05:47:06-BST
jlarmour
parents:
22
diff
changeset
|
127 couldn't actually get those parts of the test to work on the |
|
306eee292492
Merge from eCos master repository on 1999-07-16-05:47:06-BST
jlarmour
parents:
22
diff
changeset
|
128 platform I'm currently working on. |
|
306eee292492
Merge from eCos master repository on 1999-07-16-05:47:06-BST
jlarmour
parents:
22
diff
changeset
|
129 |
|
306eee292492
Merge from eCos master repository on 1999-07-16-05:47:06-BST
jlarmour
parents:
22
diff
changeset
|
130 1999-07-09 Jesper Skov <jskov@cygnus.co.uk> |
|
306eee292492
Merge from eCos master repository on 1999-07-16-05:47:06-BST
jlarmour
parents:
22
diff
changeset
|
131 PR 20210, 20142 |
|
306eee292492
Merge from eCos master repository on 1999-07-16-05:47:06-BST
jlarmour
parents:
22
diff
changeset
|
132 * tests/stress_threads.c: Shifted thread priorities to make room |
|
306eee292492
Merge from eCos master repository on 1999-07-16-05:47:06-BST
jlarmour
parents:
22
diff
changeset
|
133 for main() at priority 0. |
|
306eee292492
Merge from eCos master repository on 1999-07-16-05:47:06-BST
jlarmour
parents:
22
diff
changeset
|
134 |
|
306eee292492
Merge from eCos master repository on 1999-07-16-05:47:06-BST
jlarmour
parents:
22
diff
changeset
|
135 Fixed indentation. |
|
306eee292492
Merge from eCos master repository on 1999-07-16-05:47:06-BST
jlarmour
parents:
22
diff
changeset
|
136 |
|
22
53104bbd5f99
Merge from eCos master repository on 1999-07-09-05:47:06-BST
jlarmour
parents:
20
diff
changeset
|
137 1999-07-08 Jesper Skov <jskov@cygnus.co.uk> |
|
53104bbd5f99
Merge from eCos master repository on 1999-07-09-05:47:06-BST
jlarmour
parents:
20
diff
changeset
|
138 PR 20244 |
|
53104bbd5f99
Merge from eCos master repository on 1999-07-09-05:47:06-BST
jlarmour
parents:
20
diff
changeset
|
139 * tests/stress_threads.c: Changed cyg_user_start() to main() |
|
53104bbd5f99
Merge from eCos master repository on 1999-07-09-05:47:06-BST
jlarmour
parents:
20
diff
changeset
|
140 ensuring a bigger stack (it calls sprintf). |
|
53104bbd5f99
Merge from eCos master repository on 1999-07-09-05:47:06-BST
jlarmour
parents:
20
diff
changeset
|
141 Increased STACK_SIZE by 2kB for printf calls. |
|
53104bbd5f99
Merge from eCos master repository on 1999-07-09-05:47:06-BST
jlarmour
parents:
20
diff
changeset
|
142 |
|
20
5f5102441818
Merge from eCos master repository on 1999-07-02-23:17:07-BST
jlarmour
parents:
18
diff
changeset
|
143 1999-06-30 Jesper Skov <jskov@cygnus.co.uk> |
|
5f5102441818
Merge from eCos master repository on 1999-07-02-23:17:07-BST
jlarmour
parents:
18
diff
changeset
|
144 |
|
5f5102441818
Merge from eCos master repository on 1999-07-02-23:17:07-BST
jlarmour
parents:
18
diff
changeset
|
145 * tests/dhrystone.c: Also NA-quit if CYGPKG_INFRA_DEBUG or |
|
5f5102441818
Merge from eCos master repository on 1999-07-02-23:17:07-BST
jlarmour
parents:
18
diff
changeset
|
146 CYGPKG_KERNEL_INSTRUMENT are enabled. |
|
5f5102441818
Merge from eCos master repository on 1999-07-02-23:17:07-BST
jlarmour
parents:
18
diff
changeset
|
147 |
|
18
7253dcc42a09
Merge from eCos master repository on 1999-06-25-15:31:50-BST
jlarmour
parents:
16
diff
changeset
|
148 1999-06-23 Jesper Skov <jskov@cygnus.co.uk> |
|
7253dcc42a09
Merge from eCos master repository on 1999-06-25-15:31:50-BST
jlarmour
parents:
16
diff
changeset
|
149 PR 20209 |
|
7253dcc42a09
Merge from eCos master repository on 1999-06-25-15:31:50-BST
jlarmour
parents:
16
diff
changeset
|
150 * tests/dhrystone.c: Use fewer loops on ARM targets - they don't |
|
7253dcc42a09
Merge from eCos master repository on 1999-06-25-15:31:50-BST
jlarmour
parents:
16
diff
changeset
|
151 have a cache. |
|
7253dcc42a09
Merge from eCos master repository on 1999-06-25-15:31:50-BST
jlarmour
parents:
16
diff
changeset
|
152 |
|
7253dcc42a09
Merge from eCos master repository on 1999-06-25-15:31:50-BST
jlarmour
parents:
16
diff
changeset
|
153 1999-06-22 Nick Garnett <nickg@cygnus.co.uk> |
|
7253dcc42a09
Merge from eCos master repository on 1999-06-25-15:31:50-BST
jlarmour
parents:
16
diff
changeset
|
154 |
|
7253dcc42a09
Merge from eCos master repository on 1999-06-25-15:31:50-BST
jlarmour
parents:
16
diff
changeset
|
155 * src/intr/intr.cxx (Cyg_Interrupt::chain_isr): Was testing the wrong |
|
7253dcc42a09
Merge from eCos master repository on 1999-06-25-15:31:50-BST
jlarmour
parents:
16
diff
changeset
|
156 macro for the default ISR. Fixed. |
|
7253dcc42a09
Merge from eCos master repository on 1999-06-25-15:31:50-BST
jlarmour
parents:
16
diff
changeset
|
157 |
|
7253dcc42a09
Merge from eCos master repository on 1999-06-25-15:31:50-BST
jlarmour
parents:
16
diff
changeset
|
158 * src/common/clock.cxx (Cyg_RealTimeClock::isr): Add HANDLED bit |
|
7253dcc42a09
Merge from eCos master repository on 1999-06-25-15:31:50-BST
jlarmour
parents:
16
diff
changeset
|
159 to returned value. |
|
7253dcc42a09
Merge from eCos master repository on 1999-06-25-15:31:50-BST
jlarmour
parents:
16
diff
changeset
|
160 |
|
7253dcc42a09
Merge from eCos master repository on 1999-06-25-15:31:50-BST
jlarmour
parents:
16
diff
changeset
|
161 1999-06-21 Jesper Skov <jskov@cygnus.co.uk> |
|
7253dcc42a09
Merge from eCos master repository on 1999-06-25-15:31:50-BST
jlarmour
parents:
16
diff
changeset
|
162 PR 20209 |
|
7253dcc42a09
Merge from eCos master repository on 1999-06-25-15:31:50-BST
jlarmour
parents:
16
diff
changeset
|
163 * tests/dhrystone.c: Don't run test on sims or synthetic target. |
|
7253dcc42a09
Merge from eCos master repository on 1999-06-25-15:31:50-BST
jlarmour
parents:
16
diff
changeset
|
164 Only run test when compiled with optimization. |
|
7253dcc42a09
Merge from eCos master repository on 1999-06-25-15:31:50-BST
jlarmour
parents:
16
diff
changeset
|
165 |
|
16
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
14
diff
changeset
|
166 1999-06-18 Jesper Skov <jskov@cygnus.co.uk> |
|
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
14
diff
changeset
|
167 |
|
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
14
diff
changeset
|
168 * tests/dhrystone.c: Added unsupported header. |
|
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
14
diff
changeset
|
169 |
|
14
01ce82f3e11a
Merge from eCos master repository on 1999-06-11-17:05:41-BST
jlarmour
parents:
10
diff
changeset
|
170 1999-06-10 Hugo Tyson <hmt@cygnus.co.uk> |
|
01ce82f3e11a
Merge from eCos master repository on 1999-06-11-17:05:41-BST
jlarmour
parents:
10
diff
changeset
|
171 |
|
01ce82f3e11a
Merge from eCos master repository on 1999-06-11-17:05:41-BST
jlarmour
parents:
10
diff
changeset
|
172 * src/debug/dbg_gdb.cxx (dbg_threadinfo): Report counted sleep |
|
01ce82f3e11a
Merge from eCos master repository on 1999-06-11-17:05:41-BST
jlarmour
parents:
10
diff
changeset
|
173 correctly; both COUNTSLEEP and SLEEPING are set. |
|
01ce82f3e11a
Merge from eCos master repository on 1999-06-11-17:05:41-BST
jlarmour
parents:
10
diff
changeset
|
174 |
|
01ce82f3e11a
Merge from eCos master repository on 1999-06-11-17:05:41-BST
jlarmour
parents:
10
diff
changeset
|
175 1999-06-01 Hugo Tyson <hmt@masala.cygnus.co.uk> |
|
01ce82f3e11a
Merge from eCos master repository on 1999-06-11-17:05:41-BST
jlarmour
parents:
10
diff
changeset
|
176 |
|
01ce82f3e11a
Merge from eCos master repository on 1999-06-11-17:05:41-BST
jlarmour
parents:
10
diff
changeset
|
177 * src/debug/dbg_gdb.cxx (dbg_threadinfo): Make the thread state |
|
01ce82f3e11a
Merge from eCos master repository on 1999-06-11-17:05:41-BST
jlarmour
parents:
10
diff
changeset
|
178 string a little more sensible when read as plain english. |
|
01ce82f3e11a
Merge from eCos master repository on 1999-06-11-17:05:41-BST
jlarmour
parents:
10
diff
changeset
|
179 |
|
16
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
14
diff
changeset
|
180 1999-05-31 Jesper Skov <jskov@cygnus.co.uk> |
|
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
14
diff
changeset
|
181 |
|
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
14
diff
changeset
|
182 * tests/dhrystone.c: |
|
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
14
diff
changeset
|
183 * tests/PKGconf.mak (TESTS): |
|
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
14
diff
changeset
|
184 Added dhrystone test. |
|
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
14
diff
changeset
|
185 |
|
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
14
diff
changeset
|
186 Updated to 2.1 from ftp.nosc.mil |
|
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
14
diff
changeset
|
187 |
|
10
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
188 1999-05-27 Nick Garnett <nickg@cygnus.co.uk> |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
189 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
190 * src/intr/intr.cxx (Cyg_Interrupt::chain_isr): Calls |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
191 HAL_DEFAULT_ISR if it is defined and no chained ISRs have |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
192 reported that they have handled the interrupt. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
193 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
194 * src/debug/dbg_gdb.cxx (dbg_make_threadref): Fixed this routine |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
195 so that it copes with a NULL thread object. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
196 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
197 1999-05-27 Jesper Skov <jskov@cygnus.co.uk> |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
198 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
199 * tests/stress_threads.c: Output stackmon status |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
200 occasionally. Output (simple) run time. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
201 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
202 1999-05-27 Jesper Skov <jskov@cygnus.co.uk> |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
203 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
204 * tests/kcache1.c: Added handling of unified caches. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
205 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
206 1999-05-26 Jesper Skov <jskov@cygnus.co.uk> |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
207 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
208 * include/test/stackmon.h: Fixed some typos and thinkos. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
209 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
210 * tests/tm_basic.cxx: Include new stackmon header. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
211 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
212 * src/common/kapi.cxx: |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
213 * include/kapi.h: |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
214 Added kapi support for stackmon requirements. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
215 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
216 * include/stackmon.hxx: [deleted] |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
217 * include/test/stackmon.h: [added] |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
218 Made stackmon safe to use from both C and C++. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
219 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
220 1999-05-25 Jesper Skov <jskov@cygnus.co.uk> |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
221 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
222 * tests/stress_threads.c (setup_death_alarm): Only compile when |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
223 DEATH_TIME_LIMIT is defined. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
224 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
225 1999-05-25 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
226 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
227 * tests/except1.cxx: |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
228 * tests/intr0.cxx (intr0_main): |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
229 * tests/kexcept1.c: |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
230 * tests/kintr0.c (kintr0_main): |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
231 Change all mentions of CYG_HAL_TX39[_JMR3904] to |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
232 CYG_HAL_MIPS_TX39[_JMR3904] |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
233 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
234 * tests/kcache1.c: Use HAL_DCACHE_SYNC if possible |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
235 |
|
8
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
236 1999-05-20 Hugo Tyson <hmt@cygnus.co.uk> |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
237 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
238 * tests/tm_basic.cxx (run_all_tests): Added some more stack stats |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
239 output using stackmon.hxx; also fixed a BUG associated with the |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
240 definition of stacks in testaux.hxx (within tests dir) that was |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
241 making the main stack usage bogus. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
242 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
243 * include/stackmon.hxx: new file, to ease printing stuff about |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
244 stack usage, particularly of interrupt stacks and the idle |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
245 thread. It's not HAL specific, and it can apply to tests outside |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
246 of the kernel, which is why it's in a public include-place. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
247 It just contains inline functions which define empty if there's no |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
248 handle on the symbols available, so should be safe enough. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
249 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
250 1999-05-18 Jesper Skov <jskov@cygnus.co.uk> |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
251 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
252 * tests/stress_threads.c (main_program): Changed behavior of |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
253 cyg_thread_delete caller. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
254 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
255 1999-05-18 Hugo Tyson <hmt@cygnus.co.uk> |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
256 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
257 * include/kapi.h (cyg_thread_delete): is now a boolean function to |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
258 indicate success. Failure is when the thread needs to run in |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
259 order to become killed. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
260 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
261 * src/common/kapi.cxx (cyg_thread_delete): Try killing the thread |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
262 if necessary before deleting; only run the destructor if it was |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
263 killed, and tell the caller so. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
264 (cyg_thread_kill): Back to the simpler version with no priority |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
265 diddling; it's up to the called to determine that it _has_ died. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
266 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
267 * src/common/thread.cxx (kill): Only perform the state-changes |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
268 implied by kill if the thread has not already been killed; |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
269 otherwise two kill()'s will remove a thread unconditionally, |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
270 whether it's in the middle of a wait that needs tidying up or not. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
271 In other words, ensure idempotency. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
272 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
273 1999-05-17 Hugo Tyson <hmt@masala.cygnus.co.uk> |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
274 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
275 * src/common/kapi.cxx (cyg_thread_kill): Up the priority of the |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
276 killee to make it terminate *now* if we have priorities and they |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
277 are not unique, otherwise asserts are likely with the bitmap |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
278 scheduler. Likewise in thread delete. Condition out the bodies |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
279 of the priority ops if the scheduler does not support priorities. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
280 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
281 1999-05-16 Gary Thomas <gthomas@cygnus.co.uk> |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
282 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
283 * src/intr/intr.cxx (call_pending_DSRs): |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
284 * include/intr.hxx: Change mechanism for defining HAL function |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
285 to run DSRs. This was a "weak" symbol with override, but is now |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
286 a macro in <cyg/hal/hal_intr.h>. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
287 |
|
6
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
288 1999-05-13 Nick Garnett <nickg@cygnus.co.uk> |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
289 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
290 The following changes were all made in a branch and are now being |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
291 merged: |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
292 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
293 1999-05-06 Nick Garnett <nickg@cygnus.co.uk> |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
294 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
295 * src/debug/dbg-thread-demux.c: |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
296 Use dbg-thread-syscall.h from HAL rather than local version. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
297 Made dbg_thread_syscall_rmt_1() generic to all MIPS targets. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
298 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
299 * src/debug/dbg-thread-syscall.h: |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
300 Removed. Replaced by identical file in hal/common. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
301 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
302 1999-04-21 Nick Garnett <nickg@cygnus.co.uk> |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
303 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
304 * include/pkgconf/kernel.h: |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
305 Added CYGDBG_KERNEL_INSTRUMENT_BUFFER_WRAP option. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
306 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
307 * include/instrmnt.h: Added CYG_INSTRUMENT_EVENT_THREAD_ENTER |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
308 event. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
309 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
310 * src/instrmnt/meminst.cxx (cyg_instrument): Added implementation |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
311 of CYGDBG_KERNEL_INSTRUMENT_BUFFER_WRAP option. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
312 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
313 * src/common/thread.cxx: Added extra instrumentation point on |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
314 thread entry. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
315 |
|
4
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
316 1999-05-10 Jesper Skov <jskov@cygnus.co.uk> |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
317 |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
318 * tests/stress_threads.c (main_program): Added workaround for a |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
319 few PRs. |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
320 |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
321 1999-05-07 Jesper Skov <jskov@cygnus.co.uk> |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
322 |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
323 * src/common/kapi.cxx (cyg_scheduler_unlock, cyg_scheduler_lock): |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
324 Make these simple calls to the scheduler. |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
325 |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
326 1999-05-07 Jesper Skov <jskov@cygnus.co.uk> |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
327 |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
328 * tests/stress_threads.c (setup_death_alarm): Reduce run time on |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
329 synthetic target. |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
330 |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
331 1999-05-06 Jesper Skov <jskov@cygnus.co.uk> |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
332 |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
333 * tests/stress_threads.c: Reversed priorities of agents. |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
334 |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
335 1999-05-06 Jesper Skov <jskov@cygnus.co.uk> |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
336 PRs 20040, (20027), 19991 |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
337 * tests/stress_threads.c: Added main_thread handling resource |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
338 deallocation and printing. |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
339 |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
340 1999-04-27 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
341 |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
342 * tests/stress_threads.c: |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
343 If there aren't enough priorities, output an N/A, rather than |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
344 stopping compilation with a #error |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
345 |
| 2 | 346 1999-04-28 Jesper Skov <jskov@cygnus.co.uk> |
| 347 PR 19850 | |
|
4
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
348 * tests/stress_threads.c: Don't print text from alarm handler. |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
349 |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
350 1999-04-28 Jesper Skov <jskov@cygnus.co.uk> |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
351 PR 19945 workaround |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
352 * tests/kexcept1.c: |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
353 * tests/except1.cxx: |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
354 Made NA to PowerPC SIM. |
| 2 | 355 |
| 356 1999-04-27 Gary Thomas <gthomas@cygnus.co.uk> | |
| 357 | |
| 358 * tests/tm_basic.cxx: | |
| 359 Use/test 'cyg_thread_delete()' function. | |
| 360 Add ability to compute statistics with first datum removed which | |
| 361 can show up cache effects. | |
| 362 Show thread stack usage. | |
| 363 | |
|
4
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
364 Fix merge screwup :-( |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
365 |
| 2 | 366 1999-04-26 Hugo Tyson <hmt@cygnus.co.uk> |
| 367 | |
| 368 * include/kapi.h: Add missing function cyg_thread_delete(); | |
| 369 otherwise there is no way in the C API to re-use thread memory | |
| 370 safely. It just calls the destructor of the Cyg_Thread class. | |
| 371 | |
| 372 * src/common/kapi.cxx (cyg_thread_delete): Implement it. | |
| 373 | |
| 374 1999-04-26 Hugo Tyson <hmt@cygnus.co.uk> | |
| 375 | |
| 376 * tests/stress_threads.c: Commit a better version for Mark since I | |
| 377 happen to have it here; having addressed the main concern of my | |
| 378 approval process. It runs better in sims so long as the | |
| 379 constructor execution isn't messed with, nor timeslicing nor | |
| 380 priority inheritance. | |
| 381 | |
| 382 1999-04-23 Mark Galassi <rosalia@cygnus.com> | |
| 383 | |
| 384 * tests/stress_threads.c (setup_death_alarm): shortened the | |
| 385 simulator time by another factor of 10, hoping that it will not | |
| 386 slow down nightly testing for simulator platforms too much. | |
| 387 (perform_stressful_tasks): added writing of a bit pattern to the | |
| 388 malloc()-ed spaces. Also reduced stack requirements for threads. | |
| 389 | |
|
4
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
390 1999-04-23 Hugo Tyson <hmt@masala.cygnus.co.uk> |
| 2 | 391 |
| 392 * src/common/timer.cxx (Cyg_Timer::activate): we must also disable | |
| 393 the alarm when resetting it so as to remove it from its queue, so | |
| 394 that the enable afterwards places it on the right queue instead of | |
| 395 assuming that, being enabled, it's already there. (if not | |
| 396 enabling, the behaviour is unchanged and correct) This was | |
| 397 detected by uITRON tests[cx]4, with some random perms including | |
| 398 enable CYGIMP_KERNEL_COUNTERS_MULTI_LIST, | |
| 399 value CYGNUM_KERNEL_COUNTERS_MULTI_LIST_SIZE {8}. | |
| 400 The PR is 19475. | |
|
4
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
401 |
| 2 | 402 1999-04-21 Hugo Tyson <hmt@cygnus.co.uk> |
| 403 | |
| 404 * tests/bin_sem1.cxx (bin_sem1_main): Doh! Use priorities 4 and 5 | |
| 405 for the two threads so that they are unique (with a bitmap | |
| 406 scheduler, the threads had prios 0 and 1 resp, which causes an | |
| 407 assert in the attempt to set thread 0's prio to 1, "prios not | |
| 408 unique"). PR 19904. | |
| 409 | |
| 410 1999-04-20 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 411 | |
| 412 * tests/kcache2.c: | |
| 413 Reduce iterations for time_ilock(), time_dlock(), and test_dzero() | |
| 414 if a simulated environment is detected | |
| 415 Fix for PR 19853 | |
| 416 | |
| 417 1999-04-19 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 418 | |
| 419 * tests/kill.cxx: Make delay ticks greater than 1 to prevent | |
| 420 scheduling problems if the clock rolls over immediately | |
| 421 Fix for PR 19516 | |
| 422 | |
|
4
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
423 1999-04-20 Mark Galassi <rosalia@cygnus.com> |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
424 |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
425 * tests/stress_threads.c: applied Hugo's patch to fix stack sizes. |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
426 |
| 2 | 427 1999-04-19 Hugo Tyson <hmt@cygnus.co.uk> |
| 428 | |
| 429 * tests/bin_sem1.cxx (bin_sem1_main): Add priorities to the | |
| 430 threads so that they run sequentially like the tester expected. | |
| 431 Otherwise simple timing, and shorter timeslicing, causes failure | |
| 432 to be reported; likewise if the kernel happens not to run entry0 | |
| 433 first! | |
| 434 (another checkin) | |
| 435 (bin_sem1_main): Add conditional use of set_priority on | |
| 436 CYGIMP_THREAD_PRIORITY as it should be. | |
| 437 | |
| 438 1999-04-14 Jesper Skov <jskov@cygnus.co.uk> | |
| 439 | |
| 440 * src/debug/dbg_gdb.cxx: Fixed compiler warnings, cleaned up stub | |
| 441 requirements (removed FIX ME). | |
| 442 | |
| 443 1999-04-14 Gary Thomas <gthomas@cygnus.co.uk> | |
| 444 | |
| 445 * include/intr.hxx: | |
| 446 * src/intr/intr.cxx (call_pending_DSRs_inner): Rework calling of | |
| 447 DSRs to allow calls from HAL code. This will allow for proper | |
| 448 use of a separate interrupt stack. | |
| 449 | |
| 450 1999-04-14 Mark Galassi <rosalia@cygnus.com> | |
| 451 | |
| 452 * tests/PKGconf.mak: added an ifndef for the AEB-1 board so that | |
| 453 stress_threads is only built conditionally. | |
| 454 | |
| 455 * tests/stress_threads.c: added more config smarts suggested by | |
| 456 Jesper for his configurations. | |
| 457 | |
| 458 1999-04-13 Jesper Skov <jskov@cygnus.co.uk> | |
| 459 PR 19822 | |
| 460 * src/debug/dbg_gdb.cxx: Current thread's registers live in | |
| 461 registers, not _registers. | |
| 462 | |
| 463 1999-04-13 Mark Galassi <rosalia@cygnus.com> | |
| 464 | |
| 465 * tests/stress_threads.c: simple stressing of thread | |
| 466 creation/deletion with some memory-intensive and alarm-based | |
| 467 tasks. This version is set so that it dies after DEATH_TIME_LIMIT | |
| 468 seconds, currently set to 120. #undef-ing DEATH_TIME_LIMIT makes | |
| 469 the test run forever. This is currently not working with the | |
| 470 bitmap scheduler, probably for some simple reason, but I have not | |
| 471 yet broken it down to see why. | |
| 472 | |
| 473 1999-04-12 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 474 | |
| 475 * tests/except1.cxx: | |
| 476 * tests/kexcept1.cxx: | |
| 477 Remove now unnecessary tx39-specific setting of | |
| 478 CYGNUM_HAL_EXCEPTION_DATA_UNALIGNED_ACCESS VSR | |
| 479 Part of cleanup for PR 19731 | |
| 480 | |
| 481 1999-04-09 Hugo Tyson <hmt@cygnus.co.uk> | |
| 482 | |
| 483 Generally: thread->to_queue_head() moves a thread to the head of | |
| 484 whatever queue it is on, if relevant. This is so that a thread | |
| 485 can change priority and then put itself at the front of its new | |
| 486 run queue instead of the end; otherwise it yields too, which may | |
| 487 be undesirable. Particularly for internal use of priorities in | |
| 488 the uITRON compatibility layer. | |
| 489 | |
| 490 * include/thread.hxx (class Cyg_Thread): to_queue_head(): new | |
| 491 function. Define Cyg_Thread::rotate_queue() for all schedulers. | |
| 492 Public inheritance of Cyg_ThreadQueue_Implementation. | |
| 493 | |
| 494 * include/thread.inl (class Cyg_Thread): to_queue_head(): new | |
| 495 function. Define Cyg_Thread::rotate_queue() for all schedulers. | |
| 496 | |
| 497 * include/mlqueue.hxx (class Cyg_SchedThread_Implementation): | |
| 498 to_queue_head(), ...ThreadQueue...::to_head(): new functions. | |
| 499 | |
| 500 * src/sched/mlqueue.cxx (class Cyg_SchedThread_Implementation): | |
| 501 to_queue_head(), ...ThreadQueue...::to_head(): new functions. | |
| 502 | |
| 503 * include/bitmap.hxx (class Cyg_SchedThread_Implementation): | |
| 504 Add empty placeholders for rotate_queue() and to_queue_head() to | |
| 505 maintain commonality of interface. | |
| 506 | |
| 507 1999-04-08 Jesper Skov <jskov@cygnus.co.uk> | |
| 508 PR 19667 | |
| 509 * kernel/current/src/common/thread.cxx: | |
| 510 Removed obsolete Cyg_Thread constructor. | |
| 511 | |
| 512 * kernel/current/tests/testaux.hxx: | |
| 513 * kernel/current/tests/thread0.cxx: | |
| 514 * kernel/current/tests/thread1.cxx: | |
| 515 Changed to use the new Cyg_Thread constructor. | |
| 516 | |
| 517 1999-04-08 Jesper Skov <jskov@cygnus.co.uk> | |
| 518 | |
| 519 * src/common/kapi.cxx: Minor indentation fixes. | |
| 520 | |
| 521 1999-04-07 Jesper Skov <jskov@cygnus.co.uk> | |
| 522 PR 19743 | |
| 523 * include/mfiximpl.inl (Cyg_Mempool_Fixed_Implementation): Moved | |
| 524 argument assertions before the first use of the arguments. | |
| 525 | |
| 526 1999-04-07 Hugo Tyson <hmt@cygnus.co.uk> | |
| 527 | |
| 528 * tests/kexcept1.c (except0_main): | |
| 529 * tests/except1.cxx (except0_main): | |
| 530 Use macro HAL_VSR_SET_TO_ECOS_HANDLER() if defined, to reset | |
| 531 likely exception handler VSRs to eCos' default handlers - the | |
| 532 target side equivalent to CYG_TEST_GDBCMD("handle SIGBUS nostop"); | |
| 533 The VSR may not be the eCos standard one in some implementations | |
| 534 of cooperation with CygMon. | |
| 535 | |
| 536 1999-03-31 Nick Garnett <nickg@cygnus.co.uk> | |
| 537 | |
| 538 * include/pkgconf/kernel.h (CYGNUM_KERNEL_COUNTERS_RTC_PERIOD): | |
| 539 Fixed value of this option for TX39 66MHz to correct number. | |
| 540 | |
| 541 1999-03-25 Gary Thomas <gthomas@cygnus.co.uk> | |
| 542 | |
| 543 * tests/tm_basic.cxx: More adjustments to get clock latency correct. | |
| 544 Some fine tuning of messages and layout to fit well within 80 columns. | |
| 545 | |
| 546 1999-03-24 Nick Garnett <nickg@cygnus.co.uk> | |
| 547 | |
| 548 * include/pkgconf/kernel.h: Fixed an ifdef error. | |
| 549 | |
| 550 1999-03-24 Gary Thomas <gthomas@cygnus.co.uk> | |
| 551 | |
| 552 * tests/tm_basic.cxx (NTEST_THREADS): Reduce # threads so test can | |
| 553 build on smaller machines. Also, only adjust timings by single | |
| 554 "overhead" value instead of the more generous 2*overhead. | |
| 555 | |
| 556 * src/common/clock.cxx: Clock latency measurement defaults to 'off'. | |
| 557 | |
| 558 1999-03-23 Nick Garnett <nickg@cygnus.co.uk> | |
| 559 | |
| 560 * tests/kcache2.c: Reduced number of loops in time_ilock(). On the | |
| 561 MN10300 and TX39 this caused the test to timeout in the testing | |
| 562 farm. | |
| 563 | |
| 564 1999-03-23 Gary Thomas <gthomas@cygnus.co.uk> | |
| 565 | |
| 566 * tests/tm_basic.cxx: | |
| 567 * src/common/clock.cxx: Add 'measure_clock_latency' boolean which | |
| 568 is used to turn clock latency measurements on/off. | |
| 569 | |
| 570 1999-03-23 Nick Garnett <nickg@cygnus.co.uk> | |
| 571 | |
| 572 * tests/tm_basic.cxx (run_all_tests): Changed initial delay from | |
| 573 100 ticks to 2. This is adequate for the purpose of letting the | |
| 574 clock get going, while 100 ticks was too long on simulators. | |
| 575 | |
| 576 1999-03-23 Hugo Tyson <hmt@cygnus.co.uk> | |
| 577 | |
| 578 * tests/kcache1.c: | |
| 579 * tests/kcache2.c: | |
| 580 * tests/kclock1.c: | |
| 581 * tests/kexcept1.c: | |
| 582 * tests/kflag1.c: | |
| 583 * tests/kmbox1.c: | |
| 584 * tests/kmemfix1.c: | |
| 585 * tests/kmemvar1.c: | |
| 586 * tests/kmutex1.c: | |
| 587 * tests/ksched1.c: | |
| 588 * tests/ksem1.c: | |
| 589 * tests/kthread0.c: | |
| 590 * tests/thread0.cxx: | |
| 591 Use CYGNUM_HAL_STACK_SIZE_TYPICAL instead of "4096" and include | |
| 592 hal_arch.h where necessary to get it. | |
| 593 | |
| 594 1999-03-22 Hugo Tyson <hmt@cygnus.co.uk> | |
| 595 | |
| 596 * include/thread.inl (attach_stack): | |
| 597 Fix typo in assert; missing comma. | |
| 598 | |
| 599 1999-03-22 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 600 | |
| 601 * src/debug/dbg-thread-syscall.h: Update copyright | |
| 602 | |
| 603 1999-03-22 Hugo Tyson <hmt@cygnus.co.uk> | |
| 604 | |
| 605 * include/thread.inl: | |
| 606 * src/common/thread.cxx: | |
| 607 * tests/kthread1.c: | |
| 608 * tests/testaux.hxx: | |
| 609 * tests/thread1.cxx: | |
| 610 * tests/thread_gdb.c: | |
| 611 * tests/tm_basic.cxx: | |
| 612 Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of | |
| 613 CYGNUM_HAL_MINIMUM_STACK_SIZE. | |
| 614 Except for stack checking and the idle thread stack which uses | |
| 615 CYGNUM_HAL_STACK_SIZE_MINIMUM. | |
| 616 | |
| 617 1999-03-19 Nick Garnett <nickg@cygnus.co.uk> | |
| 618 | |
| 619 * tests/kcache1.c: | |
| 620 * tests/kcache2.c: | |
| 621 Made all CYG_INTERRUPT_STATE variables register variables. The | |
| 622 value of this variable has to survive cache invalidation and does | |
| 623 not in some testing permutations that are unoptimized. | |
| 624 Fixes PR 19165. | |
| 625 | |
| 626 * include/kapi.h: Type of cyg_tick_count_t changed to cyg_uint64. | |
| 627 Response to PR 19320. | |
| 628 | |
| 629 1999-03-19 Gary Thomas <gthomas@cygnus.co.uk> | |
| 630 | |
| 631 * tests/tm_basic.cxx: Much better analysis of clock interrupt times. | |
| 632 Print average deviation instead of variance. Also print "confidence" | |
| 633 numbers which are a measure of "how likely" a particular number would | |
| 634 be relative to the mean and min of the sample set. | |
| 635 | |
| 636 1999-03-17 Gary Thomas <gthomas@cygnus.co.uk> | |
| 637 | |
| 638 * tests/tm_basic.cxx: Improve messages and layout. | |
| 639 Better message for 'hardware clock tick' value. | |
| 640 | |
| 641 * src/common/clock.cxx: Be more careful about clock latency delta | |
| 642 values that are used/kept - some hardware can yield incorrect values. | |
| 643 | |
| 644 * tests/testaux.hxx: Use HAL recommended stack size for default. | |
| 645 | |
| 646 1999-03-16 Nick Garnett <nickg@cygnus.co.uk> | |
| 647 | |
| 648 * src/common/thread.cxx: | |
| 649 Removed MIPS specific definition of idle_thread_stack[]. This is | |
| 650 so it gets the benefit of the redefinition of | |
| 651 CYGNUM_KERNEL_THREADS_IDLE_STACK_SIZE. This definition has also | |
| 652 been made static, since the MIPS compiler would otherwise put it | |
| 653 in the .data section. | |
| 654 | |
| 655 * include/intr.hxx (class Cyg_Interrupt): | |
| 656 Changed implementation of Cyg_Interrupt::interrupts_enabled() to | |
| 657 test the value of disable_counter, rather than the hardware. | |
| 658 | |
| 659 1999-03-15 Nick Garnett <nickg@cygnus.co.uk> | |
| 660 | |
| 661 * tests/kcache1.c: | |
| 662 * tests/kcache2.c: | |
| 663 Added interrupt disables around cache operations. If these take | |
| 664 too long, an inopportune interrupt can disrupt the cache contents, | |
| 665 or result in the interrupt seeing an inconsistent world. | |
| 666 | |
| 667 1999-03-15 Gary Thomas <gthomas@cygnus.co.uk> | |
| 668 | |
| 669 * tests/tm_basic.cxx: Improved and cleaned up messages overall. | |
| 670 | |
| 671 1999-03-15 Jesper Skov <jskov@cygnus.co.uk> | |
| 672 PR 19504 | |
| 673 * tests/tm_basic.cxx: Kill created threads after mutex, mbox and | |
| 674 semaphore tests. | |
| 675 | |
| 676 1999-03-12 Hugo Tyson <hmt@cygnus.co.uk> | |
| 677 | |
| 678 * src/debug/dbg-thread-demux.c: | |
| 679 Only try handling the SPARClite-SLEB vector correctly if | |
| 680 CYG_HAL_USE_ROM_MONITOR_CYGMON ie. we are talking with CygMon. | |
| 681 Otherwise the code is wrong, but also not used. No matter. | |
| 682 | |
| 683 1999-03-12 Hugo Tyson <hmt@cygnus.co.uk> | |
| 684 | |
| 685 * tests/kthread1.c: | |
| 686 * tests/thread1.cxx: | |
| 687 * tests/thread_gdb.c: | |
| 688 Deal with CYGNUM_HAL_MINIMUM_STACK_SIZE requirement. | |
| 689 | |
| 690 1999-03-12 Gary Thomas <gthomas@cygnus.co.uk> | |
| 691 | |
| 692 * include/thread.inl (attach_stack): Add check/assert for minimum | |
| 693 stack size (HAL defined) | |
| 694 | |
| 695 1999-03-11 Hugo Tyson <hmt@cygnus.co.uk> | |
| 696 | |
| 697 * src/debug/dbg-thread-demux.c (patch_dbg_syscalls): | |
| 698 Use the correct vector table slot for SPARClite-SLEB; it's not 15 | |
| 699 on here, it's BSP_VEC_MT_DEBUG from the hal's hal_cygm.h | |
| 700 | |
| 701 1999-03-11 Nick Garnett <nickg@cygnus.co.uk> | |
| 702 | |
| 703 * tests/testaux.hxx: | |
| 704 Move definition of inline placement operator new outside of ifdef | |
| 705 for NTHREADS so that it can be used by other code. | |
| 706 | |
| 707 * tests/intr0.cxx: | |
| 708 * tests/thread1.cxx: | |
| 709 Make use of placement operator new rather than dynamic one in | |
| 710 intr0. Removed duplicate definition from thread1. | |
| 711 | |
| 712 1999-03-11 Jesper Skov <jskov@cygnus.co.uk> | |
| 713 PR 19472 | |
| 714 * tests/kill.cxx: Increased delays for the synthetic target. | |
| 715 | |
| 716 1999-03-11 Jesper Skov <jskov@cygnus.co.uk> | |
| 717 PR 19468 | |
| 718 * tests/intr0.cxx (intr0_main): | |
| 719 * tests/kintr0.c (kintr0_main): | |
| 720 Only attach interrupt handlers to vectors not in use. | |
| 721 | |
| 722 1999-03-10 Jesper Skov <jskov@cygnus.co.uk> | |
| 723 PR 19368 | |
| 724 * src/sched/sched.cxx (start): Change the dependency for | |
| 725 referencing the RTC to make its inclusion independent of scheduler | |
| 726 choice. | |
| 727 | |
| 728 1999-03-10 Jesper Skov <jskov@cygnus.co.uk> | |
| 729 PR 17357 | |
| 730 * src/intr/intr.cxx (attach): Assert that interrupt vector attach | |
| 731 will succeed. | |
| 732 | |
| 733 1999-03-10 Nick Garnett <nickg@cygnus.co.uk> | |
| 734 | |
| 735 * include/pkgconf/kernel.h: | |
| 736 Changed names used to control clock frequency on TX39 target. | |
| 737 | |
| 738 1999-03-08 Gary Thomas <gthomas@cygnus.co.uk> | |
| 739 | |
| 740 * src/sync/mutex.cxx: Allow 'Cyg_Condition_Variable::wait()' | |
| 741 to be entered with the scheduler locked (and thsu exit in | |
| 742 the same state). This will allow for fully thread-safe use | |
| 743 of 'Cyg_Condition_Variable::wait()'. | |
| 744 | |
| 745 1999-02-26 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 746 | |
| 747 * tests/except1.cxx (except0_main): | |
| 748 * tests/kexcept1.c (except0_main): | |
| 749 Move CYG_TEST_GDBCMD back to being before CYG_TEST_INIT | |
| 750 | |
| 751 1999-02-26 Jesper Skov <jskov@cygnus.co.uk> | |
| 752 PR 19283 | |
| 753 | |
| 754 * src/common/kapi.cxx: Changed cyg_exception_call_handler | |
| 755 definition to be consistent with declaration. | |
| 756 | |
| 757 * include/kapi.h: Change cyg_code_t to signed type. | |
| 758 | |
| 759 * tests/except1.cxx (except0_main): | |
| 760 * tests/kexcept1.c (except0_main): | |
| 761 Init diag before making first output. | |
| 762 | |
| 763 1999-02-26 Jesper Skov <jskov@cygnus.co.uk> | |
| 764 PR 19284 | |
| 765 * tests/mutex2.cxx (mutex2_main): Set priorities in a different | |
| 766 order. | |
| 767 | |
| 768 1999-02-25 Nick Garnett <nickg@cygnus.co.uk> | |
| 769 | |
| 770 * include/sched.hxx (class Cyg_Scheduler_Base): | |
| 771 Added CYGBLD_ATTRIB_ASM_ALIAS(cyg_scheduler_sched_lock) to | |
| 772 declaration of sched_lock member. This makes it have the given | |
| 773 name in the object and assembler files. This in turn eliminates | |
| 774 the need to have a C++ mangled name in the HAL. | |
| 775 | |
| 776 * src/intr/intr.cxx: | |
| 777 Cyg_Interrupt::detach() was not translating the vector to a table | |
| 778 index correctly in the chained case. Fixed. | |
| 779 | |
| 780 1999-02-24 Nick Garnett <nickg@cygnus.co.uk> | |
| 781 | |
| 782 * include/intr.hxx: | |
| 783 * src/intr/intr.cxx: | |
| 784 Added an interrupt disable counter to | |
| 785 Cyg_Interrupt::disable_interrupts() and | |
| 786 Cyg_Interrupt::enable_interrupts(). | |
| 787 | |
| 788 1999-02-23 Nick Garnett <nickg@cygnus.co.uk> | |
| 789 | |
| 790 * include/pkgconf/kernel.h: | |
| 791 Added support for 66MHz part. | |
| 792 | |
| 793 * include/instrmnt.h: | |
| 794 Added CYG_INSTRUMENT_EVENT_MUTEX_RELEASE and | |
| 795 CYG_INSTRUMENT_EVENT_MUTEX_RELEASED. This should have been part of | |
| 796 the 1999-02-22 checkin. | |
| 797 | |
| 798 1999-02-23 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 799 | |
| 800 * tests/clock0.cxx, tests/clock1.cxx, tests/except1.cxx, | |
| 801 tests/kcache1.c, tests/kcache2.c, tests/kclock0.c, tests/kclock1.c, | |
| 802 tests/kexcept1.c, tests/kflag0.c, tests/kflag1.c, tests/kill.cxx, | |
| 803 tests/kintr0.c, tests/kmbox1.c, tests/kmemfix1.c, tests/kmemvar1.c, | |
| 804 tests/kmutex0.c, tests/kmutex1.c, tests/ksched1.c, tests/ksem0.c, | |
| 805 tests/ksem1.c, tests/kthread0.c, tests/kthread1.c, tests/thread1.cxx: | |
| 806 Use CYG_TEST_NA() rather than CYG_TEST_PASS_FINISH() for tests that | |
| 807 are not applicable for this configuration | |
| 808 | |
| 809 1999-02-22 Nick Garnett <nickg@cygnus.co.uk> | |
| 810 | |
| 811 * include/kapi.h: | |
| 812 * include/mutex.hxx: | |
| 813 * src/sync/mutex.cxx: | |
| 814 * src/common/kapi.cxx: | |
| 815 * tests/mutex2.cxx: | |
| 816 * tests/PKGconf.mak: | |
| 817 Added Kernel API support for thread release, which allows a thread | |
| 818 to be broken out of any wait. Also added support for releasing all | |
| 819 threads waiting to lock a mutex, both at C++ and Kernel API | |
| 820 levels. Added a test program, mutex2, to test this fuctionality | |
| 821 out. | |
| 822 | |
| 823 1999-02-20 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 824 | |
| 825 * include/except.hxx: | |
| 826 * include/kapidata.h | |
| 827 Rename CYG_EXCEPTION_COUNT -> CYGNUM_HAL_EXCEPTION_COUNT in line | |
| 828 with HAL changes | |
| 829 Rename deliver_exception() -> cyg_hal_deliver_exception() | |
| 830 QA improvements | |
| 831 | |
| 832 * src/common/clock.cxx: | |
| 833 Rename CYG_VECTOR_RTC -> CYGNUM_HAL_INTERRUPT_RTC in line with | |
| 834 HAL changes | |
| 835 | |
| 836 * src/common/except.cxx: | |
| 837 Rename CYG_EXCEPTION_* -> CYGNUM_HAL_EXCEPTION_* in line | |
| 838 with HAL changes | |
| 839 Allow for CYGNUM_HAL_EXCEPTION_MIN != 0 | |
| 840 Rename deliver_exception() -> cyg_hal_deliver_exception() | |
| 841 Add more tracing, and fix some existing | |
| 842 QA improvements | |
| 843 | |
| 844 * src/intr/intr.cxx: | |
| 845 Rename CYG_ISR_* -> CYGNUM_HAL_ISR_* in line with HAL changes | |
| 846 Add more tracing, and fix some existing | |
| 847 QA improvements | |
| 848 | |
| 849 * src/sched/bitmap.cxx: | |
| 850 * src/sched/mlqueue.cxx: | |
| 851 * src/sync/mutex.cxx: | |
| 852 Add more tracing and fix some existing | |
| 853 QA improvements | |
| 854 | |
| 855 * tests/except1.cxx: | |
| 856 * tests/kexcept1.c | |
| 857 Rename CYG_EXCEPTION_* -> CYGNUM_HAL_EXCEPTION_* in line | |
| 858 with HAL changes | |
| 859 QA improvements | |
| 860 Use new CYG_TEST_GDBCMD to tell GDB not to stop | |
| 861 Remove special simulator case as it should now work | |
| 862 | |
| 863 * tests/intr0.cxx: | |
| 864 * tests/kintr0.c: | |
| 865 Rename CYG_ISR/VSR_* -> CYGNUM_HAL_ISR/VSR_* in line | |
| 866 with HAL changes | |
| 867 QA improvements | |
| 868 | |
| 869 1999-02-16 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 870 | |
| 871 * tests/kexcept1.c (except0_main): Tell GDB to not stop on | |
| 872 SIGBUS or SIGSEGV since we know we're going to cause an exception | |
| 873 | |
| 874 1999-02-12 Hugo Tyson <hmt@cygnus.co.uk> | |
| 875 | |
| 876 * src/common/thread.cxx (idle_thread_stack): | |
| 877 Override CYGNUM_KERNEL_THREADS_IDLE_STACK_SIZE if | |
| 878 CYGNUM_HAL_MINIMUM_STACK_SIZE demands it. | |
| 879 | |
| 880 * include/pkgconf/kernel.h (CYGNUM_KERNEL_THREADS_IDLE_STACK_SIZE): | |
| 881 Document that this option can be overridden by HALs demands. | |
| 882 | |
| 883 1999-02-11 Jesper Skov <jskov@cygnus.co.uk> | |
| 884 | |
| 885 * src/debug/dbg-thread-syscall.h: | |
| 886 * src/debug/dbg-thread-demux.c: | |
| 887 Added handling of dbg_scheduler_func calls. | |
| 888 | |
| 889 1999-02-11 Nick Garnett <nickg@cygnus.co.uk> | |
| 890 | |
| 891 * include/kapi.h: | |
| 892 * src/common/kapi.cxx: | |
| 893 Added API support for per-thread data. | |
| 894 | |
| 895 * include/kapi.h: | |
| 896 * src/common/kapi.cxx: | |
| 897 * tests/ksem1.c: | |
| 898 * tests/tm_basic.cxx: | |
| 899 Changed arguments to Kernel C API semaphore functions to take | |
| 900 cyg_count32 rather than cyg_ucount32. This makes them consistent | |
| 901 with the underlying implementation and allows for negative counts | |
| 902 in the future. Changed some tests to match. | |
| 903 Fixes PR 17877. | |
| 904 | |
| 905 1999-02-08 Jesper Skov <jskov@cygnus.co.uk> | |
| 906 | |
| 907 * tests/kexcept1.c (entry0): | |
| 908 * tests/except1.cxx (entry0): | |
| 909 Don't call cause_exception on SIMs. | |
| 910 | |
| 911 1999-02-05 Jesper Skov <jskov@cygnus.co.uk> | |
| 912 | |
| 913 * src/common/clock.cxx (isr): Ignore a latency of 0 when finding | |
| 914 min_clock_latency. | |
| 915 | |
| 916 1999-02-04 Jesper Skov <jskov@cygnus.co.uk> | |
| 917 PR 19075 | |
| 918 * include/instrmnt.h: Slightly overdid the use of CYG_UNUSED_PARAM | |
| 919 macros. | |
| 920 | |
| 921 1999-02-04 Jesper Skov <jskov@cygnus.co.uk> | |
| 922 | |
| 923 * src/intr/intr.cxx: | |
| 924 Make instrumentation macros always use the parameters to avoid | |
| 925 compiler warnings. | |
| 926 | |
| 927 1999-02-03 Jesper Skov <jskov@cygnus.co.uk> | |
| 928 PR 18075 | |
| 929 * tests/memfix1.cxx: | |
| 930 * tests/kmemfix1.c: | |
| 931 Make timing less sensitive. | |
| 932 | |
| 933 1999-02-02 Jesper Skov <jskov@cygnus.co.uk> | |
| 934 | |
| 935 * tests/bin_sem2.cxx: Fixed compiler warning. | |
| 936 | |
| 937 1999-02-02 Jesper Skov <jskov@cygnus.co.uk> | |
| 938 PR 18971 | |
| 939 * tests/bin_sem2.cxx (bin_sem2_main): Reduce run time in SIM. | |
| 940 | |
| 941 1999-02-01 Nick Garnett <nickg@cygnus.co.uk> | |
| 942 | |
| 943 * tests/kcache2.c: Added calls to HAL_DCACHE_SYNC() before all | |
| 944 relevant calls to HAL_DCACHE_DISABLE(). This should have been done | |
| 945 on 1999-01-25 where is was only done to one instance. | |
| 946 | |
| 947 1999-02-01 Gary Thomas <gthomas@cygnus.co.uk> | |
| 948 | |
| 949 * tests/tm_basic.cxx: Adjust stack sizes for platforms with | |
| 950 limited memory. | |
| 951 | |
| 952 1999-01-28 Nick Garnett <nickg@cygnus.co.uk> | |
| 953 | |
| 954 * src/intr/intr.cxx: When using chained interrupts, | |
| 955 interrupt_end() is passed NULL as the intr argument. If | |
| 956 instrumentation is also enabled, the CYG_INSTRUMENT_INTR() calls | |
| 957 will try to indirect through zero. Added ifdefs to avoid | |
| 958 this. Also test intr for NULL before trying to post the DSR. | |
| 959 Fixes PR 18771. | |
| 960 | |
| 961 1999-01-28 Jesper Skov <jskov@cygnus.co.uk> | |
| 962 | |
| 963 * tests/tm_basic.cxx: Fixed strings. | |
| 964 | |
| 965 1999-01-26 Hugo Tyson <hmt@cygnus.co.uk> | |
| 966 | |
| 967 * tests/kcache1.c (time0): Waste much less time if running in a | |
| 968 simulator. Do only 40 loops instead of 4000. | |
| 969 In consequence the nasty meddling with MAX_STRIDE depending on | |
| 970 HAL_xxx_SIM package definitions can go. | |
| 971 | |
| 972 1999-01-26 Jesper Skov <jskov@cygnus.co.uk> | |
| 973 PR 18902 | |
| 974 * src/debug/dbg-thread-demux.c: Oops. Undid my change of 1999-01-21. | |
| 975 | |
| 976 1999-01-25 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 977 | |
| 978 * src/common/except.cxx: Make global exception initialisation object | |
| 979 be constructed at INTERRUPT priority | |
| 980 | |
| 981 1999-01-25 Jesper Skov <jskov@cygnus.co.uk> | |
| 982 PR 18002 | |
| 983 * tests/thread_gdb.c: Ensure that there are enough priorities. | |
| 984 | |
| 985 1999-01-25 Jesper Skov <jskov@cygnus.co.uk> | |
| 986 PR 18875 | |
| 987 * tests/tm_basic.cxx: Ensure that there are enough priorities. | |
| 988 | |
| 989 1999-01-25 Nick Garnett <nickg@cygnus.co.uk> | |
| 990 | |
| 991 * tests/kcache2.c (test_dstore): Added call to HAL_DCACHE_SYNC() | |
| 992 before disabling cache. On some architectures disabling the cache | |
| 993 would cause the following call to do nothing. | |
| 994 Fixes PR 18849. | |
| 995 | |
| 996 1999-01-22 Jesper Skov <jskov@cygnus.co.uk> | |
| 997 | |
| 998 * tests/tm_basic.cxx: Don't run on Linux target. | |
| 999 | |
| 1000 1999-01-21 Hugo Tyson <hmt@cygnus.co.uk> | |
| 1001 These changes are to get tests working with the SPARClite port; it | |
| 1002 doesn't do 8-byte register access unless it's properly aligned. | |
| 1003 | |
| 1004 * tests/philo.cxx (cyg_start): | |
| 1005 Use tests/testaux.hxx to get new threads, to get the alignment | |
| 1006 required; see below. | |
| 1007 | |
| 1008 * tests/thread2.cxx (thread2_main): | |
| 1009 Use tests/testaux.hxx to get new threads, to get the alignment | |
| 1010 required; see below. | |
| 1011 | |
| 1012 * tests/tm_basic.cxx: | |
| 1013 Larger stack for greedy processor. | |
| 1014 | |
| 1015 * tests/testaux.hxx: | |
| 1016 thread_obj[][] and stack[][] are now 8-byte aligned like certain | |
| 1017 processors require; Cyg_Thread contains cyg_tick_count which is | |
| 1018 64-bit so any "standalone" C++ object would be so aligned. These | |
| 1019 dynamically allocated ones should be too. | |
| 1020 | |
| 1021 1999-01-21 Jesper Skov <jskov@cygnus.co.uk> | |
| 1022 PR 18747 | |
| 1023 * tests/flag1.cxx: Increase delays/timeouts to prevent failure | |
| 1024 when configured with full trace logging. | |
| 1025 | |
| 1026 1999-01-21 Jesper Skov <jskov@cygnus.co.uk> | |
| 1027 | |
| 1028 * src/debug/dbg-thread-demux.c: Removed PR 17327 workarounds. | |
| 1029 | |
| 1030 1999-01-19 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1031 | |
| 1032 * src/sched/sched.cxx (start): | |
| 1033 CYG_REFERENCE_SYMBOL -> CYG_REFERENCE_OBJECT in line with | |
| 1034 cyg_type.h change | |
| 1035 | |
| 1036 1999-01-19 Jesper Skov <jskov@cygnus.co.uk> | |
| 1037 PR 18824 | |
| 1038 * src/sync/mutex.cxx: | |
| 1039 * include/pkgconf/kernel.h: Let | |
| 1040 CYGMFN_KERNEL_SYNCH_CONDVAR_TIMED_WAIT require | |
| 1041 CYGFUN_KERNEL_THREADS_TIMER. | |
| 1042 | |
| 1043 1999-01-18 Nick Garnett <nickg@cygnus.co.uk> | |
| 1044 | |
| 1045 * src/debug/dbg-thread-demux.c (patch_dbg_syscalls): Added test | |
| 1046 for CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT in patch_dbg_syscalls(). | |
| 1047 | |
| 1048 1999-01-15 Gary Thomas <gthomas@cygnus.co.uk> | |
| 1049 | |
| 1050 * include/mvarimpl.inl (free): Memory list sort was incorrect. | |
| 1051 | |
| 1052 * tests/PKGconf.mak (TESTS): Don't build cache tests on | |
| 1053 some platforms. | |
| 1054 | |
| 1055 1999-01-15 Jesper Skov <jskov@cygnus.co.uk> | |
| 1056 PR 18768 | |
| 1057 | |
| 1058 * tests/kmbox1.c: | |
| 1059 * tests/mbox1.cxx: | |
| 1060 Increase delays used so the overhead of GDB packets doesn't make | |
| 1061 the tests fail. | |
| 1062 | |
| 1063 1999-01-14 Jesper Skov <jskov@cygnus.co.uk> | |
| 1064 | |
| 1065 * src/sched/sched.cxx (start): Use new CYG_REFERENCE_SYMBOL macro. | |
| 1066 | |
| 1067 1999-01-14 Nick Garnett <nickg@cygnus.co.uk> | |
| 1068 | |
| 1069 * src/debug/dbg_gdb.cxx: Extended return types to include success, | |
| 1070 fail and caller-do-it as required by msnyder. | |
| 1071 | |
| 1072 * src/debug/dbg-thread-demux.c: Moved prototype of dbg_scheduler() | |
| 1073 to dbg-threads-api.h. | |
| 1074 | |
| 1075 1999-01-13 Jesper Skov <jskov@cygnus.co.uk> | |
| 1076 | |
| 1077 * src/sched/sched.cxx (start): Better implementation of the | |
| 1078 real_time_clock reference. | |
| 1079 | |
| 1080 1999-01-13 Jesper Skov <jskov@cygnus.co.uk> | |
| 1081 | |
| 1082 * include/pkgconf/kernel.h: Disable CYGSEM_KERNEL_SCHED_TIMESLICE | |
| 1083 in CYG_HAL_ROM_MONITOR magic. | |
| 1084 | |
| 1085 1999-01-07 Jesper Skov <jskov@cygnus.co.uk> | |
| 1086 | |
| 1087 * include/pkgconf/kernel.h: Added RTC values for i386/Linux. | |
| 1088 | |
| 1089 | |
| 1090 1999-01-12 Nick Garnett <nickg@cygnus.co.uk> | |
| 1091 | |
| 1092 * src/debug/dbg-thread-demux.c: | |
| 1093 Changed API of patch_dbg_syscalls() to take a pointer to the start | |
| 1094 of the vector and insert several vectors. | |
| 1095 | |
| 1096 * src/debug/dbg_gdb.cxx: | |
| 1097 Added dbg_scheduler() function to allow debuggers to lock and | |
| 1098 unlock the scheduler. This helps when stepping multithreaded code. | |
| 1099 | |
| 1100 * include/sched.hxx: | |
| 1101 * include/sched.inl: | |
| 1102 Added Cyg_Scheduler::unlock_simple() to decrement the lock without | |
| 1103 rescheduling. | |
| 1104 | |
| 1105 1999-01-05 Jesper Skov <jskov@cygnus.co.uk> | |
| 1106 PR 18574 | |
| 1107 | |
| 1108 * src/sched/sched.cxx (start): Reference the real time clock to | |
| 1109 ensure it is included when linking. | |
| 1110 | |
| 1111 1999-01-04 Jesper Skov <jskov@cygnus.co.uk> | |
| 1112 | |
| 1113 * tests/thread1.cxx: | |
| 1114 * tests/mbox1.cxx: | |
| 1115 * tests/kmbox1.c: | |
| 1116 * tests/kill.cxx: | |
| 1117 * tests/kflag1.c: | |
| 1118 * tests/kclock1.c: | |
| 1119 * tests/flag1.cxx: | |
| 1120 * src/common/thread.cxx: | |
| 1121 CYGFUN_KERNEL_THREADS_TIMER requires CYGVAR_KERNEL_COUNTERS_CLOCK | |
| 1122 so don't check for the latter explicitly. | |
| 1123 | |
| 1124 1999-01-04 Jesper Skov <jskov@cygnus.co.uk> | |
| 1125 PR 18573 | |
| 1126 | |
| 1127 * tests/thread1.cxx: | |
| 1128 * tests/mbox1.cxx: | |
| 1129 * tests/kmbox1.c: | |
| 1130 * tests/kflag1.c: | |
| 1131 * tests/flag1.cxx: | |
| 1132 Don't run tests that rely on delay() when delay() is only defined | |
| 1133 as an empty function. | |
| 1134 | |
| 1135 1998-12-24 Bart Veer <bartv@cygnus.co.uk> | |
| 1136 | |
| 1137 * src/sync/mutex.cxx: | |
| 1138 * src/sync/mbox.cxx: | |
| 1139 * src/sync/flag.cxx: | |
| 1140 * src/sched/sched.cxx: | |
| 1141 * src/mem/memvar.cxx: | |
| 1142 * src/mem/memfixed.cxx: | |
| 1143 * src/common/thread.cxx: | |
| 1144 * src/common/clock.cxx: | |
| 1145 * include/mempoolt.inl: | |
| 1146 * include/mempolt2.inl: | |
| 1147 * include/mboxt2.inl: | |
| 1148 * include/mboxt.inl: | |
| 1149 check_this() member functions should now be const | |
| 1150 | |
| 1151 1998-12-22 Nick Garnett <nickg@cygnus.co.uk> | |
| 1152 | |
| 1153 * include/instrmnt.h: Fixed casts for arguments to | |
| 1154 cyg_instrument() to work in C. Fixes PR 18413. | |
| 1155 | |
| 1156 1998-12-21 Gary Thomas <gthomas@cygnus.co.uk> | |
| 1157 | |
| 1158 * include/pkgconf/kernel.h: Change AEB-1 clock scale. | |
| 1159 | |
| 1160 1998-12-17 Gary Thomas <gthomas@cygnus.co.uk> | |
| 1161 | |
| 1162 * tests/tm_basic.cxx: Calculate system clock resolution | |
| 1163 based on 'CYGNUM_KERNEL_COUNTERS_RTC_RESOLUTION' | |
| 1164 | |
| 1165 1998-12-16 Gary Thomas <gthomas@cygnus.co.uk> | |
| 1166 | |
| 1167 * include/pkgconf/kernel.h (CYGNUM_KERNEL_COUNTERS_RTC_PERIOD): | |
| 1168 Add support for new ARM AEB-1. | |
| 1169 | |
| 1170 1998-12-16 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 1171 | |
| 1172 * tests/intr0.cxx (intr0_main): | |
| 1173 * tests/kintr0.c (kintr0_main): | |
| 1174 Conditionally use a different interrupt vector number on tx39 when | |
| 1175 in the simulator (according to cyg_test_is_simulator) so that | |
| 1176 these tests execute correctly in simulators. | |
| 1177 | |
| 1178 1998-12-16 Jesper Skov <jskov@cygnus.co.uk> | |
| 1179 PR 18546 | |
| 1180 | |
| 1181 * tests/kill.cxx (cyg_start): Do NOP test if required kernel | |
| 1182 functionality is disabled. | |
| 1183 | |
| 1184 1998-12-15 Jesper Skov <jskov@cygnus.co.uk> | |
| 1185 | |
| 1186 * include/pkgconf/kernel.h: Changed | |
| 1187 CYGDBG_KERNEL_DEBUG_GDB_INCLUDE_STUBS to | |
| 1188 CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS. | |
| 1189 | |
| 1190 1998-12-14 Jesper Skov <jskov@cygnus.co.uk> | |
| 1191 | |
| 1192 * tests/tm_basic.cxx: Made use of cyg_mbox_get() conditional on | |
| 1193 CYGMFN_KERNEL_SYNCH_MBOXT_PUT_CAN_WAIT. | |
| 1194 | |
| 1195 1998-12-14 Jesper Skov <jskov@cygnus.co.uk> | |
| 1196 | |
| 1197 * tests/tm_basic.cxx: Added requirement for kernel RTC. | |
| 1198 | |
| 1199 1998-12-11 Jesper Skov <jskov@cygnus.co.uk> | |
| 1200 | |
| 1201 * tests/kcache2.c: Added tests of three more macros. | |
| 1202 | |
| 1203 1998-12-10 Jesper Skov <jskov@cygnus.co.uk> | |
| 1204 | |
| 1205 * tests/kcache2.c: Added tests of three more macros. | |
| 1206 | |
| 1207 1998-12-10 Jesper Skov <jskov@cygnus.co.uk> | |
| 1208 | |
| 1209 * tests/PKGconf.mak: | |
| 1210 * tests/kcache2.c: | |
| 1211 Added new cache test. | |
| 1212 | |
| 1213 1998-12-04 Nick Garnett <nickg@cygnus.co.uk> | |
| 1214 | |
| 1215 * include/intr.hxx: | |
| 1216 * src/intr/intr.cxx (cyg_interrupt_post_dsr): Added this function | |
| 1217 to allow functions in the HAL, which are always only in C, to call | |
| 1218 Cyg_Interrupt::post_dsr(). Have also returned post_dsr() to | |
| 1219 private parts of Cyg_Interrupt. | |
| 1220 | |
| 1221 1998-12-04 Jesper Skov <jskov@cygnus.co.uk> | |
| 1222 | |
| 1223 * include/intr.hxx (class Cyg_Interrupt): Made post_dsr public so | |
| 1224 it can be called from HAL interrupt arbiters. | |
| 1225 | |
| 1226 1998-12-04 Jesper Skov <jskov@cygnus.co.uk> | |
| 1227 | |
| 1228 * include/pkgconf/kernel.h (CYGNUM_KERNEL_COUNTERS_RTC_PERIOD): | |
| 1229 Set to the correct value for a 33.333MHz clock. | |
| 1230 | |
| 1231 1998-12-02 Jesper Skov <jskov@cygnus.co.uk> | |
| 1232 | |
| 1233 * src/intr/intr.cxx (interrupt_end, chain_isr): Got rid of magic | |
| 1234 interrupt constants. | |
| 1235 | |
| 1236 1998-11-30 Gary Thomas <gthomas@cygnus.co.uk> | |
| 1237 | |
| 1238 * include/pkgconf/kernel.h: Fix spelling of CYGVAR_KERNEL_COUNTERS_CLOCK | |
| 1239 | |
| 1240 1998-11-25 Jesper Skov <jskov@cygnus.co.uk> | |
| 1241 | |
| 1242 * src/common/thread.cxx (check_this): Check that stack_ptr is | |
| 1243 within its limits. | |
| 1244 | |
| 1245 Wed Nov 25 18:45:12 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1246 | |
| 1247 * include/sched.inl (unlock) (lock): | |
| 1248 * src/common/thread.cxx (thread_entry): | |
| 1249 * src/sched/sched.cxx (unlock_inner): | |
| 1250 | |
| 1251 Ensure all accesses to sched_lock cannot be reordered by the | |
| 1252 optimiser | |
| 1253 | |
| 1254 1998-11-24 Jesper Skov <jskov@cygnus.co.uk> | |
| 1255 | |
| 1256 * src/common/thread.cxx (thread_entry): Prevent scheduler lock | |
| 1257 from being released too early. | |
| 1258 | |
| 1259 1998-11-23 Nick Garnett <nickg@cygnus.co.uk> | |
| 1260 | |
| 1261 * include/pkgconf/kernel.h: | |
| 1262 * src/common/clock.cxx: | |
| 1263 Added CYGIMP_KERNEL_COUNTERS_SORT_LIST option to determine whether | |
| 1264 the alarm lists in counters are sorted or not. | |
| 1265 | |
| 1266 * tests/tm_basic.cxx: Added a test for many alarms firing | |
| 1267 separately. | |
| 1268 | |
| 1269 1998-11-23 Jesper Skov <jskov@cygnus.co.uk> | |
| 1270 | |
| 1271 * tests/kcache1.c: Only run with stride 1 on SIMs. | |
| 1272 | |
| 1273 1998-11-19 Gary Thomas <gthomas@cygnus.co.uk> | |
| 1274 | |
| 1275 * tests/tm_basic.cxx: Insure appropriate kernel configuration for | |
| 1276 building tool. Needs at least kernel C API and multi-level scheduler. | |
| 1277 | |
| 1278 1998-11-18 Gary Thomas <gthomas@cygnus.co.uk> | |
| 1279 | |
| 1280 * tests/tm_basic.cxx: Add interrupt latency support. Print | |
| 1281 results to 10ns accuracy. | |
| 1282 | |
| 1283 * tests/PKGconf.mak: Add 'tm_basic' (the kernel timing test | |
| 1284 program) to list of built tests. | |
| 1285 | |
| 1286 * src/intr/intr.cxx: Change usage of HAL_INTERRUPT_MASK to have | |
| 1287 trailing ';' to match similar macros. | |
| 1288 | |
| 1289 * src/common/clock.cxx: | |
| 1290 * include/pkgconf/kernel.h: Add CDL option | |
| 1291 CYGVAR_KERNEL_COUNTERS_CLOCK_LATENCY used to define if interrupt | |
| 1292 latency measurements should be built into kernel. | |
| 1293 | |
| 1294 1998-11-17 Jesper Skov <jskov@cygnus.co.uk> | |
| 1295 | |
| 1296 * include/pkgconf/kernel.h: Renamed CYG_HAL_POWERPC_MP860 to | |
| 1297 CYG_HAL_POWERPC_MPC860. | |
| 1298 | |
| 1299 | |
| 0 | 1300 1998-10-28 David Moore <dsm@keema.cygnus.co.uk> |
| 1301 | |
| 1302 * include/pkgconf/kernel.h | |
| 1303 (CYGNUM_KERNEL_COUNTERS_RTC_RESOLUTION): Changed default value for | |
| 1304 MIPS simulator to be 0.01 secs instead of 0.001 seconds. | |
| 1305 | |
| 1306 1998-10-28 Jesper Skov <jskov@cygnus.co.uk> | |
| 1307 | |
| 1308 * tests/kcache1.c (HAL_DCACHE_PURGE_ALL): Fixed compiler problem | |
| 1309 on PowerPC. | |
| 1310 | |
| 1311 1998-10-27 Nick Garnett <nickg@cygnus.co.uk> | |
| 1312 | |
| 1313 * tests/kcache1.c: | |
| 1314 Added calls to HAL_DCACHE_PURGE_ALL() before each test. Added | |
| 1315 local version of HAL_DCACHE_PURGE_ALL() if this is not supplied by | |
| 1316 the HAL. | |
| 1317 | |
| 1318 1998-10-27 Hugo Tyson <hmt@cygnus.co.uk> | |
| 1319 | |
| 1320 * src/common/thread.cxx (wake): | |
| 1321 Remove the thread unconditionally from any queue it was on; for we | |
| 1322 have just become not-asleep, so it must be OK. (Bug was: it | |
| 1323 didn't happen in transit WAIT-SUSPEND -> SUSPEND, so synch object | |
| 1324 still believed the task was waiting on it). PR#17998 | |
| 1325 | |
| 1326 1998-10-26 Jesper Skov <jskov@cygnus.co.uk> | |
| 1327 PR 17527, PR 17837 | |
| 1328 | |
| 1329 * tests/kcache1.c: | |
| 1330 * tests/kclock0.c: | |
| 1331 * tests/kclock1.c: | |
| 1332 * tests/clock1.cxx: | |
| 1333 * tests/clock0.cxx: | |
| 1334 Do N/A PASS when kernel real-time clock is configured out. | |
| 1335 | |
| 1336 1998-10-26 Jesper Skov <jskov@lassi.cygnus.co.uk> | |
| 1337 PR 17866 | |
| 1338 | |
| 1339 * include/pkgconf/kernel.h | |
| 1340 (CYGNUM_KERNEL_THREADS_IDLE_STACK_SIZE): Doubled to prevent stack | |
| 1341 overruns on PowerPC. | |
| 1342 | |
| 1343 1998-10-26 Jesper Skov <jskov@cygnus.co.uk> | |
| 1344 PR 17987 | |
| 1345 | |
| 1346 * src/debug/dbg_gdb.cxx (dbg_threadinfo): Removed "more: <none>" | |
| 1347 output. | |
| 1348 | |
| 1349 1998-10-23 John Dallaway <jld@cygnus.co.uk> | |
| 1350 | |
| 1351 * tests/tm_basic.cxx: Added basic timing test. | |
| 1352 | |
| 1353 1998-10-23 Nick Garnett <nickg@cygnus.co.uk> | |
| 1354 | |
| 1355 * include/instrmnt.h: | |
| 1356 Improved documentation of cyg_instrument_enable() and | |
| 1357 cyg_instrument_disable(). | |
| 1358 | |
| 1359 * src/instrmnt/meminst.cxx: | |
| 1360 Added code to enable and disable whole groups of events. | |
| 1361 | |
| 1362 1998-10-23 Jesper Skov <jskov@lassi.cygnus.co.uk> | |
| 1363 | |
| 1364 * include/generic-stub.h: Deleted. It was moved to hal common some | |
| 1365 time ago. | |
| 1366 | |
| 1367 Fri Oct 23 04:45:12 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1368 | |
| 1369 * tests/kcache1.c: | |
| 1370 Remove forced warning of a warning which no longer applies | |
| 1371 | |
| 1372 1998-10-22 Nick Garnett <nickg@cygnus.co.uk> | |
| 1373 | |
| 1374 * src/common/clock.cxx: | |
| 1375 Stop searching the alarm list when the current alarm is in the | |
| 1376 future in Cyg_Counter::tick(). Changed sense of comparison in | |
| 1377 Cyg_Counter::add_alarm() to sort alarms in ascending order. | |
| 1378 | |
| 1379 Thu Oct 22 18:21:50 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1380 | |
| 1381 * include/pkgconf/kernel.h: | |
| 1382 Fix commenting within CDL "comments" | |
| 1383 | |
| 1384 Thu Oct 22 17:25:45 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1385 | |
| 1386 * include/pkgconf/kernel.h: | |
| 1387 Remove CYGVAR_KERNEL_INSTRUMENT_EXTERNAL_BUFFER configuration | |
| 1388 option. For PR 17838 | |
| 1389 | |
| 1390 1998-10-21 Nick Garnett <nickg@cygnus.co.uk> | |
| 1391 | |
| 1392 * include/pkgconf/kernel.h (CYGNUM_KERNEL_COUNTERS_RTC_PERIOD): | |
| 1393 Changed value for JMR3904 board to 15360 which is correct for a | |
| 1394 24.576MHz board rather than 25MHz as before. | |
| 1395 | |
| 1396 * src/common/thread.cxx: | |
| 1397 Exchanged stack_base and stack_size in idle thread constructor. | |
| 1398 | |
| 1399 1998-10-20 Hugo Tyson <hmt@cygnus.co.uk> | |
| 1400 | |
| 1401 * tests/kflag1.c (kflag1_main): | |
| 1402 Only mess with f2 if it exists, ie. CYGFUN_KERNEL_THREADS_TIMER. | |
| 1403 | |
| 1404 1998-10-19 Mark Galassi <rosalia@cygnus.com> | |
| 1405 | |
| 1406 * include/pkgconf/kernel.h: updated the doc URL | |
| 1407 | |
| 1408 1998-10-19 Hugo Tyson <hmt@cygnus.co.uk> | |
| 1409 | |
| 1410 * include/kapi.h: | |
| 1411 * include/kapidata.h (struct cyg_flag_t): | |
| 1412 * src/common/kapi.cxx: | |
| 1413 Add flags (Cyg_Flag, kernel.../flag.hxx) to the C API. | |
| 1414 | |
| 1415 * tests/PKGconf.mak (TESTS): | |
| 1416 Add new tests for flags via the C API. | |
| 1417 | |
| 1418 * tests/kflag0.c: | |
| 1419 * tests/kflag1.c: | |
| 1420 New tests (well, versions of the plain C++ versions flag0.cxx and | |
| 1421 flag1.cxx) for flags via the kernel C API. | |
| 1422 | |
| 1423 1998-10-19 Bart Veer <bartv@cygnus.co.uk> | |
| 1424 | |
| 1425 * include/pkgconf/kernel.h: | |
| 1426 Fixed description of clock resolution. | |
| 1427 | |
| 1428 1998-10-17 Bart Veer <bartv@cygnus.co.uk> | |
| 1429 | |
| 1430 * include/pkgconf/kernel.h: | |
| 1431 Added a way of configuring the clock interrupt frequency. | |
| 1432 | |
| 1433 Thu Oct 15 21:31:58 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1434 | |
| 1435 * include/pkgconf/kernel.h: | |
| 1436 Allow kernel to be disabled now | |
| 1437 | |
| 1438 * src/common/delete.cxx, src/common/memcpy.c, src/common/memset.c: | |
| 1439 Move these files to the infra package | |
| 1440 | |
| 1441 * src/PKGconf.mak: | |
| 1442 Don't build the above files any more | |
| 1443 | |
| 1444 Above changes are required for PR 17229 | |
| 1445 | |
| 1446 1998-10-15 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 1447 | |
| 1448 * include/mempoolt.inl (Cyg_Mempoolt): | |
| 1449 * include/mempolt2.inl (Cyg_Mempolt2): | |
| 1450 Flesh out the destructors to awaken any waiting threads | |
| 1451 with reason Cyg_Thread::DESTRUCT to support uITRON | |
| 1452 create and delete of memory pool objects. | |
| 1453 Note that only template mempolt2 is actually used. | |
| 1454 | |
| 1455 Wed Oct 14 21:45:54 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1456 | |
| 1457 * tests/thread_gdb.c: | |
| 1458 Remove unnecessary inclusion of <cyg/kernel/diag.h> | |
| 1459 | |
| 1460 * tests/kcache1.c: | |
| 1461 Add a warning to expect the "function declaration isn't a | |
| 1462 prototype" warning from infra/diag.h | |
| 1463 | |
| 1464 1998-10-14 Hugo Tyson <hmt@cygnus.co.uk> | |
| 1465 | |
| 1466 * src/common/thread.cxx (kill,reinitialize): | |
| 1467 Do not refer to member timer unless CYGFUN_KERNEL_THREADS_TIMER is | |
| 1468 defined. | |
| 1469 | |
| 1470 1998-10-14 Nick Garnett <nickg@cygnus.co.uk> | |
| 1471 | |
| 1472 * src/debug/dbg-thread-demux.c: | |
| 1473 Now get dbg-threads-api.h from HAL. | |
| 1474 | |
| 1475 * src/debug/dbg_gdb.cxx: | |
| 1476 Tidied up info sent back by dbg_threadinfo(). | |
| 1477 | |
| 1478 * src/common/thread.cxx: | |
| 1479 Changed constructor of idle thread to include initial priority and | |
| 1480 a thread name. | |
| 1481 | |
| 1482 * include/pkgconf/kernel.h: | |
| 1483 Moved GDB stub configuration code out to hal.h. | |
| 1484 | |
| 1485 * include/ktypes.h: | |
| 1486 Moved definition of CYG_LABEL_NAME() out to cyg_type.h. | |
| 1487 | |
| 1488 * src/debug/PKGconf.mak: | |
| 1489 * src/debug/dbg-threads-api.h: | |
| 1490 * src/debug/generic-stub.c: | |
| 1491 * src/debug/stubrom.c: | |
| 1492 * src/debug/thread-packets.c: | |
| 1493 * src/debug/thread-pkts.h: | |
| 1494 These files have all be relocated to hal/common. | |
| 1495 | |
| 1496 1998-10-14 Hugo Tyson <hmt@cygnus.co.uk> | |
| 1497 | |
| 1498 * include/thread.hxx (class Cyg_Thread): | |
| 1499 Add public members get_stack_base(), get_stack_size() and | |
| 1500 get_stack_limit(); | |
| 1501 Add private members add_to_list() and remove_from_list() to | |
| 1502 centralize handling of the CYGVAR_KERNEL_THREADS_LIST as it is | |
| 1503 known. | |
| 1504 | |
| 1505 * include/thread.inl (class Cyg_Thread): | |
| 1506 Add public members get_stack_base(), get_stack_size() and | |
| 1507 get_stack_limit(); | |
| 1508 | |
| 1509 * src/common/thread.cxx: | |
| 1510 Add private members add_to_list() and remove_from_list() to | |
| 1511 centralize handling of the CYGVAR_KERNEL_THREADS_LIST as it is | |
| 1512 known. | |
| 1513 Tidy up the two constructors to use them. | |
| 1514 Add CYG_REPORT_RETURN()/_RETVAL(...) logging throughout. | |
| 1515 Tidy up reinitialize() to use the 6-argument constructor, | |
| 1516 thus preserving the thread name. | |
| 1517 Fix some bugs in the CYGVAR_KERNEL_THREADS_LIST stuff where | |
| 1518 re-adding a thread caused loops in the list, and the like. | |
| 1519 Fix bug in set_priority() when the thread is asleep but NOT on any | |
| 1520 queue, such as a plain counted_sleep(). | |
| 1521 | |
| 1522 1998-10-14 Jesper Skov <jskov@cygnus.co.uk> | |
| 1523 | |
| 1524 * src/debug/thread-packets.c: | |
| 1525 * src/debug/dbg_gdb.cxx: | |
| 1526 Don't include hal_stub.h unless it's really, really, really | |
| 1527 needed. | |
| 1528 | |
| 1529 1998-10-14 Jesper Skov <jskov@cygnus.co.uk> | |
| 1530 | |
| 1531 * src/debug/dbg_gdb.cxx: Don't include hal_stub.h unless it's really | |
| 1532 needed. | |
| 1533 | |
| 1534 1998-10-13 Jesper Skov <jskov@cygnus.co.uk> | |
| 1535 | |
| 1536 * src/debug/generic-stub.c: Added thread support. Renaming a few | |
| 1537 functions/variables to match the most recent libstub | |
| 1538 generic-stub.c. | |
| 1539 Use thread_get_register & thread_put_register when handling GDB | |
| 1540 register packets. | |
| 1541 | |
| 1542 * src/debug/dbg_gdb.cxx (dbg_getthreadreg, dbg_getthreadreg): | |
| 1543 DTRT for current thread when CygMon is not configured. | |
| 1544 | |
| 1545 * src/debug/dbg_gdb.cxx (dbg_threadlist, dbg_getthreadreg, | |
| 1546 dbg_getthreadreg): return true/false rather than 0, 1, -1. | |
| 1547 | |
| 1548 * src/debug/dbg_gdb.cxx: | |
| 1549 * src/debug/dbg-threads-api.h: | |
| 1550 Added dbg_currthread_id. | |
| 1551 | |
| 1552 1998-10-08 Jesper Skov <jskov@lassi.cygnus.co.uk> | |
| 1553 | |
| 1554 * src/debug/generic-stub.c: | |
| 1555 * src/debug/generic-stub.h: | |
| 1556 Added control of interrupts. | |
| 1557 Removed unused functions set_debug_trap and initialize_stub. | |
| 1558 | |
| 1559 Tue Oct 13 17:36:29 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1560 | |
| 1561 * src/test/tsttracc.c (cyg_start): | |
| 1562 Replace CYG_REPORT_FUNCARGSVOID with the correct | |
| 1563 CYG_REPORT_FUNCARGVOID | |
| 1564 | |
| 1565 1998-10-09 Hugo Tyson <hmt@cygnus.co.uk> | |
| 1566 | |
| 1567 * src/common/thread.cxx: | |
| 1568 clear_timer() is a static which always affects the executing | |
| 1569 thread and none other. Removed the "foo->" from various | |
| 1570 "foo->clear_timer()" calls to make this less confusing. | |
| 1571 Ditto set_timer(). | |
| 1572 Changed a "clear_timer()" call to "timer.disable()" and added one | |
| 1573 so that they affect _this_ thread, the thread which is being | |
| 1574 kill()ed or reinitialize()d rather than the killer or the | |
| 1575 resuscitator. Otherwise the alarm list can still get a loop in | |
| 1576 it when a thread's killed when waiting with a timeout and | |
| 1577 restarted soon enough. | |
| 1578 | |
| 1579 1998-10-08 Hugo Tyson <hmt@cygnus.co.uk> | |
| 1580 | |
| 1581 In general, these changes are to support create/delete of uITRON | |
| 1582 objects; this requires that an object can be destroyed whilst | |
| 1583 there are threads waiting on it, and that they shall be awoken | |
| 1584 with a specific return code. | |
| 1585 | |
| 1586 * include/thread.hxx: | |
| 1587 Cyg_Thread::DESTRUCT added to wake reasons, to deal with an object | |
| 1588 being destroyed whilst a thread is waiting on it; it's handled in | |
| 1589 a manner very similar to release() and BREAK wake_reason. | |
| 1590 | |
| 1591 * src/common/thread.cxx: | |
| 1592 thread_entry(): threads now exit() if the entry_point returns. | |
| 1593 Cyg_Thread() constructors now initialize wake_reason to NONE. | |
| 1594 reinitialize() clears any pending timeout before calling | |
| 1595 constructors. | |
| 1596 counted_sleep( [timeout] ) now both deal with the wake reason in | |
| 1597 general, and with DESTRUCT in particular. | |
| 1598 exit() now clears any pending timeout. | |
| 1599 kill() now force_resumes the thread first. | |
| 1600 kill() now does not explicitly remove the thread from any queue | |
| 1601 it's on; wake() does that for you anyway. | |
| 1602 delay() clears the timer just in case and handles DESTRUCT | |
| 1603 properly. | |
| 1604 DESTRUCT added to various switches for completeness. | |
| 1605 | |
| 1606 The fixes to counted_sleep()[x2] and kill() are a bugfix for | |
| 1607 PR#17688. | |
| 1608 | |
| 1609 * include/flag.hxx: | |
| 1610 * src/sync/flag.cxx: | |
| 1611 Add an argument, defaulting to 0, to the constructor which sets | |
| 1612 the initial flag value. | |
| 1613 Add handing of DESTRUCT wake reason. | |
| 1614 Add a destructor which wakes all threads with DESTRUCT | |
| 1615 wake_reason. | |
| 1616 | |
| 1617 * include/mboxt2.inl: | |
| 1618 Add handing of DESTRUCT wake reason. | |
| 1619 Add a destructor which wakes all threads with DESTRUCT | |
| 1620 wake_reason. | |
| 1621 | |
| 1622 * src/sync/cnt_sem2.cxx: | |
| 1623 Add handing of DESTRUCT wake reason. | |
| 1624 Add a destructor which wakes all threads with DESTRUCT | |
| 1625 wake_reason. | |
| 1626 Correct typo in logic for queueing a waiting thread in | |
| 1627 Cyg_Counting_Semaphore2::wait( cyg_tick_count abs_timeout ). | |
| 1628 This is a bugfix for PR#17687. | |
| 1629 | |
| 1630 * include/mboxt.inl: | |
| 1631 * include/mempoolt.inl: | |
| 1632 * include/mempolt2.inl: | |
| 1633 * src/sync/bin_sem.cxx: | |
| 1634 * src/sync/cnt_sem.cxx: | |
| 1635 * src/sync/mutex.cxx: | |
| 1636 All these gain handling of the DESTRUCT wake_reason, that's all. | |
| 1637 | |
| 1638 1998-10-08 Gary Thomas <gthomas@penang.cygnus.co.uk> | |
| 1639 | |
| 1640 * include/pkgconf/kernel.h: | |
| 1641 Add support for new architecture | |
| 1642 | |
| 1643 1998-10-07 Nick Garnett <nickg@cygnus.co.uk> | |
| 1644 | |
| 1645 * tests/kcache1.c (entry0): | |
| 1646 Replaced CYG_TEST_FINISH() with CYG_TEST_PASS_FINISH(). | |
| 1647 | |
| 1648 * src/debug/dbg-thread-demux.c: | |
| 1649 Added dbg_thread_syscall_rmt_1() to save/set and restore the $gp | |
| 1650 register values when being called from Cygmon. | |
| 1651 | |
| 1652 Sun Sep 27 20:12:15 1998 David Moore <dsm@keema.cygnus.co.uk> | |
| 1653 | |
| 1654 * include/mlqueue.hxx: | |
| 1655 * include/bitmap.hxx: | |
| 1656 Disallow more than 32 priority levels | |
| 1657 | |
| 1658 * include/pkgconf/kernel.h: | |
| 1659 Changed range of allowed levels from 64 to 32 | |
| 1660 | |
| 1661 1998-09-27 Nick Garnett <nickg@cygnus.co.uk> | |
| 1662 | |
| 1663 * tests/memfix2.cxx: | |
| 1664 Changed message to say "Fixed memory pool 2 OK" rather than | |
| 1665 "Variable memory pool 2 OK". | |
| 1666 | |
| 1667 1998-09-26 Bart Veer <bartv@cygnus.co.uk> | |
| 1668 | |
| 1669 * include/intr.hxx (DSRs_pending): | |
| 1670 PR 17500: if DSR support is disabled completely then this inline | |
| 1671 function should not be defined at all. | |
| 1672 | |
| 1673 1998-09-26 Nick Garnett <nickg@cygnus.co.uk> | |
| 1674 | |
| 1675 * tests/kcache1.c: | |
| 1676 Added this test program for cache API. Includes some performance | |
| 1677 testing. | |
| 1678 | |
| 1679 1998-09-25 Nick Garnett <nickg@cygnus.co.uk> | |
| 1680 | |
| 1681 * src/debug/dbg_gdb.cxx: | |
| 1682 Removed some debugging code. | |
| 1683 | |
| 1684 * tests/thread_gdb.c: | |
| 1685 Added this test program to allow for GDB thread support testing. | |
| 1686 | |
| 1687 1998-09-25 Bart Veer <bartv@cygnus.co.uk> | |
| 1688 | |
| 1689 * include/pkgconf/kernel.h: | |
| 1690 The GDB thread support requires the kernel to keep track of all | |
| 1691 threads on a linked list. This is a separate option. An additional | |
| 1692 requires statement enforces the dependency. | |
| 1693 | |
| 1694 1998-09-25 Nick Garnett <nickg@cygnus.co.uk> | |
| 1695 | |
| 1696 * src/debug/dbg-thread-demux.c: | |
| 1697 Added include of <pkgconf/kernel.h>, removed debug code. | |
| 1698 | |
| 1699 1998-09-24 Bart Veer <bartv@cygnus.co.uk> | |
| 1700 | |
| 1701 * src/debug/dbg-thread-demux.c (dbg_thread_syscall_rmt): | |
| 1702 PR 17327. If kernel gdb thread support is disabled, do not compile | |
| 1703 in the relevant cases in the rmt switch statement. This is a | |
| 1704 partial solution to the general problem of how the HAL, kernel, | |
| 1705 cygmon, and gdb interact. | |
| 1706 | |
| 1707 1998-09-24 Nick Garnett <nickg@cygnus.co.uk> | |
| 1708 | |
| 1709 * src/common/clock.cxx (Cyg_RealTimeClock): | |
| 1710 Changed clock priority from zero to one, since it is now used to | |
| 1711 set the hardware interrupt priority. | |
| 1712 | |
| 1713 * src/intr/intr.cxx: | |
| 1714 Cyg_Interrupt::chain_isr() now only calls interrupt objects that | |
| 1715 have the matching vector number. | |
| 1716 Call HAL_INTERRUPT_SET_LEVEL() when attaching interrupts using the | |
| 1717 priority passed in the constructor. | |
| 1718 Added call to HAL_TRANSLATE_VECTOR() for attaching chained | |
| 1719 interrupts. | |
| 1720 | |
| 1721 * include/instrmnt.h (CYG_INSTRUMENT_EVENT_INTR_CHAIN_ISR): | |
| 1722 Added this event. | |
| 1723 | |
| 1724 Thu Sep 24 11:07:12 1998 David Moore <dsm@keema.cygnus.co.uk> | |
| 1725 | |
| 1726 * tests/except1.cxx: | |
| 1727 * tests/kexcept1.cxx: | |
| 1728 Made exception tests detect when CYGPKG_KERNEL_EXCEPTIONS | |
| 1729 is disabled. | |
| 1730 | |
| 1731 | |
| 1732 1998-09-22 Bart Veer <bartv@cygnus.co.uk> | |
| 1733 | |
| 1734 * include/pkgconf/kernel.h: | |
| 1735 Changed the kernel package from type bool to type dummy, since | |
| 1736 it is not yet possible to disable this package. | |
| 1737 | |
| 1738 1998-09-20 Mark Galassi <rosalia@cygnus.com> | |
| 1739 | |
| 1740 * include/pkgconf/kernel.h: updated CDL doc strings. | |
| 1741 fixed some typos in my doc strings. | |
| 1742 | |
| 1743 1998-09-18 Nick Garnett <nickg@cygnus.co.uk> | |
| 1744 | |
| 1745 * src/common/thread.cxx: | |
| 1746 * include/thread.inl: | |
| 1747 Modified threads list from a LIFO stack to a ring so that we can | |
| 1748 add new ones to the end and present the threads to GDB in an order | |
| 1749 that more closely matches how it assigns thread ids. | |
| 1750 | |
| 1751 Wed Sep 16 19:11:22 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 1752 | |
| 1753 * include/thread.inl (get_unique_id): | |
| 1754 Move this declaration to before its first use, so that the user | |
| 1755 knows it is inline at the point of use. Avoids a warning. | |
| 1756 | |
| 1757 Wed Sep 16 08:49:48 1998 Jesper Skov <jskov@cygnus.co.uk> | |
| 1758 PR 17269 | |
| 1759 | |
| 1760 * src/common/except.cxx (Cyg_Exception_Control): Replaced | |
| 1761 CYGNUM_EXCEPTION_MAX (bug!) with CYG_EXCEPTION_COUNT. | |
| 1762 | |
| 1763 * include/kapidata.h (struct cyg_exception_conrol): Replaced | |
| 1764 CYG_EXCEPTION_MAX (bug!) with CYG_EXCEPTION_COUNT. | |
| 1765 | |
| 1766 * src/intr/intr.cxx: | |
| 1767 * include/intr.hxx (class Cyg_Interrupt): Replaced CYG_ISR_MAX+1 | |
| 1768 with CYG_ISR_COUNT. | |
| 1769 | |
| 1770 * include/except.hxx: Replaced CYGNUM_EXCEPTION_COUNT with | |
| 1771 CYG_EXCEPTION_COUNT. | |
| 1772 | |
| 1773 * tests/kintr0.c: | |
| 1774 * tests/intr0.cxx: Replaced CYG_ISR_MAX (bug!) with | |
| 1775 CYG_ISR_COUNT. | |
| 1776 | |
| 1777 Tue Sep 15 19:19:37 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 1778 | |
| 1779 * include/mboxt2.hxx: | |
| 1780 Add inclusion of thread.inl to silence warning | |
| 1781 | |
| 1782 * tests/kexcept1.c: | |
| 1783 Insert void as parameter list of __default_exception_vsr() to | |
| 1784 silence warning | |
| 1785 | |
| 1786 Tue Sep 15 19:16:52 1998 David Moore <dsm@keema.cygnus.co.uk> | |
| 1787 | |
| 1788 * src/sched/sched.cxx: Cleaned up comments. | |
| 1789 | |
| 1790 1998-09-15 Nick Garnett <nickg@cygnus.co.uk> | |
| 1791 | |
| 1792 * src/debug/dbg-thread-demux.c: | |
| 1793 Stubbed out led() function. | |
| 1794 | |
| 1795 * src/debug/dbg_gdb.cxx: | |
| 1796 Decide whether to byteswap thread id depending on reported byte | |
| 1797 order of target. | |
| 1798 Many small changes to debug code. | |
| 1799 | |
| 1800 * include/thread.inl (init_context): | |
| 1801 Changed CYG_DEBUG to CYGPKG_INFRA_DEBUG. | |
| 1802 | |
| 1803 Tue Sep 15 09:35:14 1998 Jesper Skov <jskov@cygnus.co.uk> | |
| 1804 PR 17236 | |
| 1805 | |
| 1806 * src/common/clock.cxx (add_alarm): A retriggering alarm called | |
| 1807 with a trigger time in the past or now will be assigned a new | |
| 1808 trigger time. Don't find the counter list until the final trigger | |
| 1809 time is known. | |
| 1810 Also added a few #else error statements to catch a situation where | |
| 1811 no CYGIMP_KERNEL_COUNTERS_x_LIST implementation config is | |
| 1812 selected. | |
| 1813 | |
| 1814 * tests/clock0.cxx: Added extra ASSERT to ensure alarms enabled | |
| 1815 with a trigger time of now or in the past actually fire. | |
| 1816 * tests/kclock0.c: Same. | |
| 1817 | |
| 1818 1998-09-15 Bart Veer <bartv@cygnus.co.uk> | |
| 1819 | |
| 1820 * include/pkgconf/kernel.h: | |
| 1821 Cleaning up coonfiguration data (mostly improving the | |
| 1822 descriptions). | |
| 1823 | |
| 1824 Mon Sep 14 11:08:59 1998 Jesper Skov <jskov@lassi.cygnus.co.uk> | |
| 1825 PR 17230 | |
| 1826 | |
| 1827 * include/pkgconf/kernel.h: CYGIMP_KERNEL_INTERRUPTS_CHAIN | |
| 1828 requires CYGIMP_HAL_COMMON_INTERRUPTS_CHAIN. | |
| 1829 | |
| 1830 1998-09-14 Mark Galassi <rosalia@cygnus.com> | |
| 1831 | |
| 1832 * include/pkgconf/kernel.h: started adding CDL doc fields. | |
| 1833 | |
| 1834 1998-09-12 Bart Veer <bartv@cygnus.co.uk> | |
| 1835 | |
| 1836 * include/pkgconf/kernel.h: | |
| 1837 Sort out exception handling options (PR 16953) | |
| 1838 Added missing descriptions (PR 17184) | |
| 1839 | |
| 1840 Fri Sep 11 19:18:28 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 1841 | |
| 1842 * include/clock.hxx (class Cyg_Alarm): | |
| 1843 * src/common/clock.cxx (Cyg_Alarm::add_alarm): | |
| 1844 PR#17182 | |
| 1845 Move the code to synchronize a repeating alarm which had been | |
| 1846 firing in the dim and distant past with times in the future, which | |
| 1847 had been inline in Cyg_Alarm::enable(), into a function of its | |
| 1848 own, Cyg_Alarm::synchronize(). Call it from Cyg_Alarm::enable() | |
| 1849 and also from add_alarm() when the immediate time to fire is now | |
| 1850 or in the past; otherwise an initial time of, say, NOW-10 with an | |
| 1851 interval of 5 would just get lost. Also corrected/commented the | |
| 1852 logic there to allow an alarm's handler to cancel itself. | |
| 1853 | |
| 1854 Wed Sep 9 17:43:26 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 1855 | |
| 1856 * src/common/delete.cxx: | |
| 1857 Control the provision of empty delete functions rather better, via | |
| 1858 an explicit option from the libc package. Read the rather lengthy | |
| 1859 comment in delete.cxx for the explanation. | |
| 1860 Also note that the correct place for this functionality is in the | |
| 1861 infrastructure, and the same should be done for the C++ new | |
| 1862 functions also. | |
| 1863 | |
| 1864 1998-09-09 Nick Garnett <nickg@cygnus.co.uk> | |
| 1865 | |
| 1866 * src/common/thread.cxx: | |
| 1867 combined separate next_unique_id variables in both constructors. | |
| 1868 This would have caused duplicate thread ids to be generated. | |
| 1869 | |
| 1870 * include/thread.inl: | |
| 1871 Added code to initialize Cyg_HardwareThread::saved_context. | |
| 1872 | |
| 1873 * src/debug/dbg-thread-demux.c: | |
| 1874 * src/debug/dbg_gdb.cxx: | |
| 1875 Many changes to get thread API working with Cygmon. Debug code | |
| 1876 currently left in place until complete testing is possible. | |
| 1877 | |
| 1878 Tue Sep 8 17:17:32 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 1879 | |
| 1880 * include/pkgconf/kernel.h (CYGNUM_KERNEL_COUNTERS_RTC_PERIOD): | |
| 1881 Set up a sensible default RTC for CYG_HAL_MN10300_SIM different | |
| 1882 from that for the MN103002 or CYG_HAL_MN10300_STDEVAL1, so that | |
| 1883 sim tests run in less than geological time. This is the same as | |
| 1884 the default value of before. | |
| 1885 | |
| 1886 Fri Sep 4 18:25:02 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 1887 | |
| 1888 * src/sched/mlqueue.cxx (timeslice): | |
| 1889 * src/sched/sched.cxx (unlock_inner): | |
| 1890 Condition out the tracing macros here by default, for tracing | |
| 1891 these consumes the whole quantum. | |
| 1892 | |
| 1893 1998-09-04 Bart Veer <bartv@cygnus.co.uk> | |
| 1894 | |
| 1895 * include/pkgconf/kernel.h: | |
| 1896 Commented out the ROM monitor-specific option settings for now. | |
| 1897 | |
| 1898 * tests/kclock1.c: | |
| 1899 * include/pkgconf/kernel.h: | |
| 1900 * include/kapidata.h (struct cyg_counter): | |
| 1901 Fixed typos in configuration option names. | |
| 1902 | |
| 1903 1998-09-03 David Moore <dsm@cygnus.co.uk> | |
| 1904 | |
| 1905 * include/pkgconf/kernel.h | |
| 1906 (CYGNUM_KERNEL_INTERRUPTS_DSRS_TABLE_SIZE): | |
| 1907 Fixed typo in configuration option name. | |
| 1908 | |
| 1909 * src/intr/intr.cxx: | |
| 1910 Fixed typo in configuration option name. | |
| 1911 Fixed cast to incorrect type. | |
| 1912 | |
| 1913 1998-09-03 Nick Garnett <nickg@cygnus.co.uk> | |
| 1914 | |
| 1915 * src/PKGconf.mak (COMPILE): | |
| 1916 Added debug/dbg-thread-demux.c to COMPILE list. | |
| 1917 | |
| 1918 * src/debug/dbg_gdb.cxx (dbg_threadinfo): | |
| 1919 Added first cut at providing thread state string. | |
| 1920 | |
| 1921 * src/debug/dbg-thread-syscall.h: | |
| 1922 * src/debug/dbg-thread-demux.c: | |
| 1923 Added these two files to implement the interface between Cygmon | |
| 1924 and eCos. | |
| 1925 | |
| 1926 1998-09-03 Bart Veer <bartv@cygnus.co.uk> | |
| 1927 | |
| 1928 * include/pkgconf/kernel.h (CYGSEM_KERNEL_MEMORY_COALESCE): | |
| 1929 * include/mvarimpl.inl (Cyg_Mempool_Variable_Implementation): | |
| 1930 Fixed typo in configuration option name. | |
| 1931 | |
| 1932 * include/pkgconf/kernel.h: | |
| 1933 Fixed type in configuration option name. | |
| 1934 | |
| 1935 Wed Sep 2 19:01:02 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 1936 | |
| 1937 * include/mboxt.hxx: | |
| 1938 * include/mboxt.inl: | |
| 1939 * include/mboxt2.hxx: | |
| 1940 * include/mboxt2.inl: | |
| 1941 * include/mempolt2.hxx: | |
| 1942 * include/mempolt2.inl: | |
| 1943 * include/mempoolt.hxx: | |
| 1944 * include/mempoolt.inl: | |
| 1945 * include/sema2.hxx: | |
| 1946 * src/sync/cnt_sem2.cxx: | |
| 1947 * include/flag.hxx: | |
| 1948 * src/sync/flag.cxx: | |
| 1949 * include/kapi.h: | |
| 1950 * src/common/kapi.cxx: | |
| 1951 * tests/kmbox1.c: | |
| 1952 * tests/kmemfix1.c: | |
| 1953 * tests/kmemvar1.c: | |
| 1954 * tests/mbox1.cxx: | |
| 1955 * tests/memfix1.cxx: | |
| 1956 * tests/memvar1.cxx: | |
| 1957 Memory pool (both types) and message boxes (both types) and flags | |
| 1958 and cnt_sem2-type semaphores now all have absolute timeouts | |
| 1959 instead of relative ones in the timely wait functions. | |
| 1960 uITRON has changed to add the current time itself. | |
| 1961 Kapi changes are mainly name changes to make it clear that | |
| 1962 timeouts are now absolute. | |
| 1963 The tests (incl. kapi) add in the time themselves now. | |
| 1964 | |
| 1965 1998-09-01 Tim Goodwin <tgoodwin@cygnus.co.uk> | |
| 1966 | |
| 1967 * include/kapi.h: | |
| 1968 * src/common/kapi.cxx: | |
| 1969 * tests/kclock1.c: | |
| 1970 * tests/kexcept1.c: | |
| 1971 * tests/kmbox1.c: | |
| 1972 * tests/kmemfix1.c: | |
| 1973 * tests/kmemvar1.c: | |
| 1974 * tests/kmutex1.c: | |
| 1975 * tests/ksched1.c: | |
| 1976 * tests/ksem1.c: | |
| 1977 * tests/kthread0.c: | |
| 1978 * tests/kthread1.c: | |
| 1979 * src/test/kcache1.c: | |
| 1980 * src/test/kphilo.c: | |
| 1981 * tests/kphilo.c: | |
| 1982 * tests/lottery.c: | |
| 1983 Changes to cyg_thread_create() interface. | |
| 1984 | |
| 1985 Tue Sep 1 18:49:06 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 1986 | |
| 1987 * include/pkgconf/kernel.h: | |
| 1988 Moved and renamed CYG_DIAG_USE_DEVICE to infra and to | |
| 1989 CYGDBG_INFRA_DIAG_USE_DEVICE; kernel.h now includes infra.h as | |
| 1990 well as hal.h to ensure all its clients get the info too. | |
| 1991 | |
| 1992 * include/intr.hxx (class Cyg_Interrupt): | |
| 1993 Add static member interrupts_enabled() to poll the current status; | |
| 1994 just to avoid calling the HAL directly, really. | |
| 1995 | |
| 1996 * include/diag.h: | |
| 1997 Now just includes cyg/infra/diag.h, so that kernel-specific | |
| 1998 features can be added later - original diag.h has moved to infra, | |
| 1999 and is that includee. | |
| 2000 | |
| 2001 * src/PKGconf.mak: | |
| 2002 Trace folder and its contents elided, now in infra. | |
| 2003 | |
| 2004 * src/trace/diag.c: | |
| 2005 * src/trace/fancy.cxx: | |
| 2006 * src/trace/null.cxx: | |
| 2007 * src/trace/simple.cxx: | |
| 2008 * src/trace/tcdiag.cxx: | |
| 2009 Deleted; all moved to infra, actually. | |
| 2010 | |
| 2011 1998-09-01 Nick Garnett <nickg@cygnus.co.uk> | |
| 2012 | |
| 2013 * src/debug/dbg-threads-api.h: | |
| 2014 * src/debug/dbg_gdb.cxx: | |
| 2015 Converted threadref from long long to char[8] as defined by Cygmon | |
| 2016 guys. | |
| 2017 | |
| 2018 * src/common/thread.cxx: | |
| 2019 Added scheduler lock around manipulations of thread list. | |
| 2020 | |
| 2021 * include/except.hxx: | |
| 2022 Now use CYG_EXCEPTION_COUNT to size handler arrays. | |
| 2023 | |
| 2024 Mon Aug 31 17:53:12 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2025 | |
| 2026 * include/memfixed.hxx, include/mempolt2.hxx, include/mempolt2.inl, | |
| 2027 include/mempoolt.hxx, include/mempoolt.inl, include/memvar.hxx, | |
| 2028 include/mvarimpl.hxx, include/mvarimpl.inl, src/mem/memfixed.cxx, | |
| 2029 src/mem/memvar.cxx: | |
| 2030 | |
| 2031 Add new get_allocation_size() method to return the size of a | |
| 2032 previously allocated block - trivial for fixed block allocator, and | |
| 2033 requiring a bit of poking around for the variable block allocator. | |
| 2034 | |
| 2035 This is required for the C library realloc() implementation. Strictly | |
| 2036 this only uses the variable block allocator, but the API can only be | |
| 2037 enhanced by also updating the template. As a result, this also meant | |
| 2038 doing it for the fixed block allocator. | |
| 2039 | |
| 2040 Mon Aug 31 09:51:37 1998 Jesper Skov <jskov@cygnus.co.uk> | |
| 2041 | |
| 2042 * src/debug/stubrom.c (cyg_start): Renamed from main(). | |
| 2043 | |
| 2044 Mon Aug 31 09:00:01 1998 Jesper Skov <jskov@cygnus.co.uk> | |
| 2045 | |
| 2046 * src/common/thread.cxx: Fixed typo. | |
| 2047 | |
| 2048 1998-08-28 Bart Veer <bartv@cygnus.co.uk> | |
| 2049 | |
| 2050 * include/pkgconf/kernel.h, include/bitmap.hxx, include/clock.hxx, | |
| 2051 include/except.hxx, include/flag.hxx, include/instrmnt.h, | |
| 2052 include/intr.hxx, include/kapi.h, include/kapidata.h, | |
| 2053 include/mbox.hxx, include/mboxt.hxx, include/mboxt.inl, | |
| 2054 include/mboxt2.hxx, include/mboxt2.inl, include/memfixed.hxx, | |
| 2055 include/mempolt2.hxx, include/mempolt2.inl, | |
| 2056 include/mempoolt.hxx, include/mempoolt.inl, include/memvar.hxx, | |
| 2057 include/mlqueue.hxx, include/mutex.hxx, include/mvarimpl.inl, | |
| 2058 include/sched.hxx, include/sema.hxx, include/sema2.hxx, | |
| 2059 include/thread.hxx, include/thread.inl, | |
| 2060 include/pkgconf/kernel.h: | |
| 2061 src/common/clock.cxx, src/common/except.cxx, | |
| 2062 src/common/kapi.cxx, src/common/thread.cxx, | |
| 2063 src/debug/dbg_gdb.cxx, src/debug/generic-stub.c, | |
| 2064 src/instrmnt/meminst.cxx, src/instrmnt/nullinst.cxx, | |
| 2065 src/intr/intr.cxx, src/mem/memfixed.cxx, src/mem/memvar.cxx, | |
| 2066 src/sched/bitmap.cxx, src/sched/lottery.cxx, | |
| 2067 src/sched/mlqueue.cxx, src/sched/sched.cxx, | |
| 2068 src/sync/cnt_sem.cxx, src/sync/cnt_sem2.cxx, src/sync/flag.cxx, | |
| 2069 src/sync/mbox.cxx, src/sync/mutex.cxx, src/test/diag.cxx, | |
| 2070 src/test/kcache1.c, src/test/main.cxx, src/test/timer.cxx, | |
| 2071 src/test/tstmbox.cxx: | |
| 2072 tests/clock0.cxx, tests/clock1.cxx, tests/except1.cxx, | |
| 2073 tests/flag1.cxx, tests/intr0.cxx, tests/kclock0.c, | |
| 2074 tests/kclock1.c, tests/kexcept1.c, tests/kintr0.c, | |
| 2075 tests/kmbox1.c, tests/kmemfix1.c, tests/kmemvar1.c, | |
| 2076 tests/kmutex0.c, tests/kmutex1.c, tests/ksched1.c, | |
| 2077 tests/ksem0.c, tests/ksem1.c, tests/kthread0.c, | |
| 2078 tests/kthread1.c, tests/lottery.c, tests/mbox1.cxx, | |
| 2079 tests/memfix1.cxx, tests/memvar1.cxx, tests/sync3.cxx, | |
| 2080 tests/thread2.cxx : | |
| 2081 Provide configuration data and rename configuration options | |
| 2082 | |
| 2083 Fri Aug 28 15:27:31 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 2084 | |
| 2085 * src/trace/fancy.cxx: | |
| 2086 * src/trace/simple.cxx: | |
| 2087 * src/trace/null.cxx: | |
| 2088 Condition on newly named symbols from the infra package, whence | |
| 2089 these units will be moved soon. | |
| 2090 | |
| 2091 Fri Aug 28 09:33:17 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2092 | |
| 2093 * src/test/demo.cxx, src/test/kcache1.c, src/test/kphilo.c, | |
| 2094 src/test/main.cxx, src/test/philo.cxx, src/test/sload.c, | |
| 2095 src/test/timer.cxx, src/test/tstflag.cxx, src/test/tstmbox.cxx, | |
| 2096 src/test/tstmpf.cxx, src/test/tstmpool.cxx, src/test/tsttracc.c, | |
| 2097 src/test/tsttrace.cxx, tests/bin_sem0.cxx, tests/bin_sem1.cxx, | |
| 2098 tests/bin_sem2.cxx, tests/clock0.cxx, tests/clock1.cxx, | |
| 2099 tests/cnt_sem0.cxx, tests/cnt_sem1.cxx, tests/except1.cxx, | |
| 2100 tests/flag0.cxx, tests/flag1.cxx, tests/intr0.cxx, tests/kclock0.c, | |
| 2101 tests/kclock1.c, tests/kexcept1.c, tests/kill.cxx, tests/kintr0.c, | |
| 2102 tests/kmbox1.c, tests/kmemfix1.c, tests/kmemvar1.c, tests/kmutex0.c, | |
| 2103 tests/kmutex1.c, tests/kphilo.c, tests/ksched1.c, tests/ksem0.c, | |
| 2104 tests/ksem1.c, tests/kthread0.c, tests/kthread1.c, tests/lottery.c, | |
| 2105 tests/mbox1.cxx, tests/memfix1.cxx, tests/memfix2.cxx, | |
| 2106 tests/memvar1.cxx, tests/memvar2.cxx, tests/mutex0.cxx, | |
| 2107 tests/mutex1.cxx, tests/philo.cxx, tests/release.cxx, | |
| 2108 tests/sched1.cxx, tests/sync2.cxx, tests/sync3.cxx, | |
| 2109 tests/thread0.cxx, tests/thread1.cxx, tests/thread2.cxx: | |
| 2110 Change entry points from main() to cyg_start(), and remove return | |
| 2111 codes - while main returned an int, cyg_start() returns void. It has | |
| 2112 no meaning anyway - what could you do with the code? | |
| 2113 | |
| 2114 * src/test/tsttracc.c, src/test/tsttrace.cxx: | |
| 2115 Also change trace calls (CYG_REPORT_...) to reflect that it is a | |
| 2116 function called cyg_start with no args returning void, rather than | |
| 2117 what it was for main(argc, argv) | |
| 2118 | |
| 2119 Fri Aug 28 09:24:41 1998 Jesper Skov <jskov@cygnus.co.uk> | |
| 2120 | |
| 2121 * src/debug/generic-stub.c: Moved strcpy/strlen from hal-stub to | |
| 2122 generic-stub. Cleaned up a bit to avoid compiler warnings. | |
| 2123 | |
| 2124 Thu Aug 27 19:22:51 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 2125 | |
| 2126 * tests/kphilo.c (Philosopher): | |
| 2127 * tests/philo.cxx (Philosopher): | |
| 2128 * src/test/philo.cxx (Philosopher): | |
| 2129 * src/test/kphilo.c (Philosopher): | |
| 2130 * src/common/kapi.cxx: | |
| 2131 Change CYG_RELEASE_DEBUG to CYGPKG_INFRA_DEBUG. | |
| 2132 These changes are self-contained, so they can go in right now. | |
| 2133 | |
| 2134 Thu Aug 27 15:20:31 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 2135 | |
| 2136 * include/mvarimpl.inl (free): | |
| 2137 Remove a couple of warning due to pointer comparison without casts | |
| 2138 in coallesce(sic.) code. | |
| 2139 | |
| 2140 1998-08-26 Nick Garnett <nickg@cygnus.co.uk> | |
| 2141 | |
| 2142 * include/kapidata.h: | |
| 2143 Added saved_context to cyg_hardwarethread structure to track | |
| 2144 GDB support in rest of kernel. | |
| 2145 | |
| 2146 1998-08-25 Nick Garnett <nickg@cygnus.co.uk> | |
| 2147 | |
| 2148 * include/pkgconf/kernel.h: | |
| 2149 Added CYGIMP_KERNEL_THREAD_GDB_SUPPORT to configure for GDB | |
| 2150 interactions with the kernel. | |
| 2151 | |
| 2152 * src/debug/dbg-threads-api.h: | |
| 2153 * src/debug/dbg_gdb.cxx: | |
| 2154 Added these files to repository to support GDB interactions | |
| 2155 with the kernel. Note that dbg-threads-api.h is a copy of a | |
| 2156 file in devo/libstub. Any changes there must be merged in here | |
| 2157 too. | |
| 2158 | |
| 2159 * src/PKGconf.mak: | |
| 2160 Added debug/dbg_gdb.cxx to COMPILE list. | |
| 2161 | |
| 2162 * include/thread.inl: | |
| 2163 * include/thread.hxx: | |
| 2164 Added support for GDB, specifically for thread-aware debugging. | |
| 2165 | |
| 2166 * include/intr.hxx: | |
| 2167 * src/intr/intr.cxx: | |
| 2168 Added an extra argument to interrupt_end(): a pointer to | |
| 2169 the saved register state. This is optionally used to provide | |
| 2170 a more interesting saved register state for GDB. | |
| 2171 | |
| 2172 Tue Aug 25 02:36:26 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2173 | |
| 2174 * include/generic-stub.h: | |
| 2175 Add void to empty prototype argument lists to silence compiler | |
| 2176 warnings | |
| 2177 | |
| 2178 Fri Aug 21 18:46:34 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 2179 | |
| 2180 * src/common/clock.cxx (enable): | |
| 2181 Make the maths work right if we only just set up the clock | |
| 2182 thingy. Unsigned has a lot to answer for; when the next scheduled | |
| 2183 tick was all correct, the delta was -1, which correctly rounds to | |
| 2184 zero in the division. But it isn't -1 it's 18446744073709551615 | |
| 2185 which gave a shift of 15 in the the uITRON test programs. | |
| 2186 | |
| 2187 Fri Aug 21 11:40:50 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 2188 | |
| 2189 * include/mboxt2.inl (put): | |
| 2190 * include/mempolt2.inl (alloc): | |
| 2191 Tidy Nick's changes (1998-07-27) for set_timer() semantics a bit, | |
| 2192 make it a bit more efficient and smaller code. | |
| 2193 | |
| 2194 Thu Aug 20 17:37:35 BST 1998 Chris Provenzano <proven@cygnus.com> | |
| 2195 | |
| 2196 * include/mvarimpl.inl, include/pkgconf/kernel.h: | |
| 2197 Added memory coallecsing to the variable size memory allocator. | |
| 2198 This option is enabled my default. | |
| 2199 | |
| 2200 * tests/stdlib/malloc2.c: Only print 50 messages, not 500. | |
| 2201 | |
| 2202 1998-08-20 Nick Garnett <nickg@cygnus.co.uk> | |
| 2203 | |
| 2204 * include/pkgconf/kernel.h: | |
| 2205 Moved definition of CYG_KERNEL_USE_INIT_PRIORITY from here | |
| 2206 to hal.h. | |
| 2207 | |
| 2208 * include/thread.hxx: | |
| 2209 Changed argument to cyg_thread_entry() to CYG_ADDRWORD from | |
| 2210 CYG_ADDRESS. | |
| 2211 | |
| 2212 * include/ktypes.h: | |
| 2213 Moved constructor priority ordering stuff out to infra/cyg_type.h. | |
| 2214 | |
| 2215 * include/kapi.h: | |
| 2216 * src/common/kapi.cxx: | |
| 2217 Added name and priority parameters to cyg_thread_create() and | |
| 2218 swapped stack size and base parameters. These changes are | |
| 2219 currently protected by DAY_OF_CHAOS ifdefs and are therefore | |
| 2220 inactive. | |
| 2221 | |
| 2222 Wed Aug 19 19:06:16 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2223 | |
| 2224 * tests/bin_sem1.cxx, tests/bin_sem2.cxx, tests/cnt_sem1.cxx, | |
| 2225 tests/flag1.cxx, tests/mbox1.cxx, tests/memfix2.cxx, | |
| 2226 tests/memvar2.cxx, tests/sync2.cxx, tests/sync3.cxx, | |
| 2227 tests/thread2.cxx, tests/release.cxx, tests/kill.cxx: | |
| 2228 Reorder inclusion of thread.inl to silence warnings | |
| 2229 | |
| 2230 Wed Aug 19 18:48:03 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2231 | |
| 2232 * include/kernel.hxx: | |
| 2233 Reorder inclusion of thread.inl to silence warnings | |
| 2234 | |
| 2235 Wed Aug 19 18:21:31 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2236 | |
| 2237 * src/common/kapi.cxx, src/sync/flag.cxx: | |
| 2238 Reorder inclusion of thread.inl to silence warnings | |
| 2239 | |
| 2240 * src/sync/bin_sem.cxx, src/sync/cnt_sem.cxx, src/sync/cnt_sem2.cxx, | |
| 2241 src/sync/mbox.cxx: | |
| 2242 Add inclusion of thread.inl to silence warnings | |
| 2243 | |
| 2244 * src/common/memset.c: | |
| 2245 Make pointer arithmetic be on char *, not void * to silence warnings | |
| 2246 | |
| 2247 * include/diag.h, src/trace/diag.c: | |
| 2248 Make diag_init take void parameter, and give diag_printf explicit | |
| 2249 parameters in prototypes to silence warnings | |
| 2250 | |
| 2251 1998-08-19 Nick Garnett <nickg@cygnus.co.uk> | |
| 2252 | |
| 2253 * include/pkgconf/kernel.h: | |
| 2254 * src/common/thread.cxx: | |
| 2255 Added ifdef for CYGIMP_IDLE_THREAD_YIELD to support single | |
| 2256 priority configurations. | |
| 2257 | |
| 2258 Tue Aug 18 16:56:38 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2259 | |
| 2260 * include/thread.hxx, include/thread.inl: | |
| 2261 To silence compiler warnings, move register_exception inline definition | |
| 2262 from the .hxx to the .inl. Also move attach_stack to before the | |
| 2263 constructor where it is invoked from. | |
| 2264 | |
| 2265 1998-08-18 Nick Garnett <nickg@cygnus.co.uk> | |
| 2266 | |
| 2267 * include/pkgconf/kernel.h: | |
| 2268 Moved all HAL specific config options out to a HAL config file. | |
| 2269 | |
| 2270 * include/kapi.h: | |
| 2271 * src/common/kapi.cxx: | |
| 2272 Added cyg_scheduler_lock() and cyg_scheduler_unlock() to provide | |
| 2273 user access to the scheduler lock. | |
| 2274 | |
| 2275 Mon Aug 17 21:39:20 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2276 | |
| 2277 * include/kapi.h: | |
| 2278 Insert "void" to empty parameter lists to silence warnings | |
| 2279 | |
| 2280 Fri Aug 14 18:10:20 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 2281 | |
| 2282 * src/common/thread.cxx (exit): | |
| 2283 Set the state explicitly to EXITED rather than or'ing | |
| 2284 it in; should be safe cos it's what kill does in the normal case. | |
| 2285 Needed to avoid suspend sort of states persisting after death. | |
| 2286 One character changes are always aesthetically pleasing. | |
| 2287 | |
| 2288 Fri Aug 14 17:28:01 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 2289 | |
| 2290 * include/pkgconf/kernel.h: | |
| 2291 Add config options as below: | |
| 2292 | |
| 2293 * src/common/thread.cxx: | |
| 2294 Add asserts of CYGNUM_KERNEL_MAX_COUNTED_WAKE_COUNT_ASSERT | |
| 2295 and CYGNUM_KERNEL_MAX_SUSPEND_COUNT_ASSERT if they are defined. | |
| 2296 Also lazily tidied format of func hdrs as per code review et al. | |
| 2297 | |
| 2298 1998-08-14 Nick Garnett <nickg@cygnus.co.uk> | |
| 2299 | |
| 2300 * include/kapidata.h: | |
| 2301 Added support for thread names and thread housekeeping list. | |
| 2302 | |
| 2303 * src/common/delete.cxx: | |
| 2304 Added include for cyg_type.h. | |
| 2305 | |
| 2306 * include/pkgconf/kernel.h: | |
| 2307 Added CYGIMP_THREAD_NAME and CYGIMP_THREAD_LIST options. | |
| 2308 | |
| 2309 * include/thread.inl: | |
| 2310 * include/thread.hxx: | |
| 2311 Added support for thread names and thread housekeeping list. | |
| 2312 | |
| 2313 * src/common/thread.cxx: | |
| 2314 Added support for thread names and thread housekeeping list. | |
| 2315 Fixed ordering bug in Cyg_Thread::delay(). | |
| 2316 | |
| 2317 Thu Aug 13 15:33:48 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2318 | |
| 2319 * include/ktypes.h: | |
| 2320 Remove inlined new and delete as they aren't strictly permitted and | |
| 2321 they prevent a valid new and delete being defined anywhere else! | |
| 2322 | |
| 2323 * src/common/delete.cxx, src/PKGconf.mak: | |
| 2324 Add delete.cxx to provide default delete operation for when a C | |
| 2325 library isn't present | |
| 2326 | |
| 2327 1998-07-28 Nick Garnett <nickg@cygnus.co.uk> | |
| 2328 | |
| 2329 * include/thread.hxx, include/sched.hxx, include/mlqueue.hxx, | |
| 2330 include/lottery.hxx, include/bitmap.hxx, src/common/thread.cxx, | |
| 2331 src/sched/sched.cxx, src/sched/mlqueue.cxx, src/sched/lottery.cxx, | |
| 2332 src/sched/bitmap.cxx: | |
| 2333 Added an alternative constructor to Cyg_Thread which takes | |
| 2334 arguments in new order, and includes a scheduling parameters | |
| 2335 argument. Propagated effects of this through Cyg_SchedThread | |
| 2336 and Cyg_SchedThread_Implementation. This mostly takes the form | |
| 2337 of passing the scheduling parameters through to the constructors. | |
| 2338 | |
| 2339 1998-07-27 Nick Garnett <nickg@cygnus.co.uk> | |
| 2340 | |
| 2341 * src/sync/flag.cxx, src/sync/cnt_sem2.cxx, include/mempoolt.inl, | |
| 2342 include/mempolt2.inl, include/mboxt2.inl, include/mboxt.inl: | |
| 2343 Modified code in API calls that take a timeout to allow for a | |
| 2344 timeout in the past. | |
| 2345 NOTE: The timeouts have for now been left as relative delays, they | |
| 2346 should be converted to absolute timeouts. | |
| 2347 | |
| 2348 * src/common/thread.cxx: | |
| 2349 Modified code in counted_sleep to allow for a timeout in the past. | |
| 2350 Added handling of EXIT wake_reason in delay(). | |
| 2351 | |
| 2352 1998-07-24 Nick Garnett <nickg@cygnus.co.uk> | |
| 2353 | |
| 2354 * include/thread.inl: | |
| 2355 Reordered code in Cyg_Thread::set_timer() to init the timer after | |
| 2356 wake_reason has been assigned. | |
| 2357 | |
| 2358 * include/clock.inl: | |
| 2359 Removed Cyg_Alarm::enable(). | |
| 2360 | |
| 2361 * src/sync/mutex.cxx (Cyg_Condition_Variable::wait): | |
| 2362 Modified order of code in timed version of wait to allow for a | |
| 2363 timout in the past. | |
| 2364 | |
| 2365 * src/sync/cnt_sem.cxx (Cyg_Counting_Semaphore::wait): | |
| 2366 Modified order of code in timed version of wait to allow for a | |
| 2367 timout in the past. Also modified timeout to be absolute rather | |
| 2368 than relative. | |
| 2369 | |
| 2370 * src/common/thread.cxx (Cyg_Thread::wake): | |
| 2371 Added test for whether a thread is actually asleep before waking | |
| 2372 it. Allows us to apply wake() to awake threads without damage. | |
| 2373 | |
| 2374 * src/common/clock.cxx: | |
| 2375 Added code to Cyg_Counter::add_alarm() to deal with alarms | |
| 2376 that trigger now or in the past. | |
| 2377 Moved Cyg_Alarm::enable() here. Added code to do the right thing | |
| 2378 when reenabling previously disabled interval alarms. | |
| 2379 | |
| 2380 1998-07-23 Nick Garnett <nickg@cygnus.co.uk> | |
| 2381 | |
| 2382 * src/debug/stubrom.c: Added header comments. | |
| 2383 | |
| 2384 Thu Mar 26 18:25:36 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2385 | |
| 2386 * src/test/philo.cxx: | |
| 2387 Rename CYG_DEBUG ifdef to CYG_RELEASE_DEBUG | |
| 2388 | |
| 2389 Wed Mar 25 23:23:39 GMT 1998 Chris Provenzano <proven@cygnus.com> | |
| 2390 | |
| 2391 * configure.in: Fix so non_arch.h is updated even if | |
| 2392 config.cache does exists. | |
| 2393 | |
| 2394 * include/kapi.h, include/kapidata.h, include/kernel.hxx | |
| 2395 * include/mboxt.inl, include/sched.hxx: | |
| 2396 #include <eccconf/kernel.h> instead of include <eccconf/kernel.h> | |
| 2397 | |
| 2398 * include/eccconf/kernel.h: Added. This was old devo/config.h | |
| 2399 | |
| 2400 * src/Makefile.am : Set CYG_CONFIGURATION to "<eccconf/kernel.h>" | |
| 2401 | |
| 2402 * src/test/Makefile.am : Build .gdbinit from gdbinit.in | |
| 2403 and tree from tree.in | |
| 2404 | |
| 2405 Wed Mar 25 18:24:48 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 2406 | |
| 2407 * src/Makefile.am, src/common/memcpy.c, src/common/memset.c: | |
| 2408 Move memcpy and memset functions from C library into kernel to | |
| 2409 satisfy the requirements of gcc - namely it must be available at | |
| 2410 at all time. Changed memcpy and memset to sit more cleanly in the | |
| 2411 kernel, and lose all dependencies on the C library | |
| 2412 * src/Makefile.in: regenerated | |
| 2413 | |
| 2414 Fri Mar 13 18:36:42 GMT 1998 Chris Provenzano <proven@cygnus.com> | |
| 2415 | |
| 2416 * configure.in : Add rule to get correct objcopy for target | |
| 2417 * src/test/Makefile.am : Add rule to build philo.srec | |
| 2418 | |
| 2419 Fri Mar 13 11:47:23 GMT 1998 Chris Provenzano <proven@cygnus.com> | |
| 2420 | |
| 2421 * configure.in, non_arch.h.in, non_arch.sh | |
| 2422 Add support for the mn103000 | |
| 2423 | |
| 2424 Thu Mar 12 11:38:28 GMT 1998 David Moore <dsm@cygnus.co.uk> | |
| 2425 | |
| 2426 * src/Makefile.am: | |
| 2427 Removed flag to leave comments in generated linker script. | |
| 2428 | |
| 2429 Thu Mar 12 10:55:20 GMT 1998 David Moore <dsm@cygnus.co.uk> | |
| 2430 | |
| 2431 * configure.in: | |
| 2432 Fixed setting of platform variable | |
| 2433 | |
| 2434 Wed Mar 11 16:54:28 GMT 1998 Chris Provenzano <proven@cygnus.com> | |
| 2435 | |
| 2436 * src/test/Makefile.am, tests/Makefile.am: | |
| 2437 Make sure CXXFLAGS from configure are also used | |
| 2438 | |
| 2439 Wed Mar 11 16:16:57 GMT 1998 Chris Provenzano <proven@cygnus.com> | |
| 2440 | |
| 2441 * configure.in, non_arch.h.in. non_arch.sh: | |
| 2442 Added build support for mips | |
| 2443 * tests/Makefile.am, src/test/Makefile.am | |
| 2444 Link with -nostdlib -lgcc | |
| 2445 | |
| 2446 Wed Mar 11 14:43:36 GMT 1998 Chris Provenzano <proven@cygnus.com> | |
| 2447 | |
| 2448 * Makefile.am, configure.in, tests/Makefile.am | |
| 2449 support building tests in the tests directory | |
| 2450 | |
| 2451 Wed Mar 11 13:18:17 GMT 1998 Chris Provenzano <proven@cygnus.com> | |
| 2452 | |
| 2453 * acinclude.m4, stamp-h.in, non_arch.h.in, src/Makefile.am: | |
| 2454 Added to support new kernel configure/make process | |
| 2455 | |
| 2456 * Makefile.am: Modified to support new kernel configure/make | |
| 2457 process. | |
| 2458 | |
| 2459 * src/acinclude.m4, src/aclocal.m4, src/configure, src/configure.in | |
| 2460 Deleted to support new kernel configure/make process | |
| 2461 | |
| 2462 * Makefile.in, configure, aclocal.m4, src/Makefile.in, | |
| 2463 src/configure: regenerated | |
| 2464 | |
| 2465 * non_arch.sh: New shellscript to change platform/startup/debug | |
| 2466 options after a configure is done. | |
| 2467 | |
| 2468 * src/devo/config.h: include non_arch.h, for platform/startup/debug | |
| 2469 options. This is generated at configure and modified by non_arch.sh | |
| 2470 | |
| 2471 //=========================================================================== | |
| 2472 //####COPYRIGHTBEGIN#### | |
| 2473 // | |
| 2474 // ------------------------------------------- | |
| 2475 // The contents of this file are subject to the Cygnus eCos Public License | |
| 2476 // Version 1.0 (the "License"); you may not use this file except in | |
| 2477 // compliance with the License. You may obtain a copy of the License at | |
| 2478 // http://sourceware.cygnus.com/ecos | |
| 2479 // | |
| 2480 // Software distributed under the License is distributed on an "AS IS" | |
| 2481 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the | |
| 2482 // License for the specific language governing rights and limitations under | |
| 2483 // the License. | |
| 2484 // | |
| 2485 // The Original Code is eCos - Embedded Cygnus Operating System, released | |
| 2486 // September 30, 1998. | |
| 2487 // | |
| 2488 // The Initial Developer of the Original Code is Cygnus. Portions created | |
| 2 | 2489 // by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions. All Rights Reserved. |
| 0 | 2490 // ------------------------------------------- |
| 2491 // | |
| 2492 //####COPYRIGHTEND#### | |
| 2493 //=========================================================================== |
