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