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