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