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