Mercurial > ecos
annotate packages/compat/uitron/current/ChangeLog @ 66:bf00f99aec69 ecos-sw-2000-02-02
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
| author | jlarmour |
|---|---|
| date | Wed, 02 Feb 2000 19:57:02 +0000 |
| parents | c38311975d4f |
| children | 435cced73e2f |
| rev | line source |
|---|---|
|
66
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
1 2000-02-02 Jesper Skov <jskov@redhat.com> |
|
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
2 |
|
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
3 * tests/testintr.cxx: Don't output DELAYLOCKSCHED quite so often |
|
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
4 on synthetic target. |
|
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
5 |
|
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
6 2000-01-31 Hugo Tyson <hmt@cygnus.co.uk> |
|
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
7 |
|
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
8 * tests/testintr.cxx (CHECK_TID): Test that get_tid() returns 0 in |
|
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
9 ISR context ie. non-task portion. |
|
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
10 |
|
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
11 * include/uit_func.inl (get_tid): Check the sched lock for |
|
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
12 non-task portions, ie. ISR/DSR will have the scheduler locked. |
|
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
13 |
|
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
14 2000-01-28 Jonathan Larmour <jlarmour@redhat.co.uk> |
|
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
15 |
|
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
16 * tests/testintr.cxx (DELAYLOCKSCHED): When in long testing loops, |
|
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
17 occasionally output a message to show the test is still alive |
|
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
18 |
|
64
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
19 2000-01-26 Hugo Tyson <hmt@cygnus.co.uk> |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
20 |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
21 * include/pkgconf/uitron.h: Add new option |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
22 CYGSEM_UITRON_TIME_IS_MILLISECONDS to control just what it says. |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
23 |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
24 * include/uit_func.inl (CYG_UITRON_TIME_UIT_TO_SYS32): et al; new |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
25 macros optionally to convert to/from milliSeconds if option |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
26 CYGSEM_UITRON_TIME_IS_MILLISECONDS is set. |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
27 |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
28 * src/uit_func.cxx: Initialize Cyg_Clock::converter type objects |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
29 if the time unit is set to milliSeconds. |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
30 |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
31 2000-01-25 Jesper Skov <jskov@cygnus.co.uk> |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
32 |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
33 * tests/testintr.cxx (cyg_start): externC addded. |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
34 |
|
54
f10165814f1e
Merge from eCos master repository on 1999-11-19-22:24:39-GMT
jlarmour
parents:
36
diff
changeset
|
35 1999-11-09 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
f10165814f1e
Merge from eCos master repository on 1999-11-19-22:24:39-GMT
jlarmour
parents:
36
diff
changeset
|
36 |
|
f10165814f1e
Merge from eCos master repository on 1999-11-19-22:24:39-GMT
jlarmour
parents:
36
diff
changeset
|
37 * src/uit_objs.cxx: Make the stack size failsafe be tested against |
|
f10165814f1e
Merge from eCos master repository on 1999-11-19-22:24:39-GMT
jlarmour
parents:
36
diff
changeset
|
38 the minimum stack size, not the typical one. |
|
f10165814f1e
Merge from eCos master repository on 1999-11-19-22:24:39-GMT
jlarmour
parents:
36
diff
changeset
|
39 |
|
36
e97d78785e2d
Merge from eCos master repository on 1999-09-12-15:40:34-BST
jlarmour
parents:
34
diff
changeset
|
40 1999-09-06 Jonathan Larmour <jlarmour@cygnus.co.uk> |
|
e97d78785e2d
Merge from eCos master repository on 1999-09-12-15:40:34-BST
jlarmour
parents:
34
diff
changeset
|
41 |
|
e97d78785e2d
Merge from eCos master repository on 1999-09-12-15:40:34-BST
jlarmour
parents:
34
diff
changeset
|
42 * include/uit_objs.hxx (CYG_UITRON_OBJS_INIT_PRIORITY): Revert the |
|
e97d78785e2d
Merge from eCos master repository on 1999-09-12-15:40:34-BST
jlarmour
parents:
34
diff
changeset
|
43 below change - we may still be shipping antiquated compilers to |
|
e97d78785e2d
Merge from eCos master repository on 1999-09-12-15:40:34-BST
jlarmour
parents:
34
diff
changeset
|
44 customers. Sigh. |
|
e97d78785e2d
Merge from eCos master repository on 1999-09-12-15:40:34-BST
jlarmour
parents:
34
diff
changeset
|
45 |
|
e97d78785e2d
Merge from eCos master repository on 1999-09-12-15:40:34-BST
jlarmour
parents:
34
diff
changeset
|
46 1999-09-02 Hugo Tyson <hmt@cygnus.co.uk> |
|
e97d78785e2d
Merge from eCos master repository on 1999-09-12-15:40:34-BST
jlarmour
parents:
34
diff
changeset
|
47 |
|
e97d78785e2d
Merge from eCos master repository on 1999-09-12-15:40:34-BST
jlarmour
parents:
34
diff
changeset
|
48 * include/uit_objs.hxx (CYG_UITRON_OBJS_INIT_PRIORITY): Enable |
|
e97d78785e2d
Merge from eCos master repository on 1999-09-12-15:40:34-BST
jlarmour
parents:
34
diff
changeset
|
49 using init priority on uitron objects, now that the compilers all |
|
e97d78785e2d
Merge from eCos master repository on 1999-09-12-15:40:34-BST
jlarmour
parents:
34
diff
changeset
|
50 support it fully. AFAI can tell from a quite broad experiment. |
|
e97d78785e2d
Merge from eCos master repository on 1999-09-12-15:40:34-BST
jlarmour
parents:
34
diff
changeset
|
51 |
|
34
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
52 1999-09-01 Hugo Tyson <hmt@cygnus.co.uk> |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
53 |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
54 * tests/testintr.cxx (attach_isr): Make it all work: my chosen |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
55 default interrupt "level" of 0 means make no interrupts on the |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
56 tx39 ;-( oh well. Made the whole test simulator-friendly ie. much |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
57 shorter, made the output more friendly to me. |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
58 |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
59 |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
60 1999-08-26 Hugo Tyson <hmt@cygnus.co.uk> |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
61 |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
62 |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
63 * include/pkgconf/uitron.h: Add configury for lovely new |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
64 interrupt-safe functions: just "try immediate execution" [ie. if |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
65 the sched lock is one] and queue size. |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
66 |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
67 * include/uit_ifnc.inl: Respond to general configury wrt the |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
68 presence of semas, flags, mboxes: only define the ixxx_yyy() |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
69 function if the corresponding xxx_yyy() func exists. Remove the |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
70 static definitions of the configuration symbols. |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
71 |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
72 * src/uit_ifnc.cxx: Respond to general configury wrt the presence |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
73 of semas, flags, mboxes: the functions called may not exist! |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
74 |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
75 1999-08-25 Hugo Tyson <hmt@cygnus.co.uk> |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
76 |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
77 * include/uit_ifnc.h: New file. Prototypes of interrupt-safe |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
78 ixxx_yyy() style functions as a porting/backwards-compatibility |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
79 aid. Prototype of a suitable DSR to mate with an ISR that uses |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
80 them too. |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
81 |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
82 * include/uit_ifnc.inl: New file. Bodies for possible inlining of |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
83 the ixxx_yyy() style functions; organized much like the standard |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
84 uITRON functions. |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
85 |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
86 * src/uit_ifnc.cxx: New file. Implementation of the DSR provided, |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
87 plus concrete instantiations of the ixxx_yyy() style functions. |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
88 |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
89 * tests/testintr.cxx: New file. Test for the ixxx_yyy() functions |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
90 newly provided above. Rather unpleasant: it is necessary to break |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
91 type-safety to get access to the kernel's interrupt object that |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
92 drives the realtime clock. Perhaps a neater way will follow. |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
93 |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
94 * tests/PKGconf.mak (TESTS): Add new testcase testintr.cxx |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
95 * src/PKGconf.mak (COMPILE): Add new source file uit_ifnc.cxx |
|
29bc183297e1
Merge from eCos master repository on 1999-09-02-16:26:10-BST
jlarmour
parents:
10
diff
changeset
|
96 |
|
10
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
97 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
|
98 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
99 * tests/testcx7.cxx: Include new stackmon header. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
100 |
|
8
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
101 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
|
102 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
103 * tests/testcx7.cxx (task1): Add some statistics dumping about |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
104 stack usage; since this is quite a long and arduous test. This |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
105 just helps en passant with testing the interrupt stack work that's |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
106 been happening recently. C++ only, so not for test7. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
107 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
108 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
|
109 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
110 * include/uit_func.inl (ter_tsk): Only up the priority of the |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
111 killee if priorities are not unique or we are not already |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
112 elevated. This is to prevent asserts with the bitmap scheduler. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
113 (chg_pri): Support a level X feature, pri zero => reset to the |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
114 thread's initial priority. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
115 |
|
6
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
2
diff
changeset
|
116 1999-05-14 Hugo Tyson <hmt@masala.cygnus.co.uk> |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
2
diff
changeset
|
117 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
2
diff
changeset
|
118 * include/uit_objs.hxx: object array declaration macro now |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
2
diff
changeset
|
119 contains constructor priority ordering rune; if 0'd out pending |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
2
diff
changeset
|
120 99r1 compiler cutover. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
2
diff
changeset
|
121 |
| 2 | 122 1999-04-23 Hugo Tyson <hmt@cygnus.co.uk> |
| 123 | |
| 124 * tests/testcx7.cxx: T2_MALLOC definition; only make it smaller | |
| 125 than the main consumer malloc if coaleasing is enabled, otherwise | |
| 126 the mempool cannot allocate blocks for the consumer for next time. | |
| 127 Fixes PR 18817 - only a random perm disable coalescence. | |
| 128 | |
| 129 * tests/test7.c: Ditto. | |
| 130 | |
| 131 1999-04-15 John Dallaway <jld@cygnus.co.uk> | |
| 132 | |
| 133 * include/pkgconf/uitron.h: Tidy display string capitalization. | |
| 134 | |
| 135 1999-04-09 Hugo Tyson <hmt@cygnus.co.uk> | |
| 136 | |
| 137 * include/uit_func.inl (dis_dsp): Remove bad old code which used | |
| 138 to lock the scheduler to implement dis_dsp() and ena_dsp() - which | |
| 139 also stopped the clock, for example. Instead change the calling | |
| 140 thread's priority to 0 internally so that it cannot be preempted | |
| 141 by uITRON threads at least, whose priorities are 1--N. Same | |
| 142 applies to loc/unl_cpu(). Save the "real" priority in a static, | |
| 143 and take notice of it everywhere relevant, such as thread and | |
| 144 system state inquiries, changing (our own) priority, checking for | |
| 145 dispatch enabled in sleeping calls, and so on. | |
| 146 | |
| 147 * src/uit_func.cxx: New variable cyg_uitron_dis_dsp_old_priority | |
| 148 for holding the "real" priority of a thread whilst we change our | |
| 149 priority to zero (the highest) to prevent dispatching in dis_dsp() | |
| 150 or loc_cpu(). | |
| 151 | |
| 152 * include/uit_func.inl (get_tid): Return 0 for the task id if not | |
| 153 in a uITRON thread, this is better conformance to the spec. | |
| 154 | |
| 155 1999-03-22 Hugo Tyson <hmt@cygnus.co.uk> | |
| 156 | |
| 157 * src/uit_objs.cxx: | |
| 158 Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of | |
| 159 CYGNUM_HAL_MINIMUM_STACK_SIZE. | |
| 160 | |
| 161 1999-02-23 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 162 | |
| 163 * tests/test1.c, tests/test2.c, tests/test3.c, tests/test4.c, | |
| 164 tests/test5.c, tests/test6.c, tests/test7.c, tests/test8.c, | |
| 165 tests/test9.c, tests/testcxx.cxx, tests/testcx2.cxx, | |
| 166 tests/testcx3.cxx, tests/testcx4.cxx, tests/testcx5.cxx, | |
| 167 tests/testcx6.cxx, tests/testcx7.cxx, tests/testcx8.cxx, | |
| 168 tests/testcx9.cxx: | |
| 169 Change all non-applicable cases to use CYG_TEST_NA rather than | |
| 170 CYG_TEST_PASS/CYG_TEST_EXIT | |
| 171 | |
| 172 1999-02-22 Hugo Tyson <hmt@cygnus.co.uk> | |
| 173 | |
| 174 * src/uit_objs.cxx: Eeeek! Previous fix was bogus: the override | |
| 175 was too late in the file to take effect. The declaration of the | |
| 176 objects (including stacks) is moved to below the override CPP | |
| 177 runes. | |
| 178 | |
| 179 1999-02-12 Hugo Tyson <hmt@cygnus.co.uk> | |
| 180 | |
| 181 * src/uit_objs.cxx (CYG_UITRON_DECL): | |
| 182 Override CYGNUM_UITRON_STACK_SIZE if CYGNUM_HAL_MINIMUM_STACK_SIZE | |
| 183 demands it. | |
| 184 | |
| 185 * include/pkgconf/uitron.h (CYGNUM_UITRON_STACK_SIZE): | |
| 186 Document that this option can be overridden by HALs demands. | |
| 187 | |
| 188 1999-02-02 Jesper Skov <jskov@cygnus.co.uk> | |
| 189 PR 18968 | |
| 190 * tests/test2.c (task1): | |
| 191 * tests/testcx2.cxx (task1): | |
| 192 Reduce run time on SIM. | |
| 193 | |
| 194 1999-01-26 Jesper Skov <jskov@cygnus.co.uk> | |
| 195 PR 18788 | |
| 196 * tests/test4.c (task1): | |
| 197 * tests/testcx4.cxx (task1): | |
| 198 Extend timeouts when running on HW to avoid failures due to | |
| 199 overhead of GDB interaction. | |
| 200 | |
| 201 1999-01-25 Jesper Skov <jskov@cygnus.co.uk> | |
| 202 PR 18576 | |
| 203 * include/pkgconf/uitron.h (CYGDAT_UITRON_SEMA_INITIALIZERS): | |
| 204 Let default initializers have values that don't cause tests to | |
| 205 fail. | |
| 206 | |
| 207 1998-11-25 Hugo Tyson <hmt@cygnus.co.uk> | |
| 208 | |
| 209 * include/uit_func.inl (del_xxx &c): | |
| 210 Make error returns more consistent; E_NOEXS rather than E_OBJ if | |
| 211 the object disappeared during a race. | |
| 212 | |
| 213 1998-11-19 Hugo Tyson <hmt@cygnus.co.uk> | |
| 214 | |
| 215 * src/uit_func.cxx (SET_UP_PTRS): | |
| 216 PR 17999; work around codegen bug on tx39 with -Os. | |
| 217 The code is better with the fix regardless, so it's got no | |
| 218 downside. Explicitly condition whether to run a follow-on loop | |
| 219 rather than letting the for-loop sort it out itself. | |
| 220 | |
| 221 1998-11-16 Hugo Tyson <hmt@cygnus.co.uk> | |
| 222 | |
| 223 * tests/testcx7.cxx (check_waitstate): | |
| 224 Add a routine to check the reported waiting state of the synch | |
| 225 object in question, and call it as necessary. This only added to | |
| 226 the C++ version of the test for enhanced coverage, in case the | |
| 227 enquiry call perturbs the object state; having both versions | |
| 228 present is better. This checks a very recent fix to | |
| 229 kernel...thread.cxx (1998-10-27). | |
| 230 | |
| 231 1998-10-21 Hugo Tyson <hmt@cygnus.co.uk> | |
| 0 | 232 |
| 233 * src/uit_func.cxx: | |
| 234 Provide weakly named dummies for task[1-4], which are the defaults | |
| 235 referred to by the task array, so that the uITRON system can be | |
| 236 initialized even when no uITRON tasks have been provided (so long | |
| 237 as no other changes to the task init configury have been made) | |
| 238 This does not pollute the namespace, for these are weak symbols. | |
| 239 Changing them to cyg_uitron_task... would be possible, but it | |
| 240 carries the false implication that those are cygnus names, when | |
| 241 they are really entirely up to the user. | |
| 242 | |
| 243 * tests/test[123456789].c: | |
| 244 * tests/testcxx.cxx: | |
| 245 * tests/testcx[23456789].cxx: | |
| 246 Undo the previous change: remove dummies for task[1-4] when we | |
| 247 decide not to test anything, they will be provided with weak names | |
| 248 regardles in src/uit_func.cxx. | |
| 249 | |
| 250 1998-10-20 Hugo Tyson <hmt@cygnus.co.uk> | |
| 251 | |
| 252 * tests/test[123456789].c: | |
| 253 * tests/testcxx.cxx: | |
| 254 * tests/testcx[23456789].cxx: | |
| 255 Provide dummies for task[1-4] when we decide not to test anything, | |
| 256 to encourage correct linking. | |
| 257 | |
| 258 1998-10-16 Hugo Tyson <hmt@cygnus.co.uk> | |
| 259 | |
| 260 * tests/testcx*.cxx (cyg_start): | |
| 261 [all the C++ tests] | |
| 262 changed cyg_start to externC so that it truly does override the | |
| 263 default one; this is needed for handling the "I cannot test in | |
| 264 this configuration" failures. Of course the C ones were C to | |
| 265 start with. | |
| 266 | |
| 267 1998-10-16 Hugo Tyson <hmt@cygnus.co.uk> | |
| 268 | |
| 269 * tests/test[123456789].c: | |
| 270 * tests/testcxx.cxx: | |
| 271 * tests/testcx[23456789].cxx: | |
| 272 All tests are now much more self-configuring wrt turning off | |
| 273 if there are no uITRON objects of the right type to manipulate. | |
| 274 The huge (50-line) #if statement is arranged the way it is so that | |
| 275 clauses checking on each feature can be pasted in and out easily. | |
| 276 So yes, the "&& 1" at the end has a purpose. | |
| 277 | |
| 278 Here for the record is a table of feature versus test-used-in: | |
| 279 tsk :: 1 2 3 4 5 6 7 8 9 | |
| 280 sem :: 2 3 5 6 7 8 | |
| 281 flg :: 2 5 6 7 | |
| 282 mbx :: 2 5 6 7 | |
| 283 mpl :: 2 5 7 9 | |
| 284 mpf :: 2 5 7 9 | |
| 285 alm :: 4 | |
| 286 cyc :: 4 | |
| 287 | |
| 288 | |
| 289 1998-10-16 Hugo Tyson <hmt@cygnus.co.uk> | |
| 290 | |
| 291 * tests/test9.c: | |
| 292 * tests/testcx9.cxx: | |
| 293 New tests, test create and delete of memory pools | |
| 294 | |
| 295 1998-10-15 Hugo Tyson <hmt@cygnus.co.uk> | |
| 296 | |
| 297 * include/pkgconf/uitron.h: | |
| 298 Add configury for create/delete of memory pools. | |
| 299 Tidy up naming of initializer macros to use for non-existent | |
| 300 (initially) uITRON objects. | |
| 301 Improve comments in CDL-- info fields. | |
| 302 | |
| 303 * include/uit_func.h: | |
| 304 Add prototypes for cre/del_mpf/mpl(). | |
| 305 | |
| 306 * include/uit_func.inl: | |
| 307 Implement cre/del_mpf/mpl(). | |
| 308 | |
| 309 * src/uit_objs.cxx: | |
| 310 Support CYG_UIT_MEMPOOLFIXED_NOEXS/CYG_UIT_MEMPOOLVAR_NOEXS(...) | |
| 311 mempool construction macros for non-existent (initially) mempools. | |
| 312 Rename _NONE construction macros to _NOEXS which will make a lot | |
| 313 more sense to uITRON folks. | |
| 314 | |
| 315 1998-10-14 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 316 | |
| 317 * include/pkgconf/uitron.h: | |
| 318 Add configury for create/delete of tasks. | |
| 319 | |
| 320 * include/uit_func.h: | |
| 321 Add prototypes for cre/del_tsk(); correct comment in exd_tsk(). | |
| 322 | |
| 323 * include/uit_func.inl: | |
| 324 Implement cre/del_tsk() and complete exd_tsk(). | |
| 325 Improve NULL/NADR checking on other cre/del calls. | |
| 326 | |
| 327 * src/uit_func.cxx (cyg_uitron_start): | |
| 328 Deal better with start tasks stuff, for task create/delete. | |
| 329 | |
| 330 * src/uit_objs.cxx: | |
| 331 Support CYG_UIT_TASK_NONE(...) task constructor for those tasks | |
| 332 which do not initially exist | |
| 333 | |
| 334 * tests/PKGconf.mak: | |
| 335 Add new tests test8.c, testcx[678].cxx to the build. | |
| 336 | |
| 337 * tests/test6.c: | |
| 338 Tidy comments, untabify. | |
| 339 | |
| 340 * tests/test7.c: | |
| 341 Tidy comments, untabify, test creation with NADR record pointer. | |
| 342 No impact from the new cre/del_tsk() functionality on test7, since | |
| 343 a task may only be deleted when it is dormant, so deletion is NOT | |
| 344 another way out of a waiting state. | |
| 345 | |
| 346 * tests/test8.c: | |
| 347 New test, tests cre_tsk() and del_tsk() and exd_tsk() ie. the | |
| 348 creation and deletion of tasks. | |
| 349 | |
| 350 * tests/testcx6.cxx: | |
| 351 * tests/testcx7.cxx: | |
| 352 * tests/testcx8.cxx: | |
| 353 New tests, C++ versions of tests 6, 7, and 8. | |
| 354 | |
| 355 1998-10-09 Hugo Tyson <hmt@cygnus.co.uk> | |
| 356 | |
| 357 * tests/test7.c: | |
| 358 Test interactions with deleting objects (as applicable) and | |
| 359 killing, signalling and the like. Also test killing the task | |
| 360 after other treatments more generically. | |
| 361 | |
| 362 * tests/test6.c (task1): | |
| 363 Change "N/A:" to "N/A" in the exit message when we didn't actually | |
| 364 do any testing due to create/delete being disabled for all object | |
| 365 types. | |
| 366 | |
| 367 1998-10-08 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 368 | |
| 369 In general, these changes are to support create/delete of uITRON | |
| 370 objects; this requires that an object can be destroyed whilst | |
| 371 there are threads waiting on it, and that they shall be awoken | |
| 372 with a specific return code E_DLT. The implementation uses an | |
| 373 array of pointers in addition to the array of objects: ptrs[N] | |
| 374 should either be NULL or &objs[N] in this version. That | |
| 375 restriction is not checked, in order that in future, true dynamic | |
| 376 allocation can be used, and ptrs[N] could point anywhere. The | |
| 377 implications of this are mainly in the area of getting the | |
| 378 addresses of objects, via the ptr array or from the object array? | |
| 379 The config of whether there is a ptr array is per object type. | |
| 380 | |
| 381 * include/pkgconf/uitron.h: | |
| 382 Configury of the existence or not of create/delete for object | |
| 383 type: initially only SEMAS, MBOXES, FLAGS. | |
| 384 Configury of the number of objects created initially, if cre/del | |
| 385 are enabled. | |
| 386 | |
| 387 * tests/test6.c: | |
| 388 * tests/test7.c: | |
| 389 * tests/PKGconf.mak: | |
| 390 Two new test programs (duh!): test6 tests create and delete of | |
| 391 SEMAS, MBOXES, FLAGS explicitly, for bad params handling, ability | |
| 392 to use after deletion and recreation &c &c. test7 tests the | |
| 393 semantics of sleeping on some synchronization primitive, permed | |
| 394 with suspension, signalling, killing, releasing and so forth. | |
| 395 Both will migrate into C++ versions also in future. | |
| 396 | |
| 397 * include/uit_func.h: | |
| 398 Enable cre/del_{mbx,flg,sem} prototypes. | |
| 399 | |
| 400 * include/uit_func.inl: | |
| 401 Implement cre/del_{mbx,flg,sem} depending on configury, and handle | |
| 402 the pointer arrays generally in other client routines. | |
| 403 | |
| 404 * include/uit_objs.hxx: | |
| 405 Define the pointer arrays for access to created objects. | |
| 406 | |
| 407 * include/uit_type.h: | |
| 408 Enable definitions of the structures used in create calls. | |
| 409 | |
| 410 * src/uit_func.cxx: | |
| 411 Initialization code for the pointer arrays, akin to the task | |
| 412 startup code. | |
| 413 | |
| 414 * src/uit_objs.cxx: | |
| 415 Instantiate the pointer arrays themselves. | |
| 416 | |
| 417 | |
| 418 1998-09-25 Bart Veer <bartv@cygnus.co.uk> | |
| 419 | |
| 420 * include/pkgconf/uitron.h: | |
| 421 PR 17482: added #ifdef protection. If CYGPKG_UITRON_MEMPOOLFIXED | |
| 422 is not defined then the contained option | |
| 423 CYGNUM_UITRON_MEMPOOLFIXED may not be defined either. Ditto for | |
| 424 CYGNUM_UITRON_MEMPOOLVAR which suffers from the same problem. | |
| 425 And ditto for CYGPKG_UITRON_SEMAS | |
| 426 | |
| 427 1998-09-20 Mark Galassi <rosalia@cygnus.com> | |
| 428 | |
| 429 * include/pkgconf/uitron.h: added one or two CDL doc strings. | |
| 430 | |
| 431 Tue Sep 15 19:12:28 1998 David Moore <dsm@keema.cygnus.co.uk> | |
| 432 | |
| 433 * include/pkgconf/uitron.h: Cleaned up comments. | |
| 434 | |
| 435 1998-09-12 Mark Galassi <rosalia@cygnus.com> | |
| 436 small changes to the descriptive information in the uITRON CDL | |
| 437 | |
| 438 1998-09-12 Mark Galassi <rosalia@cygnus.com> | |
| 439 | |
| 440 * include/pkgconf/uitron.h: small editing of the description | |
| 441 fields: renamed things like <name> to NAME, so that it does not | |
| 442 confuse SGML when incorporated into the documentation. | |
| 443 Also added various "doc" fields to the CFG_DATA comments. | |
| 444 | |
| 445 Wed Sep 9 18:36:15 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 446 | |
| 447 * include/uit_func.inl: | |
| 448 * include/uit_objs.hxx: | |
| 449 * src/uit_objs.cxx: | |
| 450 Condition features on CYGPKG_UITRON_SEMAS [for example] as well as | |
| 451 0 < CYG_UITRON_NUM( SEMAS ) so that we get warning free | |
| 452 compilation with no semas enabled. Ditto for flags, mboxes, | |
| 453 mempools fixed and variable, alarms and cyclics. | |
| 454 | |
| 455 * include/pkgconf/uitron.h: | |
| 456 Add a couple of requires statements from cyclics and alarms on the | |
| 457 kernel clock. | |
| 458 Also change some grammar after review. | |
| 459 Add an option (actually a pair, makes it better documentation IMO) | |
| 460 to require strict semantics from the kernel setup. | |
| 461 Add an option to control the optional sema initializer; it was | |
| 462 omitted since the editor way of configury used a #if 0. | |
| 463 | |
| 464 Fri Sep 4 17:54:29 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 465 | |
| 466 * include/pkgconf/uitron.h: | |
| 467 Remove redundant and now unnecessary defs of CYGPKG_UITRON. | |
| 468 | |
| 469 Wed Sep 2 19:06:17 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 470 | |
| 471 * include/uit_func.inl: | |
| 472 Memory pools and message boxes and flags | |
| 473 and cnt_sem2-type semaphores now all have absolute timeouts | |
| 474 instead of relative ones in the timely wait functions. | |
| 475 We add in the current time here first. | |
| 476 | |
| 477 Wed Sep 2 16:45:40 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 478 | |
| 479 * include/pkgconf/uitron.h (CYGDAT_UITRON_TASK_INITIALIZERS): | |
| 480 Use the new kernel thread initializer with priority and thread | |
| 481 name in it. | |
| 482 | |
| 483 * include/uit_func.inl: | |
| 484 * include/uit_objs.hxx: | |
| 485 * src/uit_func.cxx (cyg_uitron_start): | |
| 486 * src/uit_objs.cxx: | |
| 487 Our tasks are now Cyg_Threads rather than a derived class. | |
| 488 Original priorities of tasks are held in an array. An accessor | |
| 489 macro is used for the off-by-one nature of uitron IDs. The array | |
| 490 of original priorities is set up in cyg_uitron_start(), and | |
| 491 created in uit_objs.cxx. | |
| 492 | |
| 493 Wed Sep 2 15:15:26 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 494 | |
| 495 * include/pkgconf/uitron.h: | |
| 496 Comment more strongly in the 'description' that the number of | |
| 497 initializers better match the number of things specified. | |
| 498 | |
| 499 Tue Sep 1 19:00:02 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 500 | |
| 501 * include/uit_objs.hxx: | |
| 502 Do not include <cyg/kernel/kernel.h>; it is deprecated. | |
| 503 Instead, include only kernel headers that are needed. | |
| 504 | |
| 505 * include/uit_func.inl (ref_sys): | |
| 506 Use new kernel function Cyg_Interrupt::interrupts_enabled() | |
| 507 instead of a state variable. Tidy up associated code. | |
| 508 Include kernel headers that are needed because they were not | |
| 509 included in uit_objs.hxx for tidiness. | |
| 510 | |
| 511 * src/uit_func.cxx: | |
| 512 Elide state variable that used to be used for tracking interrupt | |
| 513 enabledness state. | |
| 514 | |
| 515 * tests/testcx5.cxx (task1): | |
| 516 * tests/test5.c (task1): | |
| 517 Test interrupt enable and disable stuff, and status reporting. | |
| 518 | |
| 519 Tue Sep 1 15:12:29 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 520 | |
| 521 * include/uit_func.inl (ref_mpf): | |
| 522 Change comment "ECC" to "eCos". | |
| 523 | |
| 524 1998-08-28 Bart Veer <bartv@cygnus.co.uk> | |
| 525 | |
| 526 * include/uit_func.inl: | |
| 527 * tests/test1.c, tests/test2.c, tests/test3.c, tests/test4.c, | |
| 528 tests/test5.c, tests/testcxx.cxx, tests/testcx2.cxx, | |
| 529 tests/testcx3.cxx, tests/testcx4.cxx, tests/testcx5.cxx: | |
| 530 | |
| 531 Updated for new kernel configuration option symbol names | |
| 532 | |
| 533 | |
| 534 Fri Aug 28 09:21:55 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 535 | |
| 536 * src/uit_func.cxx (cyg_uitron_start): | |
| 537 Remove call to Cyg_Scheduler::start() and adjust comments to | |
| 538 explain where to call it from | |
| 539 | |
| 540 * tests/test1.c, tests/test2.c, tests/test3.c, tests/test4.c, | |
| 541 tests/test5.c, tests/testcxx.cxx, tests/testcx2.cxx, | |
| 542 tests/testcx3.cxx, tests/testcx4.cxx, tests/testcx5.cxx: | |
| 543 Change the normal entry point at the top to be cyg_package_start() | |
| 544 under the new startup scheme. This overrides the default package | |
| 545 configuration and ensure cyg_uitron_start() gets called. | |
| 546 Change the "default" entry point at the bottom (when the test is | |
| 547 N/A for some reason) to cyg_start() under the new startup scheme. | |
| 548 | |
| 549 Wed Aug 26 18:20:47 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 550 | |
| 551 * include/pkgconf/uitron.h: | |
| 552 Initial version of cdl control statements for config options. | |
| 553 All very groovy, and looking good IMO. | |
| 554 A few FIX-MEs remain, no big deal. | |
| 555 | |
| 556 Mon Aug 24 19:05:52 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 557 | |
| 558 * include/pkgconf/uitron.h: | |
| 559 Change the names of config options to helpful, positive sense, and | |
| 560 tidy some of the names for inclusion in the GUI tool. Clean up | |
| 561 the namespace too. | |
| 562 | |
| 563 * include/uit_func.h: | |
| 564 * include/uit_func.inl: | |
| 565 * src/uit_func.cxx: | |
| 566 * src/uit_objs.cxx: | |
| 567 Configure according to new option names and object construction | |
| 568 macros. Simple changes but widespread. | |
| 569 | |
| 570 * tests/test[12345].c: | |
| 571 * tests/testcx[x2345].cxx: | |
| 572 Configure according to new option names. | |
| 573 Make it main( void ) to avoid a warning. | |
| 574 | |
| 575 Fri Aug 21 18:45:16 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 576 | |
| 577 * tests/testcx4.cxx (task1): | |
| 578 * tests/test4.c (task1): | |
| 579 * include/uit_func.inl (def_alm): | |
| 580 Tidy the alarm and timer funcs in the course of fixing a kernel | |
| 581 bug actually. Test the functionality affected by the kernel | |
| 582 change a bit more. | |
| 583 | |
| 584 Thu Aug 20 14:33:36 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 585 | |
| 586 * include/uit_func.inl (ref_alm): | |
| 587 Elide an unused variable following the previous change. | |
| 588 | |
| 589 Mon Aug 17 15:45:07 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 590 | |
| 591 * include/pkgconf/uitron.h: | |
| 592 Add the config option CYGSEM_UITRON_PARAMS_CHECK_NADR_ONLY. | |
| 593 | |
| 594 * tests/testcxx.cxx: | |
| 595 * tests/testcx2.cxx: | |
| 596 * tests/testcx4.cxx: | |
| 597 Avoid testing with NULL as a bad parameter when only NADR is | |
| 598 checked. (NADR does not cast to any-pointer in C++ so we don't | |
| 599 test it in these programs) Check for NADR various places as well | |
| 600 as NULL. | |
| 601 | |
| 602 * tests/test1.c (task1): | |
| 603 * tests/test2.c (task1): | |
| 604 * tests/test4.c (task1): | |
| 605 Avoid testing with NULL as a bad parameter when only NADR is | |
| 606 checked. Check for NADR various places as well as NULL, and test | |
| 607 NADR as a bad param as well as NULL. | |
| 608 | |
| 609 | |
| 610 Mon Aug 17 14:45:30 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 611 | |
| 612 * include/uit_func.inl: | |
| 613 PR# 16536: Check for dormant tasks various places; E_OBJ | |
| 614 must be returned. All this error checking rather bloats the code, | |
| 615 unfortunately. | |
| 616 | |
| 617 * tests/testcxx.cxx: | |
| 618 * tests/test1.c: | |
| 619 Test the new checks above. | |
| 620 | |
| 621 Fri Aug 14 17:41:35 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 622 | |
| 623 * include/uit_func.inl ([t]wai/pol_flg): | |
| 624 Check for zero in a wait-for-flag operation; such a wait can never | |
| 625 be awakened, and so should return E_PAR. | |
| 626 | |
| 627 * tests/testcx2.cxx (task1): | |
| 628 * tests/test2.c (task1): | |
| 629 Test the above new checking. | |
| 630 | |
| 631 Fri Jul 24 17:12:54 1998 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 632 | |
| 633 PR#15865 | |
| 634 * include/uit_func.inl: return a bool (strictly 1 or 0) for wtsk | |
| 635 rather than -1 or zero as the spec implies. | |
| 636 ref_flg() ref_sem() only affected. | |
| 637 | |
| 638 Fri Jul 24 13:26:51 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 639 | |
| 640 PR#16531 | |
| 641 * include/uit_func.inl: return E_OBJ when (force)resuming a | |
| 642 non-suspended task. | |
| 643 * tests/test1.c: test for that error code. | |
| 644 * tests/testcxx.cxx: test for that error code. | |
| 645 | |
| 646 Fri Jul 24 13:02:46 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 647 | |
| 648 * Changelog: Initial ChangeLog entry. | |
| 649 | |
| 650 | |
| 651 //=========================================================================== | |
| 652 //####COPYRIGHTBEGIN#### | |
|
64
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
653 // |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
654 // ------------------------------------------- |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
655 // The contents of this file are subject to the Red Hat eCos Public License |
|
66
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
656 // Version 1.1 (the "License"); you may not use this file except in |
|
64
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
657 // compliance with the License. You may obtain a copy of the License at |
|
66
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
658 // http://www.redhat.com/ |
|
64
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
659 // |
|
66
bf00f99aec69
Merge from eCos master repository on 2000-02-02-19:16:44-GMT
jlarmour
parents:
64
diff
changeset
|
660 // Software distributed under the License is distributed on an "AS IS" |
|
64
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
661 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
662 // License for the specific language governing rights and limitations under |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
663 // the License. |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
664 // |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
665 // The Original Code is eCos - Embedded Configurable Operating System, |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
666 // released September 30, 1998. |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
667 // |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
668 // The Initial Developer of the Original Code is Red Hat. |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
669 // Portions created by Red Hat are |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
670 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc. |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
671 // All Rights Reserved. |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
672 // ------------------------------------------- |
|
c38311975d4f
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
jlarmour
parents:
54
diff
changeset
|
673 // |
| 0 | 674 //####COPYRIGHTEND#### |
| 675 //=========================================================================== |
