File: ChangeLog

package info (click to toggle)
rtai 3.6.1-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 18,448 kB
  • ctags: 13,674
  • sloc: ansic: 64,656; sh: 11,769; cpp: 10,387; makefile: 1,324; yacc: 575; lex: 366; php: 313; asm: 173; perl: 108; xml: 73
file content (2390 lines) | stat: -rw-r--r-- 92,653 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2008-05-23 Pierangelo Masarati <masarati@aero.polimi.it>

	* RTAI 3.6.1

2008-05-08 Roland Stigge <stigge@antcom.de>

	* base/sched/liblxrt/touchall.c: avoid using Linux "asm/page.h" in
	  user space by calling glibc "getpagesize" to get arch page size.

2008-05-06 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/arch/x86_64/hal/hal.immed: grab exceptions as in i386, process
	  floating point enabling immediately.

2008-04-03 Bill Barton <peabody@rahul.net>

	* base/include/rtai_fifos.h and base/ipc/fifos-fisos.c: refurbished
	  fifo handler stuff.

2008-04-01 Bill Barton <peabody@rahul.net>

	* base/sched/sched.c: ensure traps are catched in kernel space also,
	  through PF_EVNOTIFY for hardened kernel threads and set/clear
	  foreign stack for RTAI own kernel tasks. Indeed Bill's fix is not 
	  a first of April Fool.

