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