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