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