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