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