2008-03-28 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_mq.h and rtai_pmq.h: added a missing RTAI_PROTO
	  in the definition of rt_request_signal_mq.
	  (Pointed at by from Felix Frey" <frey@stettbacher.ch>)

2008-03-14 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_sched.h: redefine the variable in rt_task_struct
	  used for the busy time alignement of the scheduler with a more
	  appropriate name.
	  (Following a warning from Paul Corner <paul_c@tuxcnc.org>)
	* base/include/rtai_schedcore.h and
	* base/sched/sched.c: comply to the above change.

2008-03-14  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/scilab/macros/RTAI/RTAI*.sci: Set allways dstate=[]
	to avoid code generation of unused code.

2008-03-13 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_schedcore.h: in renq_current check if rt_current
	  is ready before renqueuing, needed for sure in condvars mutex
	  releases at least.

2008-03-11  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/scilab/macros/RTAI/RTAICodeGen_.sci: Modified for
	handling some special event blocks.

2008-03-11 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c and sys.c: got rid of Linux smp_processor_id().

2008-03-08 Pierangelo Masarati <masarati@aero.polimi.it>

	* Fix for Module.symvers (thanks to patch from Paul)
	* Minor build cleanup

2008-03-01 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_netrpc.h: added missing space indicator in a
	  few user space calls for mail boxes.

2008-02-29 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/ipc/shm/shm.c: fixed wrong arg passing to rt_shm_alloc_usp 
	  when called from ioct support. 
	  Bug pointed out by: Calin A. Culianu <calin@ajvar.org>. 

2008-02-12 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/ipc/shm/kvmem.c and base/malloc/malloc.c: fix problem with
	  RAM > 1 GM (Linux HIGHMEM).

2008-01-28 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_lxrt.h: allow use of SCHED_OTHER, lost since 3.2,
	  but only by setting it explicitely with rt_task_init_schmod.

2008-01-24  Roberto Bucher <roberto.bucher@supsi.ch>

	* configure.in: Modified for Scilab-4.1.2: rtai-lab/devices is no more in the
	compilation tree.
	* configure:  Modified for Scilab-4.1.2: rtai-lab/devices is no more in the
	compilation tree.

2008-01-23  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/scilab/*: All the files modified for Scilab-4.1.2.

2008-01-17 Pierangelo Masarati <masarati@aero.polimi.it>

	* RTAI 3.6

2008-01-11 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/asm-x86_64/rtai_lxrt.h: force a "clts" before 
	  context_switch if the prev task used the FPU.

2008-01-10 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/asm-x86_64/rtai_fpu.h: simplified because xmm is always 
	  there and copied fpu save/restore from Linux.

2008-01-10  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/matlab/rtai.tmf: Modified for Matlab 7.3 and Matlab-7.4.

2008-01-06 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/arch/ppc/Kconfig: update the RTDM related part.
	* base/include/rtai_shm.h: add macro UVIRT_TO_KVA to shorten usage of
	  the real uvirt_to_kva.
	* addons/rtdm/xn.h: use UVIRT_TO_KVA to define a missing macro needed 
	  for older Linux versions.

2008-01-03 Pierangelo Masarati <masarati@aero.polimi.it>

	* RTAI 3.6-test3

2007-12-21 Pierangelo Masarati <masarati@aero.polimi.it>

	* configure.in, configure: allow module versioning for Linux
	  2.6.xx.

2007-12-18 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c: when returning from an RTAI own task fully
	  restate rt_current from rt_smp_current and rtai_cpuid.

2007-12-17  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/scilab/devices/READE.devices:  New descritption.

2007-12-14 Pierangelo Masarati <masarati@aero.polimi.it>

	* GNUMakefile.am: add udev rules file creation for RTAI shm 
	  and fifos.

2007-12-13 Paolo Mantegazza <mantegazza@aero.polimi.it>

	base/include/rtai_wrappers.h: define dummy udev class support.
	base/ipc/fifos/fifos.c and
	base/ipc/shm/shm.c: restructured sysfs-devfs stuff.

2007-12-12 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/arch/i386/smi-module.c reworked module inti/cleanup and
	  related infos printout.

2007-12-08 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_signal.h: modified an uncertain, likely compiler 
	  dependent, structure initialisation in requesting a signal.
	* base/include/rtai_mq.h, rtai_pmq.h: as above for notification 
	  handlers.

2007-12-06 Pierangelo Masarati <masarati@aero.polimi.it>

	* configure.in: allow configuration of task switch specific signals.

2007-12-06 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c: use configurable parameter to enable/disable
	  signalling of task switches in kernel/user space.

2007-12-05 Pierangelo Masarati <masarati@aero.polimi.it>

	* base/sched/sched.c: use configurable parameter for the stacks heap
	  size of RTAI own kernel tasks.

2007-12-04 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* all archs Kconfigs: add configurable parameter for the stacks heap
	  size of RTAI own kernel tasks.

2007-11-13 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/ipc/bits.c and base/include/rtai_bits.h: changed return type 
	  from "int" to "unsigned long" in rt_bits_reset, is 64 bits safer.

2007-11-13 Bernd Suessmilch <Bernd.Suessmilch@uibk.ac.at>

	* base/ipc/bits.c: return the latest mask always.

2007-11-03 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c: made RTAI own real time signals a native 
	  service; reinstalled task signals at context switch using 
	  RTAI signals simmetrically in kernel/user space, while 
	  maintaining compatibility with the old kernel space only method.
	* base/sched/signal.c: modified as neede to be native RTAI services.
	* base/include/rtai_lxrt.h: defined signals syscalls numbers as part i
	  of the basic RTAI services.
	* base/include/rtai_signal.h: use new signals syscalls numbers, part 
	  of the basic RTAI services now.
	* base/include/rtai_mq.h, rtai_pmq.h: changed named of signals related 
	  syscalls names.

2007-11-02 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_posix.h: reworked a few lines, to impose L1 
	  cache alignment to the task allocation in kernel pthread_create.

2007-11-01 Bernd Suessmilch <Bernd.Suessmilch@uibk.ac.at>

	* base/ipc/bits.c: ensure the correct value is returned when a task
	  is blocked in any of the bits_wait.

2007-10-30 Pierangelo Masarati <masarati@aero.polimi.it>

	* /base/arch/i386/calibration/smi-module.c: fix module naming.
	* /base/arch/i386/calibration/setsmi: set hal_smi_masked_bits during
	   set/reset.

2007-10-28 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_lxrt.h: start/stop_rt_timer care of being done 
	  in soft mode.

2007-10-21 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/asm-x86_64/rtai_hal-h: upgrades for using latest kernel 
	  patching.
	* base/arche/x86_64/hal/hal.immed: upgrades for using latest kernel 
	  patching.

2007-10-19 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sys.c: force mlockall internally at task initting.

2007-10-16 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_lxrt.h: rt_thread_create/join adapted to 
	  pthread_create thread return in NPTL
	* base/include/rtai_tasklets.h, base/tasklets/tasklets.c: adapted
	  to what returned above.

2007-09-22 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sys.c: do not init task_trap_handler for setting lxrt 
	  extension anymore.
	* base/usi/usi.c, base/tasklets/tasklets.c, base/ipc/fifos/fisos.c:
	  set lxrt extensions with the due set/rest functions, 
	  task_trap_handler is dead.

2007-09-05 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/arch/i386/hal/hal.immedi, base/include/asm-i386/rtai_hal.h,
	* base/arch/x86_646/hal/hal.immed, base/include/asm-x86_646/rtai_hal.h:
	  get rid of hal_pended alltogether.

2007-09-02 Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/asm-i386/rtai_hal.h: revised and unified 
	  hal_pend_uncond for all Linux versions.
	* base/malloc/malloc.c: added TLSF based allocator, optionally
	  set at RTAI config.

2007-08-31  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/matrixx/GNUmakefile.am:  Modified to allow compilation from
	  an external folder.
	* rtai-lab/matrixx/GNUmakefile.in:  Modified to allow compilation from
	  an external folder.

2007-08-26  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/scilab/rtmain.c: Changed type for rt_BaseTaskPeriod to
	  RTIME.
	* rtai-lab/matlab/rtmain.c: Changed type for rt_BaseTaskPeriod to
	  RTIME.
	* rtai-lab/matrixx/rtmain.c: Changed type for rt_BaseTaskPeriod to
	  RTIME.
	* rtai-lab/matrixx/rtmain.h: Changed version.

2007-08-24  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/ipc/fifos/fifos.c: allow using fifos without any RTAI 
	  scheduler, unsetting macro "LXRTEXT" by hand.
	* base/include/asm-i386/rtai_vectors.h: restructured to work with 
	  both 2.4.xx and 2.6.xx.
	* base/include/rtai_wrappers.h: added a few define and a type not 
	  existing in 2.4.xx.
	* addons/rtdm/module.c: deleted inclusion of the useless cpumask.h,
	  conflicting with 2.4.xx.

2007-08-23 Pierangelo Masarati <masarati@aero.polimi.i>

	* RTAI 3.5 closure version

2007-08-23  Martin Plattl <martin.plattl@knapp.com>

	* base/ipc/fifos/fifos.c: fixed a wrong test using free space in 
	  place of available bytes in mbx_receive_if

2007-08-21  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* testsuite/user/latency/latency.c: do not display execution time 
	  statistics when the related feature is not configured.

2007-08-20  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/arch/i386/hal/hal.immed: check both hal_pended and pipe root
	  stall flag in all of RTAI internal direct vectoring handlers.

2007-08-19  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c: optimise EXEC_TIME calculations, modify
	  various "is_hard" tests to have it more appropriately.

2007-08-12  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/api.c: make rt_set_period SMP safe.

2007-08-07  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/asm-i386/rtai_lxrt.h: define TIMER_TYPE as arch
	  dependent feature here.
	* base/sched/sched.c: define TIMER_TYPE to one, but only if it is
	  not defined as an arch specific feature already; fix, partially
	  rewrite and simplify _rt_linux_hrt_next_shot.

2007-08-05  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/addons/rtdm/module.c: remove long unused TRUE_LXRT_WAY.
	* base/addons/rtdm/rtdm.h: remove long unused TRUE_LXRT_WAY and
	  manage ENOSYS caused transitions from hard to soft mode
	  automatically.

2007-08-04  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/arch/x86_64/hal/hal.immed and base/arch/ppc/hal/hal.c: 
          export IsolCpusMask for possible use in RTDM.

2007-08-03  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/addons/rtdm/core.c, core.h, device.c, device.h, drvlib.c,
	  module.c, proc.c, rtdm.h, rtdm_driver.h, rtserial.h, xn.h, 
	  internal.h: updated to the last.
	* base/addons/drivers/16550A/16550A.c, 16550A_io.h, 16550A_pnp.h:
	  updated to the last.
	* base/arch/i386/hal/hal.immed: export IsolCpusMask for possible use
          in RTDM.

2007-08-02  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/tasklets/tasklets.c: reworked and shortened reinsertion of 
	  periodic timers after firing in the timer manager.

2007-07-27  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/arch/i385/hal/hal.immed, 
	* base/arch/x86-64/hal/hal.immed: use IRQF_SHARED in place of SA_SHIRQ
	  it will avoid depracation warnings with the most recent Linux
	  versions.
	* base/include/rtai_wrappers: set defined IRQF_SHARED to SA_SHIRQ for
	  older Linux version still using it.

2007-07-26  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/arch/x86-64/hal/hal.immed: modified to support CLOCKEVENTS, 
	* base/include/asm-x86_64/rtai_fpu.h: thread_info disappeared from
	  post Linux 2.6.20, use task_thread_info instead.
	* base/include/asm-x86_64/rtai_lxrt.h: include asm-x86-64/asm-offests.h 
	  to ensure "__NR_syscall_max" is available.
	* base/include/asm-x86_64/rtai_vectors.h: test correct definition of 
	  RTAI_SYS_VECTOR in "__KERNEL__" only.

2007-07-24  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c: TIMER_TYPE macro must be set depend on 
	  CONFIG_GENERIC_CLOCKEVENTS also in the UP case.

2007-07-20  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/asm-i386/rtai_hal.h: remove declarations for 
	  request/release of Linux hrt tickdev, needed nomore.
	* base/arch/i386/hal/hal.immed: request/release of Linux hrt tickdev 
	  unified here, function pointers for hrt mode and oneshot setting 
	  declared and exported so that sched.c can set them later.
	* base/sched/sched.c: request/release of linux hrt moved to hal.immed,
	  initialise hrt mode and oneshot setting pointers exported from 
	  hal.immed.

2007-07-15  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/arch/i386/hal/hal.immed: added support for using hard timers
	  without any RTAI scheduler, in periodic mode only; needed mainly
	  to keep some existing tests working.
	* base/include/asm-i386/rtai_hal.h: added declarations for the use
	  of what above.

2007-07-11  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/asm-i386/rtai_fpu.h: thread_info disappeared from
	  post Linux 2.6.20, use task_thread_info instead.
	* base/include/asm-i386/rtai_hal.h: copy Linux do_div locally.
	* base/include/asm-i386/rtai_vectors.h: include header to get a macro 
	  from the patch.
	* base/include/asm-i386/rtai_lxrt.h: add macro to pend local apic 
	  interrupts to Linux when it uses clockevents.
	* base/arch/i386/hal/hal.immed: add macro for a dummy bradcast to 
	  local apics when Linux uses clockevents.
	* base/sched/sched.c: add support for Linux clockevents.

2007-06-19  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/scilab/macros/Makefile: Changed the scilab version to 4.1.1.

	* rtai-lab/scilab/macros/RTAI/CodeGen_.sci: Eliminated some unused
	  functions.

2007-06-14  Paolo Mantegazza <mantegazza@aero.polimi.it>
            	
	* base/ipc/netrpc.c: care of stubs being soft/hard when deleting 
	  those left behind at module exit.

2007-06-13  Pierangelo Masarati <masarati@aero.polimi.it>
	    Antonio Barbalace <barbalace@igi.cnr.it>

	* x86_64 scheduler build back to mainstream:
		- rtai_lxrt/rtai_sched on x86_64 as on all other archs

2007-06-12  Antonio Barbalace <barbalace@igi.cnr.it>

	* base/include/asm-x86_64:rtai_sched.h: multiversion, the one to be 
	  used to be decided yet.
	* base/arch/x86_64/hal/hal.immed and base/arch/i386/hal/hal.immed: 
	  added rt_eoi_irq for APIC interrupts.

2007-06-07  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/scilab/devices/*.c: Added copyright lines in the sources.

2007-06-04  Antonio Barbalace <barbalace@igi.cnr.it>
	    Paolo Mantegazza <mantegazza@aero.polimi.it>
            	
	* base/sched/sched.c: use unsigned long in place of int for 
	  rt_smp_linux_cr0, to work with for 64 bits archs also.

2007-06-04  Antonio Barbalace <barbalace@igi.cnr.it>
            	
	* base/include/asm-x86_64/rtai_sched.h: fixed support for context
	  switches of RTAI own kernel tasks.

2007-06-01  Emanuele Clerici <clerici@aero.polimi.it>

	* base/ipc/mq.c: check possible return error of mutex locking and
	  use timed mutex locks in timed send/receive.

2007-05-30  Emanuele Clerici <clerici@aero.polimi.it>

	* base/include/rtai_pmq.h and rtai_mq.h: added declarations for 
	  notify support.
	* base/ipc/mq.c: added notify support.

2007-05-25  Lennart.C. Karssen <l.c.karssen@phys.uu.nl>
	    Paolo Mantegazza <mantegazza@aero.polimi.it>

        * addons/comedi/rtai_comedi.h: fixed a missing initialisation of the 
	  local (on stack) copy of bits in comedi_dio_bitfield.

2007-05-25  Emanuele Clerici <clerici@aero.polimi.it>

	* base/include/rtai_lxrt.h: added syscall numbers for Posix MQ
	  notification from user space.
	* base/include/rtai_signal.h: added a few declarations to allow using
	  RTAI signals for Posix MQ notification.
	* base/include/rtai_tasklets.h: added extensions for using RTAI 
	  tasklets to support Posix timers.
	* base/include/rtai_posix.h: revised kernel space part for
	  compatibility with user space references, added Posix timers.
        * base/tasklets/signal.c: added a few controls more, support for MQ
	  specific notification, moved a couple of declarations to the
	  rtai_signal.h.
	* base/tasklets/tasklets.c: added extensions for using tasklets to
	  support Posix timers.
	* base/posix/POSIX_WRAPS: added due wrappers for timers.

2007-05-24  Paolo Mantegazza <mantegazza@aero.polimi.it>
            	
	* base/include/asm-x86_64/rtai_hal.h: simplify rtai_ulldiv, on a 64 
	  bits arch it comes "by nature".

2007-05-22  Paolo Mantegazza <mantegazza@aero.polimi.it>
            	
	* base/include/rtai_msg.h, rtai_netrpc.h and 
	  base/ipc/msg.c: use a pointer to a long for the received msg length 
	  in extended evdrp and receive.

2007-05-22  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/scilab/rtai4_comedi_data*.sci: Changed the name
	  of the variable range to comedi_range to avoid conflicts
	  with a scilab function.

2007-05-12  Paolo Mantegazza <mantegazza@aero.polimi.it>
            	
	* base/ipc/shm.c: enable heap shearing parts only if 
	  CONFIG_RTAI_MALLOC has been set.

2007-05-11  Paolo Mantegazza <mantegazza@aero.polimi.it>
            	
	* base/malloc/malloc.c: set system allocation support as a variable in 
	  the calling args list of any function needing it.
	* base/include/rtai_malloc.h: divert rt_malloc/free to kmalloc/free if 
	  RTAI mallocing is not configured, define new prototypes with type
	  of Linux allocation support.
	* base/include/rtai_schedcore.h: sched_malloc/free needed no more.
	* base/sched/sched.c: use a specific allocation for kernel stacks of 
	  RTAI proper kernel tasks.
	* base/tasklests/tasklests.c: get rid of useless sched_malloc/free 
	  defines and use rt_malloc/free instead.
	* base/ipc/shm/shm.c: use the new rtheap_init call prototype.
	* base/ipc/mbx/mbx.c: use rt_malloc in place of the now dead 
	  sched_malloc.

2007-05-10  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/matlab/rtai.tmf: Some changes needed for Matlab
	  >= 2006b (thanks to Emanuele Clerici)

2007-05-08  Emanuele Clerici (clerici@aero.polimi.it)

	* base/include/rtai_netrpc.h and base/ipc/netrcp.c: cleaned undue 
	  constraint on the number of stubs being power of 2.

2007-05-06  Antonio Barbalace <barbalace@igi.cnr.it>
	    Paolo Mantegazza <mantegazza@aero.polimi.it>
            	
	* base/include/asm-ppc,
	  base/arch/ppc: support of RTAI for PPC fully upgraded to Linux 
	  2.6.xx, i.e. kernel and user space are now working for PPC also.

2007-05-05  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sys.c: possible RTAI execution of Linux signal handlers
	  in sys.c made architecture dependent.
	* base/include/asm-allarch: define macros for architecture dependent
	  execution of Linux signal handlers in sys.c.

2007-05-02  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_netrpc.h,
	* base/ipc/netrpc.c: made arch independent with respect to endiannes.

2007-04-16  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sys.c: ensure correct returns in the switch part of 
	  lxrt invoke whatever the endianess.

2007-04-12  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_lxrt.h: switch to soft mode if in rt_thread_create
	  a thread is created while being in hard mode, recovering it after
	  thread creation.

2007-04-04  Emanuele Clerici (clerici@aero.polimi.it)

	* base/ipc/netrpc/netrpc.c: fixed glitches in stub/slots management, 
	  changed soft recvfrom prototype to match its hard counterpart.
	* base/ipc/netrpc/rtnetP.h: changed soft recvfrom prototype declaration
	  to match its hard counterpart.

2007-03-29  Paolo Mantegazza <mantegazza@aero.polimi.it>

        * base/arch/i386/hal/hal.immed and base/arch/x86_64/hal/hal.immed:
	  function "rtai_broadcast_to_local_timers" broadcasts to ALLBUT 
	  cpus and pends to Linux locally, to avoid a useless interrupt.

2007-03-27  Paolo Mantegazza <mantegazza@aero.polimi.it>

        * base/ipc/netrpc/netrpc.c: force asmlinkage using a variable 
	  number of args for in kernel net syscalls, older compilers seem to 
	  have it not with just asmlinkage.

2007-03-18  Paolo Mantegazza <mantegazza@aero.polimi.it>

        * base/arch/i386/hal/hal.immed: support for Linux > 2.6.19 in direct
          vectoring and RTAI proper syscalls, requires push/pop of gs and the
          loading of KERNEL_PDA segment, a forgot to commit; this new version
	  avoids duplicated code for vectored isrs by using a macro.

2007-03-15  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sys.c: fixed a few remaining arguments list incongruences 
	  for high numbered user space calls from 64 bits machines.

2007-03-08  Emanuele Clerici (clerici@aero.polimi.it)

	* base/ipc/netrpc/netrpc.c: fixed two wrong comparisons in get_stub.

2007-03-07  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/ipc/sem/sem.c: atomic_cmpxchg replaced with cmpxchg in 
	  spinlocks.

2007-03-04  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c: clean an ifdef in wakeup_srq_handler that was
	  for x86_64 only.
	* base/include/rtai_schecore.h: check that virqs for waking up Linux 
	  tasks are in sequence (i.e.: virq(i) = virq(0) + i).

2007-03-03  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* addons/comedi/rtai_comedi.h: enabled for use with 32/64 bits 
	  architectures.

2007-03-02  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c: make immediate internal Linux syscalls 
	  architecture dependent through LXRT_DO_IMMEDIATE_LINUX_SYSCALL macro.
	* base/include/asm-???/rtai_lxrt.h: define architecture spacific
	  LXRT_DO_IMMEDIATE_LINUX_SYSCALL macro.

2007-03-01  Pierangelo Masarati <masarati@aero.polimi.it>

	* reworked scheduler build:
		- rtai_lxrt/rtai_sched on all archs;
		- rtai_lxrt only on x86_64
		- all symlinks including legacy on all archs

2007-03-01  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/ipc/msg/msg.c: cast macros to long, in msg_not_sent-received,
	  to be consistent with 64 bits address casting,

2007-02-28  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* addons/drivers/serial/rtai_serial.h: revised to be usable with 64 bits
	  archs also.

2007-02-28  Pierangelo Masarati <masarati@aero.polimi.it>

	* revised x86_64 build (Kconfig, defconfig...).

2007-02-26  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/asm-i386/rtai_lxrt.h: rewrote Linux syscall server 
	  creation and support function to allow both sync and async serving;
	  added a function for changing sync_async mode and callback function.
	* base/include/asm-i386/rtai_sched: changed Linux syscall server type 
	  in task struct to support both sync and async serving.
	* base/sched/sys.c: rewrote Linux syscall server creation to support 
	  both sync and async serving.
	* base/sched/api.c: rewrote Linux syscall server calling to support 
	  both sync and async serving; added a function for changing 
	  sync_async mode and callback.
	* base/sched/sched.c: modified assignement of Linux syscall server 
	  in task structure and call table to support both sync and async 
	  serving.

2007-02-26 Pierangelo Masarati <masarati@aero.polimi.i>

	* RTAI 3.5 release

2007-02-25  Roberto Bucher <roberto.bucher@supsi.ch>

	*/rtai-lab/scilab/macros/RTAI/:RTAICodegen_.sci: Some changes to
	run under Windows

2007-02-14  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/asm-i386/rtai_lxrt.h: task context switching 
	  compatibility with new fpu support in linux > 2.6.19.

2007-02-10  Paul Corner <paul_c@tuxcnc.org>

	* base/ipc/fifos/fifos.c: fix udev related ifdefs.

2007-02-09  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/scilab/macros/RTAI/SetTarget_.sci,
	*/rtai-lab/scilab/macros/RTAI/:RTAICodegen_.sci: Corrected bug with 
	non existent TARGET_DIR (again!).
	*/rtai-lab/scilab/macros/RTAI/:RTAICodegen_.sci: Eliminated the string
	substitution '-' -> '_' for the generation folder.


2007-02-09  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c: avoid a deprecation for linux > 2.6.19.
	* base/ipc/netrpc/netrpc.c: use sys call table directly to cope
	  with missing _syscalls definitions for linux > 2.6.19.
	* base/include/asm-i386/rtai_hal.h: force REGPARM always for 
	  linux > 2.6.19.

2007-01-19  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/scilab/macros/RTAI/SetTarget_.sci,
	*/rtai-lab/scilab/macros/RTAI/:RTAICodegen_.sci: Corrected bug with 
	non existent TARGET_DIR.

2007-01-15  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/arch/i386/Kconfig: added parameter to configure CLOCK_REALTIME 
	  usage in a few RTAI native timing functions, to avoid a likely
	  negligible overhead when it is not needed.
	* base/sched/api.c: support CLOCK_REALTIME in rt_wait_until and 
	  rt_make_periodic, using REALTIME2COUNT.
	* base/ipc/sem.c: support CLOCK_REALTIME in rt_sem/cond_wait_until,
	  using REALTIME2COUNT.
	* base/include/rtai_posix.h: clock functions support for both 
	  CLOCK_MONOTONIC and CLOCK_REALTIME.

2007-01-14  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_sched.h: added declarations of functions: 
	  rt_get_real_time and rt_get_real_time_ns.
	* base/include/rtai_lxrt.h: added codes and calls from user space
	  for functions: rt_get_real_time and rt_get_real_time_ns.
	* base/include/rtai_schedcore.h: added macro REALTIME2COUNT, to 
	  support timing functions called with real time arguments, but only
	  if specifically configured.
	* base/sched/sched.c: all start_rt_timer functions prepare epoch origin
	  for possible real time support; added rt_get_real_time and 
	  rt_get_real_time_ns.
	* base/sched/api.c: expand rt_gettimeorig to generate epoch origin.
	* base/sched/sys.c: support use of NULL argument in rt_gettimeorig,
	  to update epoch origin from user space.

2007-01-12  Mattia Mattaboni (mattaboni@aero.polimi.it)

	* rtai-lab/matrixx/ Makefile, rtmain.c, rtmain.h: latest updates to 
	  support IO devices (analogue/digital)

	* rtai-lab/matrixx/devices/rtai_led.c, rtai_log.c, rtai_meter.c,
	  rtai_scope.c: revised with some return checks more.

	* rtai-lab/matrixx/devices/rtai_comedi_datain.c, rtai_comedi_dataout.c,
	  rtai_comedi_dioin.c, rtai_comedi_dioout.c: new devices to support IO 
	  (analogue/digital).

	* rtai-lab/matrixx/rtaidevs/*: palettes/icons to personalise RTAI 
	  palettes/icons to personalise RTAI devices in SystemBuild.

	* rtai-lab/matrixx/examples/DAQtest.rtf, IOtest.rtf: something to
	  show IO (analogue/digital) at work.

2007-01-11  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/scilab/rtmain.c,
	*/rtai-lab/matlab/rtmain.c: : rt_rpc replaces rt_send+rt_task_suspend
	in the rtBaseRate procedure.

2007-01-11  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c: lxrt_intercept_schedule_tail needs not to return
	  anything, typed void.

2007-01-10  Paolo Mantegazza <mantegazza@aero.polimi.it>
            Roberto Bucher <roberto.bucher@supsi.ch>
	
	* base/sched/api.c: avoid suspends only if the task owns resource
	  semaphores, before it did not suspend if sent messages were pending 
	  also.

2007-01-08  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/ipc/mq/mq.c: msgsize checked without any lock, fixed queue
	  head resetting in receiving functions; ensured queue mutex is
	  unlocked always; use mq_curmsgs as an index in get/freeing nodes,
	  nodind is redundant; simplify a few tests.
	* base/include/rtai_mq.h: makes available POSIX compliant returns,
	  by setting errno. It depends on the definition of the internal macro:
	  USE_POSIX_ERRNO, which is set by default. Users used to getting errno
	  directly should comment it off; get rid of redundant variable nodind.
        * base/sched/sched.c: do not execute Linux syscalls internally if a
          signal is pending; recast a, forgotten, dynamic link to rt_sem_signal 
	  to support Linux REGPARM; do not steal from Linux if a signal is 
	  pending, just remind it to the next RTAI call (is_hard = -1).
	* base/include/rtai_netrpc.h: safer support of receive buffer sizes
	  in user space asynchronous support (rt_get_net_rpc_ret).
	* base/ipc/netrpc.c: get rid of unused/redundant stuff in local
	  mbx support for asynchronous returns.
	* base/include/rtai_tbx.h and
	  base/ipc/tbx/tbx.c: fixed missing support for Linux REGPARM of
	  broadcasting functions.

2006-12-27  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/arch/i386/hal/hal.c: fixed spinlocks definition to support
	  TSCs synchronisation for 2.4.xx also.
	* base/arch/i386/hal/hal.immed: ifdef redundant MODULE_LICENSE to
	  avoid complaint with 2.4.xx.

2006-12-26  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_sched.h,
	* base/include/rtai_schedcore.h,
	* base/sched/api.c,
	* base/sched/sched.c, get rid and clean up of RT_SCHED_SELFSUSP state 
	  stuff, used no more.
	* base/sched/sched.c: reworked sched locking to set/reset 
	  rt_scheduling.rqsted more appropriately.

2006-12-23  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/asm-i386/rtai_srq.h,
	  base/include/asm-i386/rtai_usi.h,
	  base/arch/i386/hal/hal.immed,
	  base/sched/sched.c,
	  base/arch/i386/Kconfig: 
	  catching of syscall prologue in rtai_hal for full symmetric usage
	  of Linux syscall mechaninsm, RTAI own srqs and APIs, when it is 
	  configured.

2006-12-22  Emanuele Clerici (clerici@aero.polimi.it)

	* base/include/rtai_netrpc.h: adapted to support new netrpc extensions.
	* base/ipc/netrpc/netrpc.c: added timeouts and dynamic recovery of
	  lost ports (network downs); revised registry.
	* base/ipc/netrpc/README: rewritten and revised to explain new/modified
	  services.

2006-12-22  Mattia Mattaboni (mattaboni@aero.polimi.it)

	* rtai-lab/matrixx/rtmain.*: support for meters and leds.
	* rtai-lab/matrixx/devices: added meters and leds.
	* rtai-lab/matrixx/README: explain new devices usage.

2006-12-21  Mattia Mattaboni (mattaboni@aero.polimi.it)

	* rtai-lab/matrixx/rtmain.*: adaption of existing rtmains to support
	  Matrixx autocode generated programs.
	* rtai-lab/matrixx/rtai.tpl: reworked for RTAI-Lab existing template 
	  file in Matrixx.
	* rtai-lab/matrixx/sa_utils.*: reworked corresponding existing files
	  in Matrixx for better interoperability within RTAI-Lab.
	* rtai-lab/matrixx/devices: Matrixx UCBs for RTAI-Lab scopes and logs.
	* rtai-lab/matrixx/examples: a couple of examples to demonstrate
	  Matrixx working with RTAI-Lab.

2006-12-21  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* rtai-lab/matrixx/vxwoks-wrappers: utility headers to allow an easy
	  modification of Matrixx templates, without too much retyping.

2006-12-21  Pierangelo Masarati <masarati@aero.polimi.it>

	* rtai-lab/matrixx/mxp.*: support services for Matrixx parameters 
	  naming, setting and getting on the fly through RTAI-Lab.
	* rtai-lab/matrixx/Makefile: first draft for the making of an 
	  application.

2006-12-21  Pierangelo Masarati <masarati@aero.polimi.it>

	* making support for Matrixx committed to CVS, in rtai-lab/matrixx.

2006-12-18 RTAI-3.4 closure version released, 3.5 begins in VULCANO.

2006-12-18  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/scilab/macros/RTAI/rtai_fifo.sci: Added for 
	compatibility with old versions.

2006-12-18  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_tasklets.h, base/include/rtai_wd.h,
	  base/include/rtai_signal.h,
	  base/tasklets/tasklets.c, base/tasklets/signal.c,
	  base/wd/wd.c: all changed to allow using Linux with REGPARM enabled.
	* base/include/rtai_schedcore and base/sched/sched.c: try to avoid 
	  useless reschedules when changing the priority of a ready task.

2006-12-17  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/scilab/devices/olddevices.c: extract the COMEDI functions.
	* /rtai-lab/scilab/devices/old_comedi.c: Compatibility with old version 
	  for comedi functions.

2006-12-17  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/arch/i386/hal/hal.immed: added user space specific code for
	  pending linux irqs (usr_rt_pend_linux_irq).

2006-12-16  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c: set is_hard for an RTAI task being stolen from
	  Linux before calling schedule, simplified fast_schedule.

2006-12-15  Pierangelo Masarati <masarati@aero.polimi.it>

	* add support to keep Linux task priority aligned to RTAI, structure
	  the new way for setting RTNet availability, do not halt making RTAI
	  when LINUX REGPARM is set, RTAI supports it now.

2006-12-14  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/arch/i386/Kconfig: define the new way for setting RTNet 
	  availability.
	* base/ipec/netrpc/netrpc.c: use properly the new way of defining 
	  RTNet availability.

2006-12-13  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c: simplified Linux schedule tail, it can be called 
	  just within Linux so let's avoiding a useless test.

2006-12-12  Roberto Bucher <roberto.bucher@supsi.ch>

	* /addons/comedi/kcomedi-module.c: Modified the file for REGPARM.
	* /addons/comedi/rtai_comedi.h: Modified the file for REGPARM.

2006-12-12  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/scilab/devices/rtai_fifoin.c: Added block for FIFO input.
	* /rtai-lab/scilab/macros/RTAI/rtai_fifoin.sci: Added block for FIFO input.
	* /rtai-lab/scilab/devices/rtai_fifoout.c: Added block for FIFO output.
	* /rtai-lab/scilab/macros/RTAI/rtai_fifoout.sci: Added block for FIFO output.
	* /rtai-lab/scilab/macros/RTAI/RTAI-Lib.cosfi: Modified Scicos Palette.

2006-12-10  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* addons/drivers/serial/rtai_serial.h, addons/drivers/serial/serial.c,
	  addons/rtdm/module.c;
	* base/include/rtai_bits.h, base/include/rtai_fifos.h, 
	  base/include/rtai_mbx.h base/include/rtai_mq.h, 
	  base/include/rtai_msg.h, base/include/rtai_netrpc.h,
	  base/include/rtai_proxies.h, base/include/rtai_registry.h,
	  base/include/rtai_rwl.h, base/include/rtai_sched.h,
	  base/include/rtai_schedcore.h, base/include/rtai_sem.h,
	  base/include/rtai_shm.h, base/include/rtai_spl.h,
	  base/include/rtai_tbx.h;
	* base/include/asm-i386/rtai_hal.h;
	* base/ipc/bits/bits.c, base/ipc/fifos/fifos.c, base/ipc/mbx/mbx.c,
	  base/ipc/mq/mq.c, base/ipc/msg/msg.c, base/ipc/netrpc/netrpc.c,
	  base/ipc/sem/sem.c, base/ipc/shm/shm.c base/ipc/tbx/tbx.c;
	* base/sched/api.c base/sched/sched.c base/sched/sys.c: 
	  all of the aboves changed to allow using Linux with REGPARM enabled.

2006-12-09  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/asm-i386/rtai_hal.h and 
	  base/arch/i386/hal.immed: wipe unused legacy code related to 
	  UNWRAPPED_CATCH_EVENT away.
	* base/sched/sched.c: use a more meaningful klist name for going hard,
	  wipe unused legacy code related to UNWRAPPED_CATCH_EVENT away.

2006-12-07  Paolo Mantegazza <mantegazza@aero.polimi.it>

        * base/sched/sched.c: reset soft level priorities in give_back_to_linux,
	  simplify enqueuing of ready soft task on the ready list.
        * base/sched/sys.c: avoid a double test by duplicating a single line
	  in rtai_lxrt_invoke.

2006-12-06  Paolo Mantegazza <mantegazza@aero.polimi.it>

        * base/arch/i386/Kconfig: add configurable parameter to enable keeping
	  soft real time linux tasks priority aligne to RTAI.
        * base/sched/sched.c: add code to support what above.

2006-12-05  Paolo Mantegazza <mantegazza@aero.polimi.it>

        * base/sched/sched.c: added support for getting linux tasks tid, 
	  i.e. the unique one.

	* base/include/rtai_posix.h, base/include/rtai_lxrt.h: added RTAI 
	  own functions for getting linux tasks tid.

	* base/include/asm-i386/rtai_hal: make hard irq bit state tests 
	  visible everywhere, make linux irq request neutral with respect
	  to kernel changes, it is up to the user to use the right prototype.

	* base/arch/i386/hal/hal.immed.c: changes to comply to the latest 
	  hal patches and Linux release (2.6.19).

2006-12-04  Paolo Mantegazza <mantegazza@aero.polimi.it>

        * base/ipc/bits/bits.c, base/ipc/netrpc/netrpc.c, base/ipc/sys/sys.c:
	  base/include/rtai.h, base/include/rtai_wrappers.h: avoid inclusion 
	  of linux/config.h, dismissed in 2.6.19, checked it gives no problem
	  down to 2.4.33.

	* base/include/rtai_sem.h: fix a name conflict introduced by 
	  Linux 2.6.19 (rt_mutex_init).

	* base/include/rtai_hal_names.h: comply to name changes in hal patches
	  (from 2.6.19).

        * base/ipc/fifos/fifos.c, base/ipc/shm/shm.c: avoid inclusion of 
	  linux/devfs_fs_kernel.h and linux/config.h, dismissed in 2.6.19, 
	  checked down to 2.4.33.

2006-12-04  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/matlab/rtmain.c: Changed the macro TASKPERIOD
	to TASKDURATION.

2006-12-04  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/scilab/rtmain.c: Changed the macro TASKPERIOD
	to TASKDURATION.

2006-12-04  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/scilab/macros/RTAI/RT_templates: renamed
	stdalone.cmd to standalone.cmd.

2006-11-30  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/scilab/macros/RTAI/RT_templates: Added the gen 
	file for the original INRIA standalone code generation.

2006-11-30  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/scilab/macros/RTAI/RTAICodeGen_.sci: Added the 
	possibility 	have the target files in a local directory (to be 
	specified as TARGET_DIR 	in the .scilab file.

2006-11-30  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/scilab/rtmain.c: Implemented the structure to 
	measure the 	task duration. This measure must be activated 
	by adding by hand a new 	compilation flag (-DTASKPERIOD) to 
	the compilation flags. The variable RTTSKper contains the task 
	duration and can be elaborated by a scicos 	block.

2006-11-30  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/matlab/rtmain.c: Implemented the structure to 
	measure the task duration. This measure must be activated 
	by adding by hand a new 	compilation flag (-DTASKPERIOD) to 
	the compilation flags. The variable RTTSKper contains the task 
	duration and can be elaborated by a S-Function.

2006-11-22  Emanuele Monari <emonari@system-group.it>

	* /base/ipc/msg/msg.c: fixes incongruences in documentation.
	
2006-11-20  Paul Corner <paul_c@tuxcnc.org>

        * /base/scripts/rtai-load.in: use INT in place of SIGINT, should be
	  more general and portable.
	
2006-11-10  Paolo Mantegazza <mantegazza@aero.polimi.it>

        * /base/ipc/netrpc.c: do label current (current->comm) if the hard 
	  stub is an RTAI own kernel task.

2006-11-09  Paulo Stein <stein@cepel.br>

        * /base/include/rtai_posix.h: for kernel space: fixed an improper
          use of "pshared" in sem_init and redefined a lost MAX_PRIO macro
          again.

2006-11-08  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/scilab/macros/RTAI/RTAI-Lib.cosf: Changed the path 
	saved in the file (probably not necessary...)

2006-11-08  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /addons/rtdm/module.c: added smp_mb() at the end of
	  xnintr_synchronize to avoid computer locks at irq
	  detach when shared irqs are enabled.

2006-11-07  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /include/rtai_sched.h: extended error codes to include netrpc timeout.

2006-11-07  Pierangelo Masarati <masarati@aero.polimi.it>

	* configure.in: allow to configure RTAI_DIAG_TSC_SYNC,
	  RTAI_MASTER_TSC_CPU and RTAI_TUNE_TSC_SYNC

2006-11-06  Pierangelo Masarati <masarati@aero.polimi.it>

	* configure.in: allow to configure RTAI_RTDM_EDGE_SHIRQ,
	  RTAI_RTDM_LEVEL_SHIRQ and RTAI_DEBUG_RTDM;
	  refresh of all build files

2006-11-05  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /addons/rtdm/* and /addons/drivers/16550.c: aligned to the latest.
	* /base/ipc/shm/shm.c: use TSKEXT1, properly restoring it after being 
	  used, in place of TSKEXT3 for mapping to user space.
	* /base/include/rtai_hal_names.h: added #error check for TSKEXTs, to
	  avoid memory leaks in case hal patches change the related sizing;
	  reworked hal_schedule_back_root stuff for proper use of "prev", as
	  set from within "context_switch".

2006-11-04  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /base/include/rtai_hal_names.h: check task extensions (through macro
	   TSKEXT0) to avoid memory leaks in case of hal patches changing of 
	   what set in Linux task struct.

2006-11-02  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /base/arch/i386/hal/hal.immed: use existing hal-linux support for 
	  changing Linux real time scheduling policy and rt_priority for 
	  2.6.xx.

2006-11-01  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /base/include/rtai_hal_names.h,
	* /base/include/asm-i386/rtai_hal.h: adapted to the new definition of 
	  hal domains through Linux per_cpu stuff.

2006-10-27  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/scilab/devices/*.c: function getstr changed to
	par_getstr (conflict with a Scilab function). Thanks to
	Simone Mannori.

2006-10-26  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/scilab/macros/RTAI/rtai4_comedi_datain.sci: Corrected
	bug by passing block parameters. Thanks to Simone Mannori.

2006-10-20  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/matlab/rtmain.c: Added a hiddean feature to measure the
	task duration using a compiler flag "-DTASKPERIOD=<fifo nr>.

2006-10-20  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/scilab/rtmain.c: Added a hiddean feature to measure the
	task duration using a compiler flag "-DTASKPERIOD=<fifo nr>.

2006-10-05  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /base/sched/sched.c: do not return hard immediately if a signal is 
	  pending after a Linux syscall made in hard mode, use the final part
	  of Linux return processing by returning -1.

2006-10-04  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/scilab/macros/RTAI/RTAI-Lib.cosf: Corrected the absolute
	  path contained in the palette.

2006-10-04  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/scilab/rtmain.c: Better handling of the Ctrl-C signals 
	  on certain systems.

2006-10-04  Roberto Bucher <roberto.bucher@supsi.ch>

	* /rtai-lab/matlab/rtmain.c: Restored the previous mechanisms to
	synchronize the tasks.

2006-09-28  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /base/ipc/sem.c: check broadcasted task handle to keep the lazy
	   atomicity safe.

2006-09-27  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /base/ipc/fifos.c: fixed atomic rtf_get_if, it called the internal 
	  support for rtf_put_if.

2006-09-26  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /base/arch/i386/Kconfig: add configuration for TSC diagnose and
	  synchronisation.
	* /base/include/asm-i386/rtai_hal.h:
	* /base/arch/i386/hal/hal.c, hal.immed: use confugiration parameters
	  for TSC synchronisation.

2006-09-25  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /base/include/asm-i386/rtai_hal.h:
	* /base/arch/i386/hal/hal.c, hal.immed: diagnose of TSCs offsets,
	   though hal proc display, a possible correction already in place.

2006-09-19  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /base/include/rtai_posix.h: push a cleanup function to decrement
	  the mated mutex usage count when a waiting condvar is destroyed.

2006-09-18 RTAI-3.4 released.

2006-09-14  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /base/tasklets/tasklets.c: update the actual time by reading the
	  timer, postpone actual priority assignment when it is sure it will
	  be used (avoids spurious preemptions), do not let the idle sleep 
	  priority to go below the (user assignable) default threshold.

2006-09-12  Mathias Koehrer <mathias_koehrer@arcor.de>
	    Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /base/ipc/sem/sem.c: appropriately test suspension of delation of
	  a task owning a resource semaphore by using the due macro.
	* /base/sched/sched.c: use the due macro to set suspension of delation 
	  of a task owning a resource semaphore.

2006-09-12  Mathias Koehrer <mathias_koehrer@arcor.de>

	* /testsuite/user/preempt/preemt.c.c: use a volatile to suite stricter 
	  optimization needs for gcc-4.1.3.

2006-09-10  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/tasklets/tasklets.c: create per cpu timers manager at the 
	  highest priority, but make available the related value as a 
	  module parameter.

2006-09-06  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/ipc/mbx/mbx.c: always signal sems on error returns from 
	  mbx_wait and mbx_wait_until, to allow reuse of the mailbox on
	  restarting from signals.

2006-09-03  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/ipc/mq/mq.c: modified cond_var usage, with a simpler internal, 
	  there is no need for a true cond_wait behaviour.

2006-09-02  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/ipc/sem/sem.c: deleted useless count keeping in cond_wait 
	  functions.
	* base/include/rtai_pmq.c: added to substitute rtai_mq.h to return 
	  error values as required by POSIX.

2006-08-31  Roberto Bucher <roberto.bucher@supsi.ch>
2006-08-31  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/ipc/msg/msg.c: fixed a wrong check of proxy address in case 
	  of abnormal return.

2006-08-31  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_prinher.h: added macros to ascertain resources 
	  ownership accordingly to the configured priority inheritance mode.
	* base/sched/sched.c, api.c: use due macros to ascertain resuorces 
	  ownership whatever the configured priority inheritance mode.

2006-08-30  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c: do not care Linux priorities when waking up a 
	  SCHED_NORMAL soft real time task, for users doing it on their own.
	* base/sched/api.c, sys.c: ensure that soft priority and policy of a 
	  linux syscall servers are aligned with those of its master.
	* base/sched/api.c: revised rt_change_prio.
	* base/include/rtai_schedcore.h: revised pass_prio.
	  An almost common layout for both of the aboves.

2006-08-29  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c: check priority and base priority independently
	  when setting/recovering soft values in transitioning hard/soft/hard.
	* base/ipc/msg.c: rt_receive_if on blocked send made as its non if
	  conterpart, the priority recovery was missing.

2006-08-28  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* addons/drivers/166550: updated to the latest.
	* addons/rtdm: updated to the latest.

2006-08-27  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/ipc/sem/sem.c: ensure priority inheritance also for RES_SEM 
	  of restype RESEM_BINSEM, it was forgotten. 

2006-08-26  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/api.c: added function to get priority and base_priority,
	  all at once.
	* base/include/rtai_lxrt.h and rtai_sched.h: added declarations to
	  support what above.

2006-08-25  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sys.c: set the state of a newly RTAI enabled user space 
	  task to 0 in __task_init. Otherwise there could be cases in which 
	  other tasks can infer a wrong status. Discovered so lately likely 
	  because such a condition comes "by nature" if the new task uses 
	  an RTAI service before other tasks interfere with its state. 

2006-08-24  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* addons/rtdm/rtdm_driver.h: make timeout < 0 mean rt_sem_wait_if in
	  _sem_wait_timed.

2006-08-16  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/scilab/rtmain.c: Reinserted rt_send
	* rtai-lab/matlab/rtmain.c: Reinserted rt_send

2006-08-14  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_posix.h: more posix compliant return in rwloc
	  unlock.
	* base/ipc/sem/sem.c: check semtype, not only owndby, when resetting 
	  prios at wake up in sem_waits; signal wrlock only if owned and 
	  return RTE_EPERM in rt_rwl_unlock if called without anything to do.

2006-08-13  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/matlab/rtmain.c: Replaced send/receive for synchronisation
	between rtBaseRate and rtMain with a semaphore (thanks to G. Palli).

2006-08-13  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/scilab/: Changed most of the file because of the new Code 
	generator (Universal Code generator) and porting of the Scicos functions 
	from type "2004" to type "4". The new scicos block interfaces have the 
	name rtai4_xxxxxxxx. The old one (rtai_xxxxxx) are still provided for
	compatibility with old block diagrams.

2006-08-12  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_posix.h: better enforce cancellation points
	  in sems and conds wait.

2006-08-10  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_posix.h: further enhance adherence to the
	  standard for spin locks.

2006-08-07  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sys.c: rework LXRT rwl_init to take into account its
	  type.
	* base/ipc/sem.c: manage "restype" (recursive, ewrrorcheck, normal).
	  Transform rt_rwl_init to rt_typed_rwl_init, to allow typed 
	  rwlockers. Full backward compatibility kept for all.


2006-08-06  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_sem.h: add "restype" to the RTAI semaphore
	  structure.
	* base/include/rtai_types.h: add "restype" macros.
	* base/include/rtai_rwl.h: changes declarations and users space call
	  of rt_rwl_init to rt_typed_rwl_init; rt_rwl_init compatibility 
	  kept through a macro.
	* base/include/rtai_posix.h: further enhance adherence to the
	  standard.

2006-08-05  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_sched.h,rtai_sem.h,rtai_types.h: macros and 
	  declarations extensions to support non recursive RES_SEMs types 
	  also.

2006-08-04  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_posix.h: revised user space posix interface 
	  (see the many tests in showroom).
	* base/ipc/sem.c: fix wrong return value in rt_rwl_delete.
	* base/sched/sys.c: extend use of __task_init to move user space 
	  tasks to a cpus_allowed.

2006-08-01  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/ipc/sem.c: do not let unlocking of RES_SEM, either by non 
	  owner or by owner if unlocked already; reset recursion depth only 
	  for RES_SEM in rt_cndmtx_signal; reorder return values in cond_wait 
	  and cond_wait_until.

2006-07-31  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/scilab/: Changed most of the file because of the new Code 
	generator (Universal Code generator) and porting of the Scicos functions 
	from type "2004" to type "4". The new scicos block interfaces have the 
	name rtai4_xxxxxxxx. The old one (rtai_xxxxxx) are still provided for
	compatibility with old block diagrams.

2006-07-31  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sys.c: __task_init returns immediately the available 
	  task extension if already set.
	* base/ipc/sem.c: barrier returns mark the unleashing task and 
	  unlished tasks with different values; typed named semphore 
	  initialization tell if it existed already.
	* base/include/rtai_sem.h, rtai_posix.h: declarations of typed named
	  semaphores redifined according to the new prototype.
	* base/include/rtai_sched.h: add permission error definition.

2006-07-23  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_posix: added a few APIs related to timing
	  functions to improve plain POSIX compatibility (see posix user 
	  examples in showroom, new sem_clock added also).

2006-07-18  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_posix.h: adapted to the new --posix-wrap making,
	  that allows to use standard Posix APIs names for what RTAI supports.

2006-07-17  Pierangelo Masarati <masarati@aero.polimi.it>

	* add --posix-wrap support to rtai-config, so that it is possible to
	  use supported plain Posix APIs names, i.e. without the need of
	  postpending "_rt".
	* add new /base/posix directory and POSIX_WRAPS support file.

2006-07-12  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/asm/rtai_shm: simplified by avoiding useless 
	  assignements.
	* base/ipc/shm.c: modified mapping of v/k-malloced shared memory to
	  use the latest for > 2.6.14, found in Linux (drivers/media/video).

2006-07-08  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_tasklets.h, base/ipc/sem/sem.c, base/sched/api.c:
	  cleaned faky/misleading documentation comments.

2006-07-07  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c: revised all "stop_rt_timer", to remove 
	  forgotten dead code; ensure period is zero in "start_rt_timer"
	  when oneshot mode is assigned at starting the timer.

2006-07-05  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/asm-i386/rtai_hal.h: declare support structure for
	  interrupts handling here.
	* base/arch/i386/hal/hal.immed and base/sched/api.c: remove redundant 
	  local declarations of support structure for interrupts handling and 
	  use the one defined in arch specific rtai_hal.h.

2006-06-28  Matthijs ten Berge <m.h.tenberge@alumnus.utwente.nl>

	* base/include/rtai_lxrt.h: use vsnprintf in place of vsprintf
	  to guard against possible memory leaks.

2006-06-26 RTAI-3.4-test1 released.

2006-06-23  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_schedcore.h: added common support for linux 
	  syscalls from hard real time, according to the setting of the
	  new parameter CONFIG_RTAI_IMMEDIATE_LINUX_SYSCALL.
	* base/include/asm-i386/rtai_lxrt.h: removed i386 specific support 
	  for linux syscalls from hard real time.

2006-06-23  Pierangelo Masarati <masarati@aero.polimi.it>

	* default of RTAI_SCHED_LXRT_NUMSLOTS set to 150
	* added check for syntax compliance of RTAI_RTDM_FD_MAX
	* added configure/Kconfig support for RTAI_IMMEDIATE_LINUX_SYSCALL

2006-06-22  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_wrappers.h: added support to use the newer
	module param declarations keeping them conpatible with 2.4.xx.
	* what above propagated to the all files needing it.
	* base/include/asm-i386/rtai_atomic.h: revised for a better
	  consistency.
	* what above propagated to the all files needing it.

2006-06-18  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/api.c: ensure full look ahead in finding hashed 
	  names/adres when there are search collisions.

2006-06-17  Paolo Mantegazza <mantegazza@aero.polimi.it>

        * base/include/rtai_hal_names.h: define the fourth task extension,
	  i.e. TSKEXT3.
        * base/ipc/shm.c: use TSKEXT3 to keep the link for mmapping a user
	  space allocated shared memory.

2006-06-16  Pierangelo Masarati <masarati@aero.polimi.it>

	* beginning of RTAI 3.4 release process.

2006-06-15  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/ipc/fifos.c: use a module parm to decide if an LXRT extension 
	  should be created or not.

2006-06-11  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/api.c: fixed the test to reposition a blocked task in a 
	  prioq after a priority change.

2006-06-10  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* addons/drivers/serial/rtai_serial.h: stricter typing in struct
	  supporting the call to callback function management.

2006-06-09  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c: adjust priorities for RTAI tasks going hard,
	  in steal_from_linux, before they are stolen from Linux.

2006-06-02  Pierangelo Masarati <masarati@aero.polimi.it>

	* added RTDM_FD_MAX as Kconfig parameter

2006-06-01  Pierangelo Masarati <masarati@aero.polimi.it>

	* Cleanup suggested by Paul <paul_c AT tuxcnc DOT org>
	  (mostly GNUmakefile.am install paths; silence warnings;
	  add #!bin/sh to scripts and so).

2006-05-31  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sys.c: safer return to user space of what returned by 
	  rt_gettimeorig.

2006-05-30  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/api.c: fixed wrong priority changed, that did not allow
	  less prioritary changes.

2006-05-23  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* addons/rtdm/rtdm_driver.h: fixed wrong test in 
	  rtdm_strncpy_from_user.

2006-05-23  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* testsuite/user/switches/switches.c and 
	* testsuite/kern/switches/switches.c: added taskswitching time 
	  measures for intertask rpc/receive/return.

2006-05-14  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/arch/i386/hal/hal.immed: make available module parms for 
	  either printing or not fpu init/trap warnings, default is no.

2006-05-11  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_lxrt.h: fixed unused stack allocation when 
	  rt_thread_create, user space only, uses clone.
	* base/arch/i386/Kconfig: present direct vectoring and scheduling 
	  configuration options unconditionally.

2006-05-08  Bernd Gassmann <gassmann@fzi.de>

	* base/sched/sched.c: export switch_time for independent use, but 
	  only if execution time monitoring is configured.

2006-05-08  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/scilab/rtmain.c: Fit new xrtailab with automatic Log.

2006-05-07  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/matlab/setup.m: Automatically compile the C-Mex S-Function.
	Thanks to Arno and Giampy.

2006-05-05  Bernd Gassmann <gassmann@fzi.de>

	* base/include/rtai_sched.h: add declaration of periodic_resume_time
	  in task structure.
	* base/sched/api.c and sched.c: keep an independent resume time in
	  all functions involved in periodic tasks scheduling.

2006-05-04  Bernd Gassmann <gassmann@fzi.de>

	* base/ipc/sem/sem.c: fix possible deadlock conditions in 
	  rt_rwl_unlock.

2006-05-04  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/scilab/devices: request_port substituted by request_port_id 
	  in sem and mbx files.

2006-05-04  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/scilab/macros/RTAI/RTAICodeGeneration_.sci: Solved problem
	  with "_" in model name.
	* rtai-lab/scilab/macros/RTAI/rtai_mbx_rcv_if.sci: Changed default 
	  values in parameter dialog.
	* rtai-lab/scilab/macros/RTAI/rtai_mbx_rcv.sci: Changed default values
	  in parameter dialog.
	* rtai-lab/scilab/macros/RTAI/rtai_sem_wait.sci: Changed default values
	  in parameter dialog.

2006-05-01  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_schedcore.h: changed test for priority passed 
	  to a task further blocked either on sems or intertask messages.

2006-04-27  Alberto Sechi <albertosechi@libero.it>
	
	* /rtai-lab/Fl_Scope_Window.cpp, /rtai-lab/Fl_Meter_Window.cpp
	  /rtai-lab/Fl_Synch_Window.cpp, /rtai-lab/Fl_Led_Window.cpp, 
	  /rtai-lab/Fl_Params_Manager.cpp: adjusting of windows dimensions
	  after profiles loading
	* /rtai-lab/matlab/rtmain.c: max comedi devices changed to 10

2006-04-27  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/arch/i386/hal/hal.immed, rtc.c: no need to use atomic bit 
	  setting on return from interrupt handling/dispatching.
	* base/ipc/mbx/mabx.c: safer direct acquisition of acces semaphores 
	  in all nonblocking send/receive.

2006-04-25  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/scilab/devices: request_port_id substituted by request_port 
	  in sem and mbx files.

2006-04-24  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_netrpc.h: deleted useless argument from the call 
	  list of named sem/mbx inniting.

2006-04-19  Alberto Sechi <sechi@aero.polimi.it>

	* addons/comedi/rtai_comedi.h, Kcomedi-module.c: added
	  comedi_data_read_delayed() support.

2006-04-18  Pierangelo Masarati <masarati@aero.polimi.it>
	* base/sched/GNUmakefile.am: reworked scheduler build; only
	  build rtai_sched and rtai_lxrt, create symlinks to legacy
	  schedulers.

2006-04-17  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c: reordered the test for searching the next 
	  oneshot firing, to avoid useless searches.

2006-04-15  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/asm-i386/rtai_hal.h: revised support for switching 
	  back-forth Linux.
	* base/arch/i386/hal/hal.immed, rtc.c: use new switching back-forth 
	  Linux, when Linux locking is set directly from real time interrupts
	  handling;
	* base/sched/sched.c: use new switching back-forth Linux.

2006-04-15  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* addons/rtdm/core.c, core.h, module.c, proc.c: updated to the latest.

2006-04-12  Alberto Sechi  <sechi@aero.polimi.it>

	* base/iarch/i386/calibration/smi-module.c: added missing
	  rthal_smi_disable before return in smi initting.

2006-04-10  Jan Kiszka  <jan.kiszka@web.de>

	* addons/drivers/16550A/16550A.c: Fix leaking lock in 
	  rt_16550_read().

2006-04-10  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/arch/i386/hal/hal.immed: deferred scheduling in interrupt
	  handlers (if configured) wraps Linux locking.
	* base/sched/sched.c: do not call rt_schedule if locked in deferred
	  suspend.

2006-04-07  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* drivers/16550A/16550A.c: updated to the latest.
	* rtdm/core.c, rtdm/device.c, rtdm/device.h, rtdm/drvlib.c,
	  rtdm/module.c, rtdm/proc.c, rtdm/rtdm_driver.h, rtdm/xn.h,
	  rtserial.h: updated to the latest.

2006-04-05  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_sched.h: added self suspend state.
	* base/sched/api.c: defer non self suspending to the scheduling
	  functions.
	* base/sched/sched.c: care of rescheduling deferred suspends.

2006-03-30  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_wd.h: added user space extension declarations.
	* base/wd/wd.c: added entries table for user space.
	* README.LXRT_EXT_IN_USE: added info about the watchdog extension.

2006-03-27  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_tasklet.h: care of forcing to soft a hard task
	  initting a tasklet/timer. 
	* base/sched/sys.c: allow NULL for checking soft/hard real time mode 
	  of the current task.

2006-03-22  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/arch/i386/hal/hal.immed: allow changing the default irq ack.
	* base/arch/i386/Kconfig: added configuration and helper for the new 
	  error returns of blocking functions.
	* base/include/rtai_bits.h, rtai_msg.h, rtai_sched.h, rtai_sem.h,
	  rtai_schedcore.h: defines and cleanups to support configuring 
	  return errors, chosing between the legacy and new scheme.
	* base/sched/api.c: new configurable error returns and revision of 
	  suspend services.
	* base/sched/sys.c: new configurable error returns and revision of 
	  the LXRT function calls layout.
	* base/sched/sched.c: new configurable error returns support.
	* base/ipc/bits/bits.c, ipc/mbx/mbx.c, ipc/msg/msg.c, ipc/sem/sem.c,
	  ipc/netrpc/netrpc.c, base/ipc/tbx/tbx.c: new configurable error 
	  returns.

2006-03-21  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include-i386/asm/rtai_hal.h: added declarations to support 
	  simple acks for the 8259A PIC.
	* base/arch/i386/hal/hal.immed: added support for simple acks for 
	  the 8259A PIC
	* base/arch/i386/patches/hal-linux-2.6.15-i386-1.2-01.patch, 
	  hal-linux-2.6.14-i386-1.1-02.patch,
	  hal-linux-2.4.32-i386-1.1-01.patch: export i8259 spinlock.

2006-03-20  Jan Kiszka  <kiszka@rts.uni-hannover.de>

	* addons/rtdm/drvlib.c: fixed incongruencies in sleep and sleep_until
	  services.

2006-03-17  Albert Veli A <Albert.Veli@afconsult.com>

	* base/include/rtai_wrappers.h: wrapping macros to support sysfs in
	  RTAI fifos.c
	* base/ipc/fifos/fifos.c: support sysfs to avoid redifining fifos devs
	  at each reboot.

2006-03-17  Roberto Bucher <roberto.bucher@supsi.ch>

	* rtai-lab/*: Introduced some nice new features from Peter Brier.
	* rtai-lab/scilab/*: Substituted the general structure "devstruct" 
	  with a specific struct for each scicos block.

2006-03-07  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_prinher.h: inlines to support full priority
	  inheritance and dynamic ceiling.
	* base/include/rtai_sem.h, rtai_sched.h: added queue element for
	  resources queue.
	* base/arch/i386/Kconfig: added parameter to configure either
	  priority inheritance or ceiling.
	* base/sched/sched.c: added res queue initialisations.
	* base/ipc/sem/sem.c: support priority inheritance/ceiling.
	* base/ipc/msg/msg.c: support priority inheritance/ceiling.
	* base/ipc/mbx/mbx.c: revised and semplified.
	* base/ipc/netrpc/netrpc.c: revised the async mbx use as for mbx.c.

2006-02-22  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/arch/i386/calibration/calibrate-module.c, calibrate.c and
	  calibrate.h: added in kernel calibration for both RTAI own tasks 
	  and hardened kthreads.
	* base/arch/i386/calibration/runinfo: use ksched always, i.e. the
	  overall RTAI scheduler.

2006-02-21  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_sanity.h: gcc-4.x.x is allowed now.
	* base/include/rtai_schedcore.h and base/include/asm-i386/rtai_hal.h:
	  cleared volatiles in inlined functions declaration to avoid gcc-4 
	  warnings.
	* base/include/asm-i386/rtai_lxrt.h: macros for copy_to/from reworked
	  to avoid gcc-4 warnings.
	* base/ipc/fifos/fifos.c, base/ipc/mq/mq.c and base/ipc/msg/msg.c:
	  use copy_from/to macros found in base/include/asm-i386/rtai_lxrt.h 
	  to avoid gcc-4 warnings.

2006-02-19  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* addons/rtdm/drvlib.c and rtdm_drvlib.h: aligned to the latest.

2006-02-17  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c: WAKE_UP_TASKs macro takes care of keeping Linux
	  and RTAI task rt_priority consistently. It affects give_back_to_linux
	  also. For the moment optionally settable with the hidden internal
	  macro: NEW_WAKE_UP_TASKs.

2006-02-11  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_tasklets.h and base/tasklets/tasklets.c: added per
	  cpu timers managers and lists for better MP scalability.
	* base/sched/sched.c: force suspension of released kthreads even if 
	  they own resources, this makes them behave as RTAI own kernel tasks.

2006-02-08  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* doc/doxygen/*.dox: everything revised or rewritten.

2006-02-03 RTAI-3.3 released.

2006-02-01  Roberto Bucher  <roberto.bucher@supsi.ch>

	* rtai-lab/scilab/macros/RTAI/RT_templates/rtai.mak: Added flag
          "-D_GNU_SOURCE" to CFLAGS.
	* rtai-lab/matlab/rtai.tmf: Added flag "-D_GNU_SOURCE" to CFLAGS.
	* rtai-lab/scilab/macros/RTAI/rtai_step: Eliminated an unused variable

2005-01-31  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c: exploit anticipating preemption disable when
	  stealing from Linux to transition to hard real time, if available.

2005-01-16  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/arch/i386/Kconfig: some layout reordering, tasklets help
	  scripts extended to explain signals.
	* base/include/rtai_signal.h: header for the new added support of
	  async signals.
	* base/tasklets/signal.c: new added support for async signals,
	  kernel/user space alike.

2005-01-14  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/api.c: return the registration count when a named and 
	  counted object is deregistered; before this fix the registration
	  index was returned (N.B.: error introduced with the new hashed
	  registration).

2005-01-13  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_usi.h: coded atomic_cmpxchg specifically for
	  user space, it helps C++.

2005-01-13  Bernd Suessmilch <Bernd.Suessmilch@uibk.ac.at>

	* testsuite/user/switches/switch.c: fixed a misplaced sem creation.

2005-01-08  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/asm-i386/rtai_atomic.h: modified to solve the name
	  conflict generated by the adoption of the "atomic_cmpxchg" define
	  by Linux-2.6.15 also.

2005-01-05  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c: care of the timer type when checking LATCH 
	  at starting the UP periodic timer.

2005-01-04  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/asm-i386/rtai_lxrt.h   and 
	* base/include/asm-x86_64/rtai_lxrt.h and
	* base/sched/sched.c: make using immediate syscalls in hard/soft 
	  switches arch dependent.

2005-01-03  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_tasklets.h, rtai_sched.h, rtai_types.h: redefined
	  types to support long timed list for both 2.4.xx and 2.6.xx. The
	  previous layout broke C++ usage for the use of "new" in a Linux
	  header (remarked by Roberto Bucher).
	* base/addons/rtdm/core.c, device.c: aligned to the latest.
	* base/addons/drivers/16550A/16550A.c: better types for a few
	  declarations.
	* base/sched/sched.c: cpu assignment should care of long timed lists;
	  force oneshot mode if period is zero.

2005-01-03  Roberto Bucher  <roberto.bucher@supsi.ch>

        * rtai-lab/scilab/macros/RTAI/rtai_square.sci: Solved problem with "bias".

2005-01-01  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_tasklets.h: separate but consistent definitions
	  of the tasklet structure in kernel and user space, to avoid problems
	  with long timed lists types.
	* base/include/rtai_sched.h, rtai_types.h: moved types definitions
	  for long timed lists from types.h to sched.h.
	* base/include/rtai_schedcore.h: simplified inlines for timed lists
	  management, unifying as far as possible.
	* base/tasklets/tasklets.c: simplified inlines for timed lists
	  management, unifying as far as possible.
	* base/sched/sched.c: enforce oneshot timer mode when a zero period
	  is passed to start_rt_timer.

2005-12-29  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/include/rtai_tasklets.h: extended to support binary tree
	  for long timed lists.
        * base/tasklet/tasklets.c: extended to support binary tree ordering 
	  for long timed lists.

2005-12-28  Paolo Mantegazza <mantegazza@aero.polimi.it>

        * base/arch/i386/Kconfig: added new config parameters for rtc and 
	  long timed lists.
	* base/arch/i386/hal/hal.immed: care of external pic in setting
	  gates for direct vectoring of interrupts.
	* base/arch/i386/hal/rtc.c: added dispatch/dontdispatch support
	  to use the RTC as a periodic timer for RTAI schedulers.
	* base/include/rtai_schedcore.h: extended to support binary tree
	  ordering for long timed lists.
	* base/include/asm-i386/rtai_lxrt.h: added definitions for using
	  the RTC.
	* base/sched/sched.c: split plain soft hard/soft transitions
	  wakeups; added starting/stopping of RTC timers.

2005-12-22  Marco Morandini  <morandini@aero.polimi.it>

        * addons/rtdm/*: RTAI based RTDM support verified against all of 
	  the RTAI examples available within the latest RTNet SVN. This 
	  completes base RTDM testing, that has been already verified to 
	  work also with RTDM based 16550A.

2005-12-22  Roberto Bucher  <roberto.bucher@supsi.ch>

        * rtai-lab/matlab/rtmain.c: Applied patch from Marco Romagnoli and
	  modification from Paolo Mantegazza.

2005-12-22  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* addons/rtdm/module.c: all functions made 0 type, RTDM cares to
	  act according to hard/soft mode appropriately (Jan sweared it).
	* base/sched/sys.c: add recovery of hard mode also before direct 
	  LXRT calls.

2005-12-20  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c: in oneshot mode read the interrupt time 
	  immediately and just once upon entering the timer_handler.

2005-12-20  Bernd Suessmilch <Bernd.Suessmilch@uibk.ac.at>

	* Kconfig/configure.in:
	   configuration support for using Linux syscall within LXRT

2005-12-20  Pierangelo Masarati <masarati@aero.polimi.it>

	* configure.in:
	   reworked scheduler configuration to note that there are only
	   two schedulers, and they must always be enabled

2005-12-19  Pierangelo Masarati <masarati@aero.polimi.it>

	* base/arch/i386/calibration/setsmi.in:
	   added scripts to set/reset the smi calibration module

2005-12-16  Bernd Suessmilch <Bernd.Suessmilch@uibk.ac.at>

	* /base/arch/i386/patches/hal-linux-2.4.32-i386-1.0-00.patch: fixed 
	   a missing header files in include/linux/ipipe.h that breaks 
	   Linux making when ipipe statistics are collected.

2005-12-16  Marcel Groothuis <marcelg-rtai@scintilla.utwente.nl>

	* /base/include/rtai_tasklets.h: fixed type clashes in tighter
	  C++ checks.

2005-12-15  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /base/sched/sched.c: in 2.4.xx SMP reuse the old way of waking
	   up tasks going soft by using the RTAI threads manager (thread_m).

2005-12-12  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /base/sched/sched.c and sys.c: kernel versions dependence for
	   2.4.xx split at 2.4.32 now.
	* /base/arch/i386/hal/hal.immed: as above.

2005-12-10  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /base/sched/sched.c: added a missing test on the CPU to run a task 
	  on for UP in start_stop_kthread.

2005-12-08  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /base/sched/sched.c: avoid stopping hard timers if not running yet.

2005-12-04  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /base/sched/sched.c: added inquiries for hard timer tick count.
	* /base/include/rtai_sched.h and rtai_lxrt.h: added declaration for
	  inquiries of hard timer tick count.

2005-11-28  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /addons/fusion/skins/rtdm/module.c: force deferred rescheduling
	  from within RTDM interrupt handlers. They are unsuitable for
	  immediate mode.

2005-11-23  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* /addons/fusion/drivers/16550A: 16550A.c fixed a likely bug in
	  config setting (this could turn to just a reminder for something 
	  else).
	* /addons/fusion/skins/rtdm/rtdm_driver.h: simplified useless code
	  for absolute timeouts.
	* /addons/fusion/skins/rtdm/xn.h: use RTAI proper kernel lock in
	  place of nklock; needed for events to be atomic with their own
	  sem calls.

2005-11-22  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/sched/sched.c and api.c: added a generic support for RTC 
	  interrupts from user space, to allow having an easy to use hard
	  periodic timer for many useful things.

2005-11-21  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* base/addons/fusion/*: updated to the latest.
	* base/addons/fusion/skins/rtdm: reworked RTAI support, user space
	  syscalls make an LXRT extension and coded as usual.

2005-11-07  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* added rtai_fusion.h to support some basic FUSION stuff needed by
	  RTAI_TRIOSS avoiding name clashes. As a side note RTAI_TRIOSS has
 	  demonstrated to work in a not so trivial integration test using 
	  native FUSION, RTDM and, naturally, RTAI.

2005-11-06  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* added support for RTC clock.

2005-11-04  Paolo Mantegazza <mantegazza@aero.polimi.it>

	* overall update to support RTAI duo and trio operating modes.

2005-10-11  Pierangelo Masarati <masarati@aero.polimi.it>

	* fix configure.in to auto-detect RTAI HAL (old/newgen)
	  to be used.

2005-10-09  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* overall update to support both ipipe and adeos. Details will follow
	  after testing on more than a single machine. Configure file to be
	  fixed ASAP. Ipipe patch for linux2.6.13 will follow after more
	  testing changes for RTAI.

2005-09-25  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/include/asm-i386/rtai_hal.h: added conditional support for 
	  x86 task priority registers: in switching back and forth Linux, 
	  inline and macro for anything a user might want to do on her/his
	  own, utility to initialise high irqs Linux does not know; requires
	  local APIC.
	* base/arch/i386/hal/hal.*: uses taskpri when enabled.
	* base/sched/sched.c: uses taskpri when enabled.

2005-09-06  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/sched/sched.c: changed oneshot programming to improve 
	  latencies for relatively long time span firings with uncalibrated 
	  frequencies, by introducing sub time steps also when the APIC 
	  timer is used.
	* base/include/asm-i386/rtai_lxrt.h: changed value of the 
	  ONESHOT_SPAN macro to support what above.

2005-09-01  Pierangelo Masarati <masarati@aero.polimi.it>

        * addons/fusion/*: first import of rtdm support

2005-09-01  Paolo Mantegazza  <mantegazza@aero.polimi.it>

        * base/sched/sched.c: modified startup of RTAI proper kernel tasks.
        * base/ipc/netrpc/netrpc.c: modified local mbx_send_if specific 
	  support, used in async rpcing.

2005-08-28  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/include/rtai_netrpc.h: modified inlined calls for more across
	  archiectures consisency.
	* base/ipc/netrpc/netrpc.c: added ksocket services for architectures
	  not exporting socketcall.
	* base/ipc/shm/shm.c and base/sched/sys.c: use max_slots variable and
	  not MAX_SLOTS macro, they differ in hashed registry.
	* base/sched/api.c: added a missing loop over registered objects to be
	  released at task existing, export max_slots, clean unused code.

2005-08-26  Daniele Gasperini  <gasperin@elet.polimi.it> and
            Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/include/rtai_netrpc.h,rtai_proxies.h,rtai_sched.h,rtai_msg.h,
	  rtai_schedcore.h: argument for kernel tasks/threads passed from 
	  int to long, to countinue allowing address passing in x86_64.
	* base/sched/api.c,sched.c,sched.immed,sys.c: made to comply using
	  a long arg for kernel tasks/threads.
	* base/tasklets/tasklets.c; made to comply using a long arg for 
	  kernel tasks/threads
	* base/ipc/msg/msg.c: made to comply using a long arg for kernel
	* base/wd/wd.c: made to comply using a long arg for kernel 
	  tasks/threads

2005-08-25  Daniele Gasperini  <gasperin@elet.polimi.it> and
            Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/arch-x86_64/hal/hal.c: updated to the latest non arch dependent
	  improvments, made direct interrupt at the gate level work.
	* base/include/asm-x86_64/*.*: as above.

2005-08-24  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/ipc/bits/bits.c: changed during function execution storage
	  place of bits: fun and mask, from retval to a local stack buffer,
	  to avoid trouble with 64 bits.

2005-08-16  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* include/asm-i386/rtai_lxrt.h: got rid of the long time unused local
          copy of switch_to, everything kept only as in Linux now.
	* base/sched/sched.c: rework of hard/soft/hard transitions, to help 
          2.4.xx have them better too.
	* include/rtai_schedcore.h: modified Linux tasks pending macro to 
	  support hard/soft/hard transition changes.
	* base/arch/i386/patches: all changed with immediate indirection to
	  the RTAI hard interrupt dispatcher in hal.c; verified that 
	  improvements are a bit beyond the mere us slicing in long terms 
	  usage.
	* base/arch/i386/hal/hal.c: adapted to changed patches.

2005-08-03  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* include/asm/rtai_lxrt.h: defined rt_copy-from/to and rt_put/get (for 
	  user space data exchange) as arch dependent.
	* ipc/bits.c-mbx.c-netrpc.c-tbx.c-tasklet.c: used rt_copy-from/to, 
	  rt_put/get (for user space data exchange) defined as arch dependent 
	  in asm/rtai_lxrt.
	* base/sched/api.c: used rt_copy-from/to, rt_put/get (for user space 
	  data exchange) defined as arch dependent in asm/rtai_lxrt.
	* base/sched/sched.c: modified the way is_hard is used, 0-soft, 1-hard,
	* base/sched/sys.c: used rt_copy-from/to, rt_put/get (for user space
	  data exchange) defined as arch dependent in asm/rtai_lxrt; modified 
	  the way is_hard is used, 0-soft, 1-hard, -1-tobehard; fixed a bug in 
	  the resizing of per task intertask messaging buffers.

2005-07-27  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* include/rtai_lxrt.h: LXRT enc/decoding restructured to make room 
	  for something else.
	* base/sched/sys.c: made possible to mix different user space calls, 
	  i.e.: both RTAI specific an Linux syscalls.

2005-07-23  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* sched/sys.c: returns the pointer to the a newly initilised linux
	  syscalls server and resume the server thread.
	* sched/api.c: linux syscalls server support functions return a
	  pointer to the appropriate task.
	* sched/sched.c: reinitialise linux syscalls server at each call,
	  as returned by the linux syscall server support function in api.c,
	  so that it is not called again in case it has gone away.
	* include/rtai_sched.h: redeclare linux syscall functions to comply
	  with the above changes;
	* include/rtai_lxrt.h: modify the user part of the syscall server to
	  comply with the above changes.

2005-07-21  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* sched/api.c: fixed a wrong test in function "hash_rem_adr" that
	  caused an unconditional deletion of counted registrations also.

2005-07-15  Ignacio Garc�a P�rez <iggarpe@terra.es>

	* base/include/asm-i386/rtai_hal.immed: fixed a very bad misnaming 
	  in interrupt flags manipulating macros.

2005-07-14  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/include/asm-i386/rtai_lxrt.h: if using Linux syscall for RTAI 
	  proper syscalls is enabled then we do exactly what Linux does.

2005-07-12  Paul <bdi-emc@ntlworld.com>

	* /base/include/asm-i386/rtai_atomic.h: added likely/unlikely support to
	  avoid problems with < gcc-2.96.

2005-07-10  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/include/asm/rtai_fpu.h: extensively revised/rewritten, 
	  related conceptual changes and new names reflected in:
	  asm-i386/rtai_sched.h, sched/sched.immed, sched/sys.c, tasklets.c,
	  arch/i386/hal/hal.immed.
	* base/include/rtai_schedcore.h: unified all definitions of 
	  RTAI functions args from user space in a single place, 
	  changes and new names reflected in:
	  sched/sched.immed, sched/sys.c, ipc/netrpc/netrpc.c.
	* base/sched/sys.c: revised intertask messages exchanges from 
	  user space.

2005-07-08  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/include/asm/rtai_fpu.h: preliminary cleanup, before an 
	  overall ovehauling.

2005-07-04  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/include/rtai_schedcore.h,
	* base/sched/sched.immed: reorganised and renamed optional busy wait 
	  time alignments at return from schedules.

2005-07-04  Panagiotis Issaris  <takis@gna.org>

	* base/include/{rtai_msg.h, rtai_names.h}, base/ipc/msg/msg.c: Prevent 
	  a name clash.

2005-07-03  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/include/rtai_schedcore.h: fixed wrong determination of the
	  cpu to which a readied soft task is pended.
	* base/sched/sched.immed: revised and improved managment 
	  of RTAI syscalls, following revision of the encoding of msgs 
	  read/writes.
	* base/sched/sys.c: put likely/unlikely suggestions here and there.
	* base/ipc/sem/sem.c: more consistent check in case of abnormal 
	  wakeup from rt_schedule, avoid using sem.
	* base/ipc/mbx/mbx.c: more consistent check in case of abnormal 
	  wakeup from rt_schedule, avoid using anything related to mbx.
	* base/ipc/msg/msg.c: consistent check in case of abnormal 
	  wakeup from rt_schedule, avoid using anything related to the
	  messaged task.

2005-07-01  Panagiotis Issaris <takis@gna.org>

	* configure.in: Fix the configure script when using an external Linux
	build directory.
	
2005-06-30  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/sched/sched.immed and api.c: implemnted new hashed registry
	  support.
	* /base/include/rtai_nam2num.h and rtai_registry.h: adapted to work 
	* /base/ipc/shm/shm.c: adapted to work with the new hashed registry 
	* /base/ipc/msg/msg.c: cancelled redundant dangerous dequeue_blocked.
	* /base/arch/i386/hal/hal.immed: adapted to likely changes of future
	  ADEOS patches.

2005-06-21  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/sched/sched.immed and sys.c: revised and improved managment 
	  of RTAI syscalls, following revision of the encoding of msgs 
	  read/writes.
	* base/ipc/netrpc/netrpc.c: exploits the semplification of the 
	  new encoding schedme for msgs read/writes.
	* base/include/rtai_schedcore.h: unifies an ubiquitus declaration
	  of RTAI syscalls arguments in a single place.
	* base/include/rtai_lxrt.h: simplified encoding of msgs read/writes.
	* base/include/rtai_netrpc.h: inheredits the encoding of rtai_lxrt.h,
	  with all the changes to functions declarations related to it.

2005-06-21  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/ipc/fifos/fifos.c: avoid direct initialiasation of a 
	  spinlock, conflicting with Linux 2.6.11.
	* base/include/rtai_shm.h: conditinally define the arch independent 
	  function "remap_page_range", that disappeared in Linux 2.6.11.

2005-06-21  Jan Kiszka  <kiszka@rts.uni-hannover.de>

	* base/include/asm-i386/rtai_fpu.h: FPU support must now care
	  of different versions of Linux 2.6.xx also.
	* base/include/asm-i386/rtai_shm.h: shared pages manipulation needs
	  to care of different versions of Linux 2.6.xx also.
	* base/arch/i386/hal/hal.immed: setting of Linux priority must now
	  account for different versions of Linux 2.6.xx too; rare "device
	  not available" traps updated to use new overhauled macros in 
	  asm-i386/rtai_fpu.h.
	* base/sched/sched.c and base/sched/sys.c: updated to use new
	  overhauled macros in asm-i386/rtai_fpu.h.

2005-06-21  Bernd Suessmilch  <Bernd.Suessmilch@uibk.ac.at>

	* base/sched/sched.c:
	* base/sched/sys.c: improved Linux signal catching and dispatching.
	
2005-06-17  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/include/rtai_schedcore.h: pend trasitions to soft mode
	  directly, they are all atomic protected already.
	* base/sched/sched.c: uses above and simplified the trasition to 
	  soft mode handler.

2005-06-16  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/arch/i386/hal/hal.immed: direct vectoring of irqs to the
	  CPU has its tail as for immediate dispatching, to help Linux in
	  the non preemptible case, i.e. under 2.4.xx. It tend to starve
	  otherwise under very very high soft real time load.

2005-06-14  Roberto Bucher  <roberto.bucher@supsi.ch>

        * rtai-lab/scilab/macros/RTAI/RTAICodeGen_.sci: Corrected problem with
	acivation from continous blocks. Better handling of "ode" functions
        * rtai-lab/scilab/devices/rtai_comedi_dio.c: Corrected problem with
	threshold in output block
	
2005-05-31  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/arch/x86_64/hal/hal.immed:
	  and
	* base/include/asm-x86_64/rtai_hal.immed: all features of the 
	  latest i386 version.

2005-05-30  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/arch/i386/hal/hal.immed: rt_printk uses printk directly, 
	  a sync version added also.
	  
2005-05-30  Daniele Gasperini  <gasperin@elet.polimi.it>

	* first port of what needed to use x*6_64.

2005-05-25  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/arch/i386/hal/hal.immed: trap handler modified to use 
	  unwrapped ADEOS event catching.
	* base/sched/sched.immed: all event handlers modified to use
          unwrapped ADEOS event catching; depends on the definition of the
	  macro "UNWRAPPED_CATCH_EVENT", to be defined in rtai_hal.h.
	* base/include/asm-i386/rtai_hal.immed: enabled macro to use 
	  unwrapped event catching.
	* base/arch/i386/patches: modified handle_event to avoid wrapping
	  event and related data.

2005-05-25  Roberto Bucher  <roberto.bucher@supsi.ch>

        * rtai-lab/scilab/macros/RTAI/RTAICodeGen_.sci: Added checks for the
	dialog box values
        * rtai-lab/scilab/macros/RTAI/SetTarget_.sci: Added checks for the
	dialog box values
	

2005-05-24  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/include/asm/rtai_hal.immed: do not double marking in hard 
	  real time, in cpu_realtime, the depth count is more than enough.
	* base/arch/i386/hal/hal.immed: lock out Linux directly from 
	  interrupt handlers; avoid dispatching irqs completely.
	* base/sched/sched.immed: care of avoiding Linux locking when done
	  in irq handler already, enable immediate sched on ipi without
	  dispatching.

2005-05-23  Roberto Bucher  <roberto.bucher@supsi.ch>

        * rtai-lab/scilab/rtmain.c: Support for continous blocks
        * rtai-lab/scilab/macros/RTAI/*: RTAICodeGen_.sci modified and compatible with 
	  Scilab-3.1 CVS with support for continous blocks
	  Added subdirectory "RT_templates" for tmemplate Makefiles
	  Added New function "SetTarget_.sci" to handle template Makefile and
	  continous code generation.

2005-05-18  Philippe Gerum  <rpm@xenomai.org>

	* configure.in: stop configuring if Linux REGPARMS is set.

2005-05-18  Paolo Mantegazza  <mantegazza@aero.polimi.it>

	* base/include/rtai_malloc.h: practically break any constraint in
	  dynamic memory allocation.

2005-05-13  Paolo Mantegazza  <mantegazza@aero.polimi.it>

        * base/sched/sched.immed: 
	  - changed coding of circular pending lists,
	  - pending wake up macro transferred to rtai_schedcore.h,
	  - parametrised give_back_to_linux to distinguish between raw
	    use and internal hard/soft transitions following Linux use,
	  - use ADEOS virq directly for waking up Linux tasks from RTAI.
        * base/sched/api.c: sleeping tasks wake up substituted with the more
	  general rt_task_masked_unblock, so that it becomes just a #define 
	  subcase of it.
        * base/sched/sys.c: cares of the paremetrised give_back_to_linux.
        * base/arch/i386/hal.immed: 
	  - cleaned unused/useless stuff,
	  - layout restyling,
	  - old cpu affinity state is saved no more, as it could wrongly 
	    restate an unintended mask in case of repeated calls, user must
	    care of it; to such an aim the set affinity function return the
	    previous state,
	  - optional stalling of the RTAI domain in hard mode, under control
	    of the STALL_RTAI_DOMAIN macro,
        * base/include/asm-i386/rtai_hal.immed: changes to support consistency 
	  when STALL_RTAI_DOMAIN is used.
        * base/include/rtai_schedcore.h: defines pending wake up macros for
	  any need. 
        * testsuite/kern/latency/, testsuite/user/latency/: output conforming
	  to 3.2, i.e with overall count of periodic reschedules displayed
	  also.

2005-05-03  Roberto Bucher  <roberto.bucher@supsi.ch>

        * rtai-lab/scilab/macros/RTAI/*: Added new blocks

2005-04-27  Panagiotis Issaris <panagiotis.issaris@mech.kuleuven.ac.be>
	* testsuite/{user,kernel}/{latency,preempt}/display.c: output is now 
	in tabular format and output uses the same units for each test.
	* testsuite/user/latency/display.c: show overall maximum latency.

2005-04-20  Roberto Bucher  <roberto.bucher@supsi.ch>

        * rtai-lab/scilab/macros/RTAI/*: Scicos ports are now set automatically
	* rtai-lab/scilab/devices/*: library files modified for port set automatically
	* rtai-lab/scilab/example/tes.cos: Modifies with the new scicos blocks

2005-04-13  Paolo Mantegazza  <mantegazza@aero.polimi.it>

        * begin new development cycle, aligning to stable vulcano, i.e. 3.2.