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