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
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
|
2007-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
Drop old and broken support for Olivetti XP7 & XP9
* i386/intel/pma.c [ORC] (OLIVETTICACHE): Remove macro.
[OLIVETTICACHE] (pstart): Remove declaration.
(CACHE_LINE, CACHE_SIZE, CACHE_PAGE, WRITE_PTE, WRITE_PTE_FAST): Remove
macros.
[OLIVETTICACHE] (write_pte): Remove function.
* DEVELOPMENT: Document the removal.
2006-12-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
Add support for global pages.
* i386/i386at/model_dep.c: Include <i386/locore.h>.
(i386at_init): Set CR4_PGE if available.
(c_boot_entry): Call discover_x86_cpu_type() before i386at_init().
* i386/intel/pmap.c: Include <i386/locore.h>.
(pmap_map_bd): Use INTEL_PTE_GLOBAL if available.
(pmap_bootstrap): Likewise.
Add support for cr3/cr4 flags.
* i386/i386/proc_reg.h (CR3_PCD, CR3_PWT, CR4_VME, CR4_PVI, CR4_TSD)
(CR4_DE, CR4_PSE, CR4_PAE, CR4_MCE, CR4_PGE, CR4_PCE, CR4_OSFXSR)
(CR4_OSXMMEXCPT, get_cr4, set_cr4): New macros.
* i386/intel/pmap.h (INTEL_PTE_GLOBAL): New macro.
Add support for querying x86 features.
* i386/i386/locore.h (cpu_features): New variable declaration.
(CPU_FEATURE_FPU, CPU_FEATURE_VME, CPU_FEATURE_DE, CPU_FEATURE_PSE)
(CPU_FEATURE_TSC, CPU_FEATURE_MSR, CPU_FEATURE_PAE, CPU_FEATURE_MCE)
(CPU_FEATURE_CX8, CPU_FEATURE_APIC, CPU_FEATURE_SEP, CPU_FEATURE_MTRR)
(CPU_FEATURE_PGE, CPU_FEATURE_MCA, CPU_FEATURE_CMOV, CPU_FEATURE_PAT)
(CPU_FEATURE_PSE_36, CPU_FEATURE_PSN, CPU_FEATURE_CFLSH)
(CPU_FEATURE_DS, CPU_FEATURE_ACPI, CPU_FEATURE_MMX, CPU_FEATURE_FXSR)
(CPU_FEATURE_SSE, CPU_FEATURE_SSE2, CPU_FEATURE_SS, CPU_FEATURE_HTT)
(CPU_FEATURE_TM, CPU_FEATURE_PBE, CPU_HAS_FEATURE): New macros.
* i386/i386/locore.S (cpu_features): New variable.
(discover_x86_cpu_type): Record CPUID feature word 0.
2006-12-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
Drop useless and broken FPE support.
* i386/configfrac.ac (FPE): Don't define.
* i386/i386/gdt.h (FPE_CS, USER_FPREGS): Remove macros.
* i386/i386/fpu.c (init_fpu, fpu_set_state, fpu_get_state): Remove FPE
support.
* i386/i386/fpu.h: Likewise.
* i386/i386/trap.c (user_trap, i386_exception): Likewise.
* i386/i386/fpe_linkage.c: Remove file.
* i386/Makefrag.am: Remove i386/i386/fpe_linkage.c.
* Makefile.in: Regenerate.
2006-12-03 Thomas Schwinge <tschwinge@gnu.org>
[patch #5019 --- ``Remove checks for continuations'']
* DEVELOPMENT: Document the removal.
* i386/configfrag.ac (CONTINUATIONS): Don't define.
2006-12-03 Leonardo Lopes Pereira <leonardolopespereira@gmail.com>
[patch #5019 --- ``Remove checks for continuations'']
* ipc/mach_msg.c: Adapt all users of CONTINUATIONS as if it were always
defined.
* kern/eventcount.c: Likewise.
* kern/ipc_sched.c: Likewise.
* kern/syscall_subr.c: Likewise.
* vm/vm_fault.c: Likewise.
* vm/vm_pageout.c: Likewise.
* vm/vm_resident.c: Likewise.
2006-12-03 Thomas Schwinge <tschwinge@gnu.org>
[patch #5017 --- ``Remove obsolete IPC interfaces.'']
* DEVELOPMENT: Document the removal.
* configfrag.ac (MACH_IPC_COMPAT): Don't define.
2006-12-03 Leonardo Lopes Pereira <leonardolopespereira@gmail.com>
[patch #5017 --- ``Remove obsolete IPC interfaces.'']
* kern/act.c [MIGRATING_THREADS]: Don't include <mach_ipc_compat.h>.
* kern/act.h: Likewise.
* i386/include/mach/i386/machine_types.defs: Adapt all users of
MACH_IPC_COMPAT as if it were always defined to `0'.
* include/mach/mach.defs: Likewise.
* include/mach/mach_param.h: Likewise.
* include/mach/mach_traps.h: Likewise.
* include/mach/message.h: Likewise.
* include/mach/mig_errors.h: Likewise.
* include/mach/notify.h: Likewise.
* include/mach/port.h: Likewise.
* include/mach/std_types.defs: Likewise.
* include/mach/syscall_sw.h: Likewise.
* include/mach/task_special_ports.h: Likewise.
* include/mach/thread_special_ports.h: Likewise.
* ipc/ipc_kmsg.c: Likewise.
* ipc/ipc_kmsg.h: Likewise.
* ipc/ipc_marequest.c: Likewise.
* ipc/ipc_notify.c: Likewise.
* ipc/ipc_notify.h: Likewise.
* ipc/ipc_object.c: Likewise.
* ipc/ipc_object.h: Likewise.
* ipc/ipc_port.c: Likewise.
* ipc/ipc_port.h: Likewise.
* ipc/ipc_right.c: Likewise.
* ipc/ipc_right.h: Likewise.
* ipc/ipc_space.c: Likewise.
* ipc/ipc_space.h: Likewise.
* ipc/mach_debug.c: Likewise.
* ipc/mach_msg.c: Likewise
* ipc/mach_msg.h: Likewise.
* ipc/mach_port.c: Likewise.
* kern/act.c: Likewise.
* kern/act.h: Likewise.
* kern/ipc_host.c: Likewise.
* kern/ipc_tt.c: Likewise.
* kern/syscall_sw.c: Likewise.
* kern/thread.h: Likewise.
2006-12-03 Thomas Schwinge <tschwinge@gnu.org>
[bug #17120 --- ``GNU Mach debian dir'']
* debian/README.Debian: Remove file.
* debian/changelog: Likewise.
* debian/control: Likewise.
* debian/copyright: Likewise.
* debian/postinst: Likewise.
* debian/prerm: Likewise.
* debian/rules: Likewise.
[bug #18015 --- ``GNU Mach: `make dist' and friends'']
* Makefile.am (DISTCLEANFILES): New variable.
2006-11-30 Thomas Schwinge <tschwinge@gnu.org>
* Makefile.in: Regenerate.
* configure: Likewise.
2006-11-30 Barry deFreese <bddebian@comcast.net>
Thomas Schwinge <tschwinge@gnu.org>
[bug #18015 --- ``GNU Mach: `make dist' and friends'']
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable.
(EXTRA_DIST): Enhance with the patches and documentation files.
(dist-hook): New target to remove the `CVS' directories.
* Makefrag.am (libkernel_a_SOURCES, EXTRA_DIST): Add header and `mig'
input files.
(DISTCHECK_CONFIGURE_FLAGS): Enable the kernel debugger.
* i386/Makefrag.am: Likewise. Also add `i386/i386/i386asm.sym',
`i386/ldscript' and `i386/README-Drivers'.
* i386/linux/Makefrag.am (liblinux_a_SOURCES): Add the header files
from `i386/linux/'.
* linux/Makefrag.am (liblinux_a_SOURCES, EXTRA_DIST)
(liblinux_pcmcia_cs_modules_a_SOURCES)
(liblinux_pcmcia_cs_clients_a_SOURCES)
(liblinux_pcmcia_cs_wireless_a_SOURCES): Add header and other included
files.
(dist-hook): Depend on `dist-hook-linux'.
(dist-hook-linux): New phony target to remove the `asm' symbolic links.
* Makerules.am (EXTRA_DIST): Add `gensym.awk'.
* doc/Makefrag.am (EXTRA_DIST): Add `$(mach_TEXINFOS)'.
* configure.ac (AC_CONFIG_LINKS): Move instantiation to...
* configfrag.ac: ... here and change quotation.
* linux/configfrag.ac (AC_CONFIG_LINKS): Change quotation.
2006-11-29 Thomas Schwinge <tschwinge@gnu.org>
* configure: Regenerate.
* Makefile.in: Likewise.
* configure.ac (disable_smashing_stack_protector): New conditional, set
depending on the compiler accepting `-fstack-protector' or not.
* Makefile.am (CFLAGS): Add `-fno-stack-protector' if
`disable_smashing_stack_protector' is set.
2006-11-28 Thomas Schwinge <tschwinge@gnu.org>
* doc/Makefrag.am ($(srcdir)/doc/version.texi): Oppress a potential
error message from grep.
2006-11-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
[bug #17346 --- ``GNU mach can't handle 4GB memory'']
* i386/i386at/model_dep.c (mem_size_init): Truncate memory size to
4GiB.
2006-11-21 Thomas Schwinge <tschwinge@gnu.org>
* doc/Makefrag.am (doc/web, html-local, ps-local, pdf-local)
($(srcdir)/doc/version.texi): New targets to faciliate keeping the web
pages of the GNU Mach Reference Manual updated.
2006-11-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
[patch #5328 --- ``GNU Mach asm statements tidy'']
* i386/i386/fpe_linkage.c (disable_fpe): Gather dependent asm
statements, add `ax' clobber.
(fpe_exception_fixup): Drop bogus cast from input parameter of lcall
asm statement.
* i386/i386/pio.h (inw, outw): Drop 0x66 prefix an just use the w
instruction variant.
* i386/i386/proc_reg.h: (get_eflags, get_tr, get_ldt): Drop
useless "volatile" from asm statement.
(get_esp): Use direct asm register specification.
* i386/include/mach/i386/cthreads.h (cthread_sp): Likewise.
* i386/intel/pmap.c (pmap_unmap_page_zero): Fix asm clobber into `eax'.
[patch #5375 --- ``Fix de4x5 probe'']
* linux/src/drivers/net/de4x5.c (pci_probe): Make probe loop stop on
any error, not only device not found.
2006-11-17 Constantine Kousoulos <wuwei@freemail.gr>
Thomas Schwinge <tschwinge@gnu.org>
[bug #18010 --- ``GNU Mach: update i386/README-Drivers and
doc/mach.texi'']
* i386/README-Drivers: Move most of the text into...
* doc/mach.texi: ... here and update a number of things.
(UPDATED): Don't override.
2006-11-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
* i386/i386at/iopl.c (ioplmmap): Add `int' return type.
* i386/i386at/model_dep.c (halt_all_cpus): Fix typo in declaration.
* kern/assert.h (Assert): Add __attribute__ ((noreturn)) to
declaration.
* kern/debug.c (Debugger): Add __attribute__ ((noreturn)) to
declaration.
(Debugger): Add call to panic().
* kern/debug.h (panic): Add __attribute__ ((noreturn)) to declaration.
* util/putchar.c (putchar): Return printed char.
2006-11-13 Barry deFreese <bddebian@comcast.net>
* device/chario.c (tty_cts): Add `void' return type.
* device/cons.c (cninit, cnputc): Add `void' return type.
(cngetc, cnmaygetc): Add `int' return type.
* device/net_io.c (net_del_q_info, net_free_dead_infp)
(net_free_dead_entp): Add `void' return type.
* i386/i386/fpu.c (fpnoextflt, fpextovrflt, fpexterrflt, fp_save)
(fp_load, fpintr): Add `void' return type.
* i386/i386/ktss.c (ktss_init): Add `int' type to `exception_stack'.
* i386/i386/loose_ends.c (delay): Add `void' return type.
* i386/i386/phys.c (pmap_zero_page, pmap_copy_page, copy_to_phys)
(copy_from_phys): Add `void' return type.
* i386/i386/pic.c (picinit, form_pic_mask, intnull, prtnull): Add
`void' return type.
* i386/i386/pit.c (clkstart): Add `void' return type.
* i386/i386at/com.c (comparm, comtimer, fix_modem_state)
(commodem_intr): Add `void' return type.
(comintr, commctl, comstop): Add `int' return type.
* i386/i386at/iopl.c (ioplclose): Add `int' return type.
* i386/i386at/kd.c (kd_io_map_openn, kd_io_map_close, feep, pause)
(kd_debug_put, cnpollc, kdclose, kd_handle_ack, kd_resend, kdinit)
(kd_belloff, kd_bellon, kd_putc, kd_setpos, kd_scrollup, kd_scrolldn)
(kd_parseesc, kd_parserest, kd_tab, kd_cls, kd_home, kd_up, kd_down)
(kd_right, kd_left, kd_cr, kd_cltobcur, kd_cltopcurn, kd_cltoecur)
(kd_clfrbcur, kd_delln, kd_insln, kd_delch, kd_erase, kd_eraseln)
(kd_insch, kd_senddata, kd_sendcmd, kd_cmdreg_write, kd_mouse_drain)
(set_kd_state, kd_setleds1, kd_setleds2, cnsetleds, kdreboot): Add
`void' return type.
(kdopen, kdread, kdwrite, kdportdeath, kdsetbell, kdgetkbent, kdintr)
(do_modifier, kdstate2idx, kdstart, kdstop, kd_kbd_magic): Add `int'
return type.
(kd_isupper, kd_islower): Add `boolean_t' return type.
(kd_cmdreg_read): Add `unsigned char' return type.
* i386/i386at/kd_event.c (kbdinit, kbdclose, kdb_in_out, X_kdb_enter)
(X_kdb_exit, X_kdb_enter_init, X_kdb_exit_init): Add `void' return
type.
(kbdopen, kbdioctl, kbdselect, kbdread): Add `int' return type.
* i386/i386at/kd_mouse.c (init_mouse_hw, serial_mouse_open)
(kd_mouse_open, mouseclose, serial_mouse_close, kd_mouse_close)
(mouse_handle_byte, mouse_packet_mouse_system_mouse)
(mouse_packet_microsoft_mouse, ibm_ps2_mouse_open)
(ibm_ps2_mouse_close, mouse_packet_ibm_ps2_mouse, mouse_moved)
(mouse_button): Add `void' return type.
(mouseopen, mouseioctl, mouseselect, mouseread, mouseintr): Add `int'
return type.
* i386/i386at/lpr.c (lprclose, lprpr_addr): Add `void' return type.
(lprprobe, lpropen, lprread, lprwrite, lprportdeath, lprstop, lprpr):
Add `int' return type.
* i386/i386at/model_dep.c (i386at_init, startrtclock): Add `void'
return type.
(timemmap): Add `int' return type.
* i386/i386at/rtc.c (rtcinit, rtcput): Add `void' return type.
(yeartoday, hexdectodec, readtodc, writetodc): Add `int' return type.
* i386/intel/pmap.c (pmap_pageable): Add `void' return type.
* kern/eventcount.c (simpler_thread_setrun): Add `int' type to
`whichrq' variable.
2006-11-13 Barry deFreese <bddebian@comcast.net>
* i386/i386/locore.h: New file.
* i386/i386/pcb.h: New file.
* i386/i386/pcb.c: Include `pcb.h'.
* i386/i386/pit.c (clkstart): Fix type of s into unsigned long.
* i386/i386/spl.h (spl0, splsched, splx, splsoftclock, splon, sploff)
(splhigh, splimp, spltty, splclock, setsoftclock): Add prototype.
* i386/i386at/kd_event.h: New file.
* i386/i386at/kd_event.c: Include `kd_event.h'.
* i386/i386at/kd_mouse.h: New file.
* i386/i386at/kd_mouse.c: Include `kd_mouse.h'.
(mouseclose): Fix call of `serial_mouse_close' function.
* i386/i386at/kd.c: Include `kd_event.h' and `kd_mouse.h'.
* i386/i386at/kd.h (splx, spltty): Remove prototypes.h
* i386/i386at/lpr.c: Likewise.
* ipc/mach_msg.c: Include `machine/locore.h' and `machine/pcb.h'.
* kern/mach_clock.h: New file.
* kern/mach_clock.c: Include `kern/queue.h', `kern/timer.h' and
`mach_clock.h'.
* kern/mach_factor.h: New file.
* kern/mach_factor.c: Include `mach_factor.h'.
* kern/sched_prim.c: Include `kern/mach_factor.h'.
* kern/thread.c: Include `machine/pcb.h'.
2006-11-11 Thomas Schwinge <tschwinge@gnu.org>
* Makefile.am (gnumach-undef-bad): Depend on the Makefile.
2006-11-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
Fix I/O port type.
* i386/i386/pic.c (master_icq, master_ocw, slaves_icq, slaves_ocw):
Change variables type from char * to unsigned short.
(picinit): Remove now-useless cast.
* i386/i386at/kd_mouse.c (init_mouse_hw, serial_mouse_close)
(mouseintr): Change variable type from caddr_t to unsigned short,
remove now-useless cast.
[task #5726 --- ``GCC built-in functions'']
* kern/machine.c: Include `string.h'.
Fix ``assignment used as truth value'' warnings.
* device/cons.c (cninit): Add parenthesis.
* kern/bootstrap.c (copy_bootstrap): Likewise.
* kern/printf.c (_doprnt): Likewise.
* vm/vm_map.c (vm_map_lookup): Likewise.
Fix a bunch of ``unused variable'' warnings.
* device/ds_routines.c (ds_device_open): Remove unused `namebuf'
variable.
* device/kmsg.c (kmsgread): Remove unused `err' variable.
* device/net_io.c (net_set_filter): Remove unused `j' variable.
* i386/i386/pcb.c (curr_gdt, curr_ktss): Artificially use parameter of
macro.
* i386/i386/pic.c (picinit): Remove unused `i' variable.
* i386/i386/pit.c (clkstart): Remove unused `flags' variable.
* i386/i386/trap.c (kernel_trap): Remove unused `exc' variable.
(user_trap): Remove unused `map' and `result' variables.
(v86_assist): Remove unused `size' variable.
* i386/i386at/i386at_ds_routines.c (ds_device_open): Remove unused
`dev' variable.
* i386/i386at/kd.c (kdintr): Remove unused `o_pri' variable.
(kdcngetc): Remove unused `i' variable.
* i386/i386at/kd_event.c (kbdgetstat, kbdsetstat): Remove unused
`result' variable.
* i386/i386at/kd_mouse.c (mousegetstat): Likewise.
* i386/i386at/lpr.c (lprattach): Remove unused `tp' variable.
(lprsetstat): Remove unused `dev_addr' and `s' variables.
* i386/intel/pmap.c (pmap_bootstrap): Remove unused `pteva' variable.
(SPLVM, SPLX): Artificially use parameter of macro.
* ipc/ipc_kmsg.c (ipc_kmsg_copyin_body): Remove unused `mr' variable.
* kern/bootstrap.c (boot_script_exec_cmd): Remove unused
`boot_exec_info' and `user_map' variables.
* vm/vm_kern.c (projected_buffer_map): Remove unused `object'
variable.
2006-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
* kern/sched_prim.h (thread_syscall_return): Replace old `volatile'
function qualifier with __attribute__((__noreturn__)).
2006-11-09 Barry deFreese <bddebian@comcast.net>
[task #5726 --- ``GCC built-in functions'']
* include/printf.h: Move file...
* kern/printf.h: ... here.
* kern/debug.h (panic_init, panic): Add prototypes.
* chips/busses.c: Don't include `printf.h', include `kern/printf.h'
and `kern/debug.h' for panic().
* ddb/db_command.c: Likewise.
* ddb/db_cond.c: Likewise.
* ddb/db_output.c: Likewise.
* device/cirbuf.c: Likewise.
* device/cons.c: Likewise.
* device/dev_name.c: Likewise.
* device/dev_pager.c: Likewise.
* device/device_init.c: Likewise.
* device/dk_label.c: Likewise.
* device/ds_routines.c: Likewise.
* device/net_io.c: Likewise.
* device/subrs.c: Likewise.
* i386/i386/debug_i386.c: Likewise.
* i386/i386/fpe_linkage.c: Likewise.
* i386/i386/fpu.c: Likewise.
* i386/i386/io_map.c: Likewise.
* i386/i386/kttd_interface.c: Likewise.
* i386/i386/mp_desc.c: Likewise.
* i386/i386/pcb.c: Likewise.
* i386/i386/pic.c: Likewise.
* i386/i386/trap.c: Likewise.
* i386/i386at/autoconf.c: Likewise.
* i386/i386at/com.c: Likewise.
* i386/i386at/i386at_ds_routines.c: Likewise.
* i386/i386at/kd.c: Likewise.
* i386/i386at/kd_event.c: Likewise.
* i386/i386at/kd_mouse.c: Likewise.
* i386/i386at/lpr.c: Likewise.
* i386/i386at/model_dep.c: Likewise.
* i386/intel/pmap.c: Likewise.
* ipc/ipc_entry.c: Likewise.
* ipc/ipc_hash.c: Likewise.
* ipc/ipc_kmsg.c: Likewise.
* ipc/ipc_mqueue.c: Likewise.
* ipc/ipc_notify.c: Likewise.
* ipc/ipc_object.c: Likewise.
* ipc/ipc_port.c: Likewise.
* ipc/ipc_pset.c: Likewise.
* ipc/ipc_right.c: Likewise.
* ipc/mach_msg.c: Likewise.
* ipc/mach_port.c: Likewise.
* ipc/mach_rpc.c: Likewise.
* kern/act.c: Likewise.
* kern/ast.c: Likewise.
* kern/bootstrap.c: Likewise.
* kern/debug.c: Likewise.
* kern/eventcount.c: Likewise.
* kern/exception.c: Likewise.
* kern/host.c: Likewise.
* kern/ipc_host.c: Likewise.
* kern/ipc_kobject.c: Likewise.
* kern/ipc_mig.c: Likewise.
* kern/ipc_sched.c: Likewise.
* kern/ipc_tt.c: Likewise.
* kern/kalloc.c: Likewise.
* kern/lock.c: Likewise.
* kern/mach_clock.c: Likewise.
* kern/machine.c: Likewise.
* kern/pc_sample.c: Likewise.
* kern/printf.c: Likewise.
* kern/processor.c: Likewise.
* kern/sched_prim.c: Likewise.
* kern/server_loop.ch: Likewise.
* kern/startup.c: Likewise.
* kern/task.c: Likewise.
* kern/thread.c: Likewise.
* kern/thread_swap.c: Likewise.
* kern/xpr.c: Likewise.
* kern/zalloc.c: Likewise.
* vm/memory_object.c: Likewise.
* vm/vm_debug.c: Likewise.
* vm/vm_fault.c: Likewise.
* vm/vm_kern.c: Likewise.
* vm/vm_map.c: Likewise.
* vm/vm_object.c: Likewise.
* vm/vm_object.h: Likewise.
* vm/vm_pageout.c: Likewise.
* vm/vm_resident.c: Likewise.
2006-11-08 Thomas Schwinge <tschwinge@gnu.org>
* aclocal.m4: Regenerate using GNU Autoconf 2.60 and GNU Automake 1.10.
* INSTALL: Likewise.
* Makefile.in: Likewise.
* configure: Likewise.
* build-aux/config.guess: Likewise.
* build-aux/config.sub: Likewise.
* build-aux/depcomp: Likewise.
* build-aux/install-sh: Likewise.
* build-aux/missing: Likewise.
* build-aux/texinfo.tex: Likewise.
* Makefrag.am (gnumach.msgids): Remove temporary files.
2006-11-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
[task #5726 --- ``GCC built-in functions'']
* include/printf.h (iprintf): Fix prototype.
(vprintf): Add prototype.
* kern/printf.c: Include `printf.h'.
(vprintf, printf): Fix prototype and return a dumb value.
* kern/startup.c: Include `printf.h'.
2006-11-07 Barry deFreese <bddebian@comcast.net>
[task #5726 --- ``GCC built-in functions'']
* include/printf.h: New file.
(printf_init, _doprnt, printnum, sprintf, printf, indent, iprint): New
declarations.
* include/string.h (strchr, strcmp, strcpy, strlen, strncmp, strncpy)
(strrchr, strsep): New extern declarations.
* kern/strings.c: Don't include `kern/strings.h', include `string.h'.
(strncmp, strncpy, strlen): Fix prototypes into using size_t.
* kern/strings.h: Removed file.
* kern/debug.c: Include `printf.h'.
(do_cnputc): New function.
(panic, log): Use do_cnputc instead of cnputc.
* chips/busses.c: Don't include `kern/strings.h', include `printf.h' and
`string.h'.
(_doprnt): Remove extern declaration.
(indent): Remove extern declaration.
* ddb/db_aout.c: Likewise.
* ddb/db_command.c: Likewise.
* ddb/db_lex.c: Likewise.
* ddb/db_macro.c: Likewise.
* ddb/db_output.c: Likewise.
* ddb/db_print.c: Likewise.
* ddb/db_sym.c: Likewise.
* device/dev_name.c: Likewise.
* device/dev_pager.c: Likewise.
* device/dk_label.c: Likewise.
* device/ds_routines.c: Likewise.
* device/net_io.c: Likewise.
* device/subrs.c: Likewise.
* i386/i386/db_trace.c: Likewise.
* i386/i386/debug_i386.c: Likewise.
* i386/i386/fpu.c: Likewise.
* i386/i386/io_map.c: Likewise.
* i386/i386/kttd_interface.c: Likewise.
* i386/i386/pic.c: Likewise.
* i386/i386/trap.c: Likewise.
* i386/i386at/autoconf.c: Likewise.
* i386/i386at/com.c: Likewise.
* i386/i386at/i386at_ds_routines.c: Likewise.
* i386/i386at/kd.c: Likewise.
* i386/i386at/kd_event.c: Likewise.
* i386/i386at/kd_mouse.c: Likewise.
* i386/i386at/lpr.c: Likewise.
* i386/i386at/model_dep.c: Likewise.
* i386/intel/pmap.c: Likewise.
* ipc/ipc_entry.c: Likewise.
* ipc/ipc_hash.c: Likewise.
* ipc/ipc_kmsg.c: Likewise.
* ipc/ipc_notify.c: Likewise.
* ipc/ipc_object.c: Likewise.
* ipc/ipc_port.c: Likewise.
* ipc/ipc_pset.c: Likewise.
* ipc/mach_msg.c: Likewise.
* ipc/mach_port.c: Likewise.
* ipc/mach_rpc.c: Likewise.
* kern/bootstrap.c: Likewise.
* kern/eventcount.c: Likewise.
* kern/ipc_kobject.c: Likewise.
* kern/pc_sample.c: Likewise.
* kern/printf.c: Likewise.
* kern/sched_prim.c: Likewise.
* kern/thread.c: Likewise.
* kern/zalloc.c: Likewise.
* vm/vm_fault.c: Likewise.
* vm/vm_map.c: Likewise.
* vm/vm_object.c: Likewise.
* vm/vm_resident.c: Likewise.
2006-11-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
* include/string.h: Fix copyright assignment to FSF, keep author's
name.
2006-11-05 Thomas Schwinge <tschwinge@gnu.org>
* linux/dev/README: New file.
* config.h.in: Regenerate.
* configure: Likewise.
[task #5956 --- ``Automake'ify GNU Mach's code base'']
* configure.ac <AM_INIT_AUTOMAKE>: Add `no-define' and `1.9'.
2006-11-05 Barry deFreese <bddebian@comcast.net>
[task #5878 --- ``Backport code from GNU Mach's trunk to
gnumach-1-branch: i386_set_gdt, i386_get_gdt'']
[sync from HEAD, 2002-10-03]
* i386/include/mach/i386/mach_i386.defs (i386_set_gdt, i386_get_gdt):
New routines.
* i386/i386/user_ldt.c (i386_set_gdt, i386_get_gdt): New functions.
* i386/i386/gdt.h (USER_GDT, USER_GDT_SLOTS): New macros.
(GDTSZ): Compute it from USER_GDT and USER_GDT_SLOTS.
* i386/i386/thread.h: Include `gdt.h'.
(struct i386_machine_state): New member `user_gdt'.
* i386/i386/pcb.c (switch_ktss): Copy those slots into the GDT.
* linux/src/include/linux/head.h (idt,gdt): Remove extern declaration.
2006-11-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
FPU, CPU and IO stubs cleanup.
* i386/i386/fpu.h (fstcw): New macro.
* i386/i386/locore.S (_fninit, _fstcw, _fldcw, _fnstsw, _fnclex)
(_clts, _fpsave, _fprestore, set_cr3, get_cr3, flush_tlb, get_cr2)
(get_ldt, set_ldt, get_tr, set_tr, _setts, outb, inb, outw, inw, outl)
(inl, loutb, loutw, linb, linw): Remove functions.
* i386/i386/proc_reg.h (flush_tlb): New macro.
* i386/i386/db_interface.c: Include `i386/proc_reg.h'.
* i386/intel/pmap.c: Likewise.
* i386/intel/pmap.h: Likewise.
* i386/i386/fpu.c: Include `i386/pio.h'.
* i386/i386/pic.c: Likewise.
* i386/i386/pit.c: Likewise.
* i386/i386at/iopl.c: Likewise.
* i386/i386at/kd.c: Likewise.
* i386/i386at/kd_event.c: Likewise.
* i386/i386at/kd_mouse.c: Likewise.
* i386/i386at/rtc.c: Likewise.
2006-11-05 Barry deFreese <bddebian@comcast.net>
[task #5726 --- ``GCC built-in functions'']
* include/string.h: New file.
* include/mach/mig_support.h: Include `string.h'.
[MACH_KERNEL] (bcopy): Remove extern declaration.
[MACH_KERNEL] (memcpy): Remove macro.
* device/cirbuf.c: Include `string.h'.
(q_to_b, b_to_q): Replace bcopy() with memcpy() and bzero() with
memset(), clean memcpy() and memset() invocation.
* device/cons.c (cnputc): Likewise.
* device/dev_pager.c (device_pager_data_request_done): Likewise.
* device/ds_routines.c (device_write_get, ds_read_done): Likewise.
* device/kmsg.c: Likewise.
* device/net_io.c (net_filter, net_set_filter, net_getstat): Likewise.
* i386/i386/fpu.c (fpu_set_state, fpu_get_state, fp_load)
(fp_state_alloc): Likewise.
* i386/i386/iopb.c (io_tss_init, i386_io_port_list): Likewise.
* i386/i386/mp_desc.c (mp_desc_init): Likewise.
* i386/i386/pcb.c (pcb_init, thread_setstatus)
(thread_getstatus): Likewise.
* i386/i386/phys.c (pmap_zero_page, pmap_copy_page, copy_to_phys)
(copy_from_phys): Likewise.
* i386/i386/trap.c (v86_assist): Likewise.
* i386/i386/user_ldt.c (i386_set_ldt, i386_get_ldt): Likewise.
* i386/i386at/immc.c (immc_cnputc): Likewise.
* i386/i386at/kd_event.c (X_kdb_enter_init, X_kdb_exit_init): Likewise.
* i386/intel/pmap.c (pmap_init, pmap_page_table_page_alloc)
(pmap_create): Likewise.
* ipc/ipc_entry.c (ipc_entry_grow_table): Likewise.
* ipc/ipc_kmsg.c (ipc_kmsg_get_from_kernel)
(ipc_kmsg_put_to_kernel): Likewise.
* ipc/ipc_object.c (ipc_object_alloc, ipc_object_alloc_name): Likewise.
* ipc/ipc_port.c (ipc_port_dngrow): Likewise.
* ipc/ipc_space.c: Likewise.
* ipc/mach_debug.c (mach_port_space_info)
(mach_port_space_info): Likewise.
* kern/act.c (act_create): Likewise.
* kern/boot_script.c: Likewise.
* kern/bootstrap.c: Likewise.
* kern/eventcount.c (evc_init): Likewise.
* kern/host.c (host_info, host_processor_sets): Likewise.
* kern/lock.c (lock_init): Likewise.
* kern/lock_mon.c (lock_info_clear): Likewise.
* kern/mach_clock.c (mapable_time_init): Likewise.
* kern/pc_sample.c (get_sampled_pcs): Likewise.
* kern/processor.c (processor_set_things): Likewise.
* kern/syscall_emulation.c (task_set_emulation_vector_internal)
(task_get_emulation_vector, xxx_task_get_emulation_vector): Likewise.
* kern/task.c (task_threads): Likewise.
* kern/xpr.c (xprbootstrap): Likewise.
* kern/zalloc.c (host_zone_info): Likewise.
* vm/vm_debug.c (mach_vm_object_pages): Likewise.
* vm/vm_kern.c (projected_buffer_allocate, copyinmap)
(copyoutmap): Likewise.
* vm/vm_object.c (vm_object_bootstrap): Likewise.
* vm/vm_resident.c (vm_page_grab_contiguous_pages): Likewise.
2006-11-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
* DEVELOPMENT: Document the following removals.
Drop MB1/MB2/EXL architecture support.
* i386/i386/pit.h (PITCTR0_PORT, PITCTR1_PORT, PITCTR2_PORT)
(PITCTL_PORT, CLKNUM): Remove MB1/MB2/EXL cases.
[EXL] (time_latch): Remove structure and type.
[EXL] (intr_disable, intr_restore): Remove functions.
Drop iPSC architecture support.
* i386/i386/hardclock.c: Remove iPSC386 from #if.
* i386/i386/locore.S: Remove iPSC386 delays.
* i386/i386/pic.c: Remove iPSC386 support.
(SLAVEMASK): Rmove iPSC386 case.
* i386/i386/pic.h (ADDR_PIC_BASE, OFF_ICW, OFF_OCW, SIZE_PIC)
(PICM_VECTBASE, PICS_VECTBASE): Remove iPSC386 cases.
[iPSC386] (I_AM_A_SLAVE, I_AM_A_MASTR): Remove macros.
* i386/i386/pit.h: Remove iPSC386 from #if.
[iPSC386] (CLKNUM): Remove macro.
* kern/machine.c (host_get_boot_info): Remove iPSC386 support.
* vm/vm_map.h (VM_MAP_COPY_PAGE_LIST_MAX): Remove iPSC case.
Drop i860 architecture support.
* i386/i386/pmap.h: Remove i860 comment.
* i386/intel/pmap.c: Remove i860 comments.
[i860]: Don't include `i860ipsc/nodehw.h'.
(INVALIDATE_TLB): Remove i860 case.
(paging_enabled): Remove variable.
(pmap_map): Remove setting INTEL_PTE_NCACHE.
(pmap_bootstrap): Remove i860 support.
(pmap_page_table_page_alloc): Remove setting INTEL_PTE_NCACHE.
(pmap_enter): Remove call to flush function.
(set_dirbase): Remove function.
* i386/intel/pmap.h: Remove i860 comments.
(INTEL_PGBYTES, INTEL_PGSHIFT, intel_btop, intel_ptob)
(intel_round_page, intel_trunc_page, trunc_intel_to_vm)
(round_intel_to_vm, vm_to_intel, INTEL_PTE_VALID, set_dirbase): Remove
i860 cases.
(INTEL_PTE_valid): Remove macro.
* i386/intel/read_fault.c: Remove i860 comment.
Drop PS2 architecture support.
* i386/i386/fpu.c (fpintr): Remove PS2 from #if.
* i386/i386/gdt.c [PS2] (abios_int_return, abios_th_return, intstack):
Remove extern declarations.
* i386/i386/gdt.h [PS2] (ABIOS_INT_RET, ABIOS_TH_RET, ABIOS_INT_SS)
(ABIOS_TH_SS, ABIOS_FIRST_AVAIL_SEL): Remove macros.
(GDTSZ): Remove PS2 case.
* i386/i386/hardclock.c [PS2]: Don't include `i386/pic.h' and
`i386/pio.h'.
(hardclock): Remove PS2 prototype and code.
* i386/i386/locore.S (RET_OFFSET): Remove PS2 stack layout.
* i386/i386/pic.c (picinit): Remove #ifdef PS2.
* i386/i386/pic.h: Remove PS2 from #if.
* i386/i386/pit.c [PS2] (clock_int_handler): Remove extern declaration.
Don't include `sys/types.h' and `i386ps2/abios.h'.
(clock_request_block, clock_flags, cqbuf): Remove variables.
(clkstart): Remove call to abios_clock_start function.
(COUNT): Don't define.
(abios_clock_start, ackrtclock): Remove functions.
* i386/i386/pit.h: Remove PS2 from #if.
2006-10-26 Thomas Schwinge <tschwinge@gnu.org>
* Makefile.in: Regenerate.
[task #5956 --- ``Automake'ify GNU Mach's code base'']
* Makefrag.am (gnumach.msgids): Remove repetition.
* Makerules.am (%.server.msgids, %.user.msgids): Targets renamed from
`%.msgids'. Also consider MIGCOMSFLAGS respective MIGCOMUFLAGS.
Thanks to Guillem Jover and Leonardo Lopes Pereira for reporting this.
The Automake build system wants us to have these files in the rcs, so
do that.
* doc/mach.info: New file, generated.
* doc/mach.info-1: Likewise.
* doc/mach.info-2: Likewise.
* doc/stamp-vti: Likewise.
* doc/version.texi: Likewise.
2006-10-18 Thomas Schwinge <tschwinge@gnu.org>
* Makefile.in: Regenerate.
Install `PREFIX/share/msgids/gnumach.msgids'.
* Makerules.am (%.msgids): Two new rules.
* Makefrag.am (MOSTLYCLEANFILES): Add `gnumach.msgids'.
(gnumach.msgids): New rule.
(exec_msgidsdir, exec_msgids_DATA): New variables.
2006-10-16 Thomas Schwinge <tschwinge@gnu.org>
* configure: Regenerate.
[bug #18011 --- ``GNU Mach: `make install-data' will build the
``to-be-generated files'''']
* config.status.dep.patch: Do an educated guess instead of using the
`Makefile'.
* configure.ac <config.status.dep.patch>: Update description.
2006-10-15 Thomas Schwinge <tschwinge@gnu.org>
* configure: Regenerate.
* configure.ac: Update texts snippets: GNU Automake 1.10 has just been
released.
* i386/include/Makefile.in: Remove unused file. Thanks to Guillem
Jover for spotting this.
[task #5956 --- ``Automake'ify GNU Mach's code base'']
* configure: Regenerate.
* configure.ac <config.status.dep.patch>: Point to [bug #18011 ---
``GNU Mach: `make install-data' will build the ``to-be-generated
files''''].
* Makefile.in: Regenerate.
* Makefrag.am (include_mach_exec): Rename to `include_mach_eXec'.
* Makefile.in: New file, generated by `autoreconf'.
* config.h.in: Likewise.
* configure: Updated file, generated by `autoreconf'.
* INSTALL: File updated, thanks to `autoreconf'.
* aclocal.m4: Likewise.
* build-aux/compile: New file, thanks to `autoreconf'.
* build-aux/config.guess: Likewise.
* build-aux/config.sub: Likewise.
* build-aux/depcomp: Likewise.
* build-aux/install-sh: Likewise.
* build-aux/mdate-sh: Likewise.
* build-aux/missing: Likewise.
* build-aux/texinfo.tex: Likewise.
* AUTHORS: New file, copy from the MIG repository.
* kern/bootstrap.c: Don't include `bootstrap_symbols.h'.
* ddb/db_command.c: Don't include `cpus.h'.
* ddb/db_mp.c: Likewise.
* i386/i386/ast_check.c: Likewise.
* i386/i386/cswitch.S: Likewise.
* i386/i386/db_interface.c: Likewise.
* i386/i386/fpu.c: Likewise.
* i386/i386/fpu.h: Likewise.
* i386/i386/i386asm.sym: Likewise.
* i386/i386/locore.S: Likewise.
* i386/i386/mp_desc.c: Likewise.
* i386/i386/mp_desc.h: Likewise.
* i386/i386/pcb.c: Likewise.
* i386/i386/trap.c: Likewise.
* i386/intel/pmap.c: Likewise.
* include/mach/machine.h: Likewise.
* ipc/ipc_kmsg.c: Likewise.
* ipc/ipc_kmsg.h: Likewise.
* kern/ast.c: Likewise.
* kern/ast.h: Likewise.
* kern/cpu_number.h: Likewise.
* kern/debug.c: Likewise.
* kern/eventcount.c: Likewise.
* kern/host.c: Likewise.
* kern/ipc_sched.c: Likewise.
* kern/lock.c: Likewise.
* kern/lock.h: Likewise.
* kern/lock_mon.c: Likewise.
* kern/mach_clock.c: Likewise.
* kern/mach_factor.c: Likewise.
* kern/machine.c: Likewise.
* kern/priority.c: Likewise.
* kern/processor.c: Likewise.
* kern/processor.h: Likewise.
* kern/sched.h: Likewise.
* kern/sched_prim.c: Likewise.
* kern/startup.c: Likewise.
* kern/syscall_subr.c: Likewise.
* kern/thread.c: Likewise.
* kern/timer.c: Likewise.
* kern/timer.h: Likewise.
* vm/vm_resident.c: Likewise.
* kern/sched_prim.c: Don't include `fast_tas.h'.
* kern/task.c: Likewise.
* kern/task.h: Likewise.
* kern/sched_prim.c: Don't include `hw_footprint.h'.
* kern/thread.c: Likewise.
* kern/thread.h: Likewise.
* kern/counters.c: Don't include `mach_counters.h'.
* kern/counters.h: Likewise.
* ddb/db_ext_symtab.c: Don't include `mach_debug.h'.
* i386/i386/pcb.c: Likewise.
* kern/ipc_kobject.c: Likewise.
* kern/thread.c: Likewise.
* kern/zalloc.c: Likewise.
* kern/ast.c: Don't include `mach_fixpri.h'.
* kern/processor.c: Likewise.
* kern/processor.h: Likewise.
* kern/sched.h: Likewise.
* kern/sched_prim.c: Likewise.
* kern/syscall_subr.c: Likewise.
* kern/thread.c: Likewise.
* kern/thread.h: Likewise.
* kern/host.c: Don't include `mach_host.h'.
* kern/ipc_sched.c: Likewise.
* kern/machine.c: Likewise.
* kern/processor.c: Likewise.
* kern/processor.h: Likewise.
* kern/sched_prim.c: Likewise.
* kern/startup.c: Likewise.
* kern/task.c: Likewise.
* kern/thread.c: Likewise.
* kern/thread.h: Likewise.
* include/mach/mach.defs: Don't include `mach_ipc_compat.h'.
* include/mach/mach_param.h: Likewise.
* include/mach/mach_traps.h: Likewise.
* include/mach/message.h: Likewise.
* include/mach/mig_errors.h: Likewise.
* include/mach/notify.h: Likewise.
* include/mach/port.h: Likewise.
* include/mach/std_types.defs: Likewise.
* include/mach/task_special_ports.h: Likewise.
* include/mach/thread_special_ports.h: Likewise.
* ipc/ipc_kmsg.c: Likewise.
* ipc/ipc_kmsg.h: Likewise.
* ipc/ipc_marequest.c: Likewise.
* ipc/ipc_notify.c: Likewise.
* ipc/ipc_notify.h: Likewise.
* ipc/ipc_object.c: Likewise.
* ipc/ipc_object.h: Likewise.
* ipc/ipc_port.c: Likewise.
* ipc/ipc_port.h: Likewise.
* ipc/ipc_right.c: Likewise.
* ipc/ipc_right.h: Likewise.
* ipc/ipc_space.c: Likewise.
* ipc/ipc_space.h: Likewise.
* ipc/mach_debug.c: Likewise.
* ipc/mach_msg.c: Likewise.
* ipc/mach_msg.h: Likewise.
* ipc/mach_port.c: Likewise.
* kern/ipc_tt.c: Likewise.
* kern/syscall_sw.c: Likewise.
* kern/thread.h: Likewise.
* include/mach_debug/mach_debug.defs: Don't include `mach_ipc_debug.h'.
* ipc/ipc_hash.c: Likewise.
* ipc/ipc_hash.h: Likewise.
* ipc/ipc_marequest.c: Likewise.
* ipc/ipc_marequest.h: Likewise.
* kern/ipc_kobject.c: Don't include `mach_ipc_test.h'.
* ddb/db_access.c: Don't include `mach_kdb.h'.
* ddb/db_aout.c: Likewise.
* ddb/db_break.c: Likewise.
* ddb/db_command.c: Likewise.
* ddb/db_command.h: Likewise.
* ddb/db_cond.c: Likewise.
* ddb/db_examine.c: Likewise.
* ddb/db_expr.c: Likewise.
* ddb/db_ext_symtab.c: Likewise.
* ddb/db_input.c: Likewise.
* ddb/db_lex.c: Likewise.
* ddb/db_macro.c: Likewise.
* ddb/db_mp.c: Likewise.
* ddb/db_output.c: Likewise.
* ddb/db_print.c: Likewise.
* ddb/db_run.c: Likewise.
* ddb/db_sym.c: Likewise.
* ddb/db_task_thread.c: Likewise.
* ddb/db_trap.c: Likewise.
* ddb/db_variables.c: Likewise.
* ddb/db_watch.c: Likewise.
* ddb/db_watch.h: Likewise.
* ddb/db_write_cmd.c: Likewise.
* i386/i386/db_disasm.c: Likewise.
* i386/i386/db_interface.c: Likewise.
* i386/i386/db_trace.c: Likewise.
* i386/i386/i386asm.sym: Likewise.
* i386/i386/locore.S: Likewise.
* i386/i386/trap.c: Likewise.
* i386/i386at/kd.c: Likewise.
* i386/i386at/model_dep.c: Likewise.
* include/mach_debug/mach_debug.defs: Likewise.
* ipc/ipc_kmsg.c: Likewise.
* ipc/ipc_object.c: Likewise.
* ipc/ipc_port.c: Likewise.
* ipc/ipc_pset.c: Likewise.
* kern/bootstrap.c: Likewise.
* kern/debug.c: Likewise.
* kern/exception.c: Likewise.
* kern/lock.c: Likewise.
* kern/xpr.c: Likewise.
* vm/vm_fault.c: Likewise.
* vm/vm_map.c: Likewise.
* vm/vm_object.c: Likewise.
* vm/vm_resident.c: Likewise.
* kern/lock.h: Don't include `mach_ldebug.h'.
* kern/lock_mon.c: Don't include `mach_lock_mon.h'.
* kern/ipc_kobject.c: Don't include `mach_machine_routines.h'.
* kern/lock_mon.c: Don't include `mach_mp_debug.h'.
* vm/memory_object.c: Don't include `mach_pagemap.h'.
* vm/vm_fault.c: Likewise.
* vm/vm_object.c: Likewise.
* vm/vm_object.h: Likewise.
* vm/vm_pageout.c: Likewise.
* i386/i386/trap.c: Don't include `mach_pcsample.h'.
* kern/mach4.srv: Likewise.
* kern/mach_clock.c: Likewise.
* kern/pc_sample.c: Likewise.
* kern/task.c: Likewise.
* kern/thread.c: Likewise.
* vm/vm_fault.c: Likewise.
* device/net_io.c: Don't include `mach_ttd.h'.
* i386/i386/kttd_interface.c: Likewise.
* i386/i386/locore.S: Likewise.
* i386/i386/trap.c: Likewise.
* i386/i386at/autoconf.c: Likewise.
* include/mach_debug/mach_debug.defs: Don't include `mach_vm_debug.h'.
* vm/vm_debug.c: Likewise.
* vm/vm_page.h: Likewise.
* vm/vm_resident.c: Likewise.
* kern/sched_prim.c: Don't include `power_save.h'.
* kern/sched.h: Don't include `simple_clock.h'.
* kern/sched_prim.c: Likewise.
* kern/thread.c: Likewise.
* kern/mach_clock.c: Don't include `stat_time.h'.
* i386/i386/i386asm.sym: Likewise.
* i386/i386/locore.S: Likewise.
* kern/sched.h: Likewise.
* kern/timer.c: Likewise.
* kern/timer.h: Likewise.
* kern/startup.c: Don't include `xpr_debug.h'.
* kern/xpr.h: Likewise.
* i386/i386at/autoconf.c: Don't include `com.h'.
* i386/i386at/com.c: Likewise.
* i386/i386at/conf.c: Likewise.
* i386/i386at/cons_conf.c: Likewise.
* i386/i386/fpe_linkage.c: Don't include `fpe.h'.
* i386/i386/fpu.c: Likewise.
* i386/i386/fpu.h: Likewise.
* i386/i386/trap.c: Likewise.
* i386/i386at/autoconf.c: Don't include `lpr.h'.
* i386/i386at/conf.c: Likewise.
* i386/i386at/lpr.c: Likewise.
* i386/i386/cswitch.S: Don't include `platforms.h'.
* i386/i386/fpu.c: Likewise.
* i386/i386/gdt.c: Likewise.
* i386/i386/hardclock.c: Likewise.
* i386/i386/i386asm.sym: Likewise.
* i386/i386/io_emulate.c: Likewise.
* i386/i386/locore.S: Likewise.
* i386/i386/pic.c: Likewise.
* i386/i386/pic.h: Likewise.
* i386/i386/pit.c: Likewise.
* i386/i386/pit.h: Likewise.
* i386/i386/seg.h: Likewise.
* i386/i386at/model_dep.c: Likewise.
* i386/i386at/com.c: Don't include `rc.h'
* i386/i386at/cons_conf.c: Likewise.
* i386/i386at/pic_isa.c: Likewise.
* device/ds_routines.c: Don't include <i386/linux/device-drivers.h>.
* i386/i386at/i386at_ds_routines.c: Likewise.
* i386/linux/dev/include/linux/autoconf.h: Likewise.
* linux/dev/arch/i386/kernel/setup.c: Likewise.
* linux/dev/init/main.c: Likewise.
* linux/pcmcia-cs/glue/pcmcia_glue.h: Likewise.
* linux/pcmcia-cs/glue/wireless_glue.h: Likewise.
* kern/lock_mon.c: Don't include <time_stamp.h>.
* device/cons.c: Include <device/cons.h> instead of <cons.h>.
* i386/i386at/com.c: Likewise.
* i386/i386at/kd.c: Likewise.
* i386/i386at/cons_conf.c: Likewise.
* i386/i386at/i386at_ds_routines.c: Include <device/device.server.h>
instead of "device_interface.h".
* device/chario.c: Include <device/device_reply.user.h> instead of
"device_reply.h".
* device/ds_routines.c: Likewise.
* linux/dev/glue/block.c: Likewise.
* linux/dev/glue/net.c: Likewise.
* linux/pcmcia-cs/glue/ds.c: Likewise.
* device/cons.c: Include <device/kmsg.h> instead of <kmsg.h>.
* device/kmsg.c: Likewise.
* i386/i386/cswitch.S: Include <i386/cpu_number.h> instead of
"cpu_number.h".
* i386/i386/locore.S: Likewise.
* i386/intel/pmap.c: Likewise.
* ipc/ipc_kmsg.h: Likewise.
* i386/i386/i386asm.sym: Include <i386/gdt.h> instead of "gdt.h".
* i386/i386/idt.c: Likewise.
* i386/i386at/int_init.c: Likewise.
* i386/i386/cswitch.S: Include <i386/i386asm.h> instead of "i386asm.h".
* i386/i386/locore.S: Likewise.
* i386/i386at/boothdr.S: Likewise.
* i386/i386at/interrupt.S: Likewise.
* i386/i386at/idt.h: Include <i386/idt-gen.h> instead of "idt-gen.h".
* i386/i386at/interrupt.S: Include <i386/ipl.h> instead of "ipl.h".
* i386/i386/i386asm.sym: Include <i386/ldt.h> instead of "ldt.h".
* i386/i386/locore.S: Likewise.
* i386/i386/i386asm.sym: Include <i386/mp_desc.h> instead of
"mp_desc.h".
* i386/i386at/interrupt.S: Include <i386/pic.h> instead of "pic.h".
* i386/i386/cswitch.S: Include <i386/proc_reg.h> instead of
"proc_reg.h".
* i386/i386/locore.S: Likewise.
* i386/i386at/model_dep.c: Likewise.
* i386/i386/i386asm.sym: Include <i386/seg.h> instead of "seg.h".
* i386/i386/idt.c: Likewise.
* i386/i386/locore.S: Likewise.
* i386/i386/locore.S: Include <i386/trap.h> instead of "trap.h".
* i386/i386/i386asm.sym: Include <i386/tss.h> instead of "tss.h".
* i386/i386/i386asm.sym: Include <i386/vm_param.h> instead of
"vm_param.h".
* i386/i386/idt.c: Likewise.
* i386/i386at/kd.c: Likewise.
* i386/i386at/model_dep.c: Likewise.
* i386/intel/pmap.c: Likewise.
* i386/i386/i386asm.sym: Include <i386at/idt.h> instead of "idt.h".
* i386/i386/idt.c: Likewise.
* i386/i386at/int_init.c: Likewise.
* ipc/ipc_target.c: Include <kern/sched_prim.h> instead of
"sched_prim.h".
* vm/memory_object.c: Include <vm/memory_object_default.user.h> instead
of "memory_object_default.h".
* vm/vm_object.c: Likewise.
* vm/vm_pageout.c: Likewise.
* vm/memory_object.c: Include <vm/memory_object_user.user.h> instead of
"memory_object_user.h".
* vm/vm_fault.c: Likewise.
* vm/vm_object.c: Likewise.
* vm/vm_pageout.c: Likewise.
* Makefile.am: New file.
* Makerules.am <configure's findings, System dependent Makerules>
<Compilation flags, Dependency generation, Autoconf support>: Remove
sections.
<Building from foo.cli, Building from foo.srv>: Rewrite:
(%.server.defs.c, %.user.defs.c, %.server.h %.server.c)
(%.user.h %.user.c, %.server.defs, %.user.defs): New targets.
(%.h %_user.c %.cli.d, %_interface.h %_server.c %.srv.d): Remove
targets.
(echo-%): New target.
* Makefrag.am <configure's findings, Rules, Kernel Image, Installation>
<Building the distribution, Autoconf support, Makerules>: Remove
sections.
(enable_kdb, enable_kmsg): Adapt.
<All the source in each directory>
<Header files installed for user use>: Rewrite to adapt to how things
are to be done now.
<Automatically generated source files>: New section.
(i386/Makefrag.am): Include file if appropriate.
* i386/Makefrag.am <configure's findings, Rules, Installation>
<Autoconf support, Makerules>: Remove sections.
(enable_lpr): Adapt.
<Source files for any i386 kernel>: Rewrite to adapt to how things are
to be done now.
* i386/linux/Makefrag.am: New file.
* linux/Makefrag.am: Likewise.
* Makefile.in: Move file...
* Makefrag.am: ... here.
* i386/Makefile.in: Move file...
* i386/Makefrag.am: ... here.
* i386/linux/Makefile.in: Remove file.
* doc/Makefile.in: Remove file.
* doc/Makefrag.am: New file.
* tests/Makefrag.am: Likewise.
* tests/test-mbchk.in: Likewise.
* configfrag.ac: New file.
* tests/configfrag.ac: Likewise.
* Makerules.am (DEFINES): Convert those into...
* configfrag.ac: ... AC_DEFINE instantiations.
* i386/Makerules.in (DEFINES): Convert those into...
* i386/configfrag.ac: ... AC_DEFINE instantiations.
* i386/Makerules.in: Remove file.
* i386/configfrag.ac (AC_PREREQ, AC_INIT, AC_CONFIG_SRCDIR)
(AC_CONFIG_SUBDIRS, AC_CONFIG_FILES, AC_OUTPUT): Don't invoke.
(../version.m4): Don't include.
(--disable-lpr): Rework configuration option.
(--disable-default-device-drivers): Move configuration option to...
* configfrag.ac: ... here.
* configure.ac (AC_CONFIG_AUX_DIR, AM_INIT_AUTOMAKE): Instantiate.
(AC_PREFIX_DEFAULT, AC_CONFIG_SUBDIRS): Don't invoke.
<Output variable `systype'>: Rework the whole section.
<Options> (--enable-kdb, --disable-kmsg): Move into `configfrag.ac' and
adapt.
<Programs> (AM_PROG_AS, AM_PROG_CC_C_O): Instantiate.
(AC_CHECK_PROG): Move instantiation searching for a `mbchk' program
into `tests/configfrag.ac'.
(AC_CHECK_PROG): Instantiate to search for a `patch' program.
<configure fragments> (tests/configfrag.ac, configfrag.ac)
(linux/configfrag.ac): Include files.
(i386/configfrag.ac): Include file if appropriate.
(AC_CONFIG_HEADER): Instantiate for `config.h'.
(AC_CONFIG_FILES): Remove `Makerules' and `doc/Makefile'.
(AC_CONFIG_COMMANDS_POST): Instantiate for `config.status.dep.patch'.
(AC_CONFIG_COMMANDS): Instantiate for
`Makefile.correct_output_files_for_.S_files.patch' and (the
nonexistent) `Makefile.dependency_tracking_for_.S_files.patch'.
* Makefile.dependency_tracking_for_.S_files.patch: New file.
* config.status.dep.patch: Likewise.
* bogus/bootstrap_symbols.h: Remove file.
* configfrag.ac: AC_DEFINE `BOOTSTRAP_SYMBOLS' to `0'.
* bogus/cpus.h: Remove file.
* configfrag.ac: AC_DEFINE `NCPUS' to `1'. AH_TEMPLATE
`MULTIPROCESSOR'.
* bogus/fast_tas.h: Remove file.
* configfrag.ac: AC_DEFINE `FAST_TAS' to `0'.
* bogus/hw_footprint.h: Remove file.
* configfrag.ac: AC_DEFINE `HW_FOOTPRINT' to `0'.
* bogus/mach_counters.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_COUNTERS' to `0'.
* bogus/mach_debug.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_DEBUG' to `1'.
* bogus/mach_fixpri.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_FIXPRI' to `1'.
* bogus/mach_host.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_HOST' to `0'.
* bogus/mach_ipc_compat.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_IPC_COMPAT' to `1'.
* bogus/mach_ipc_debug.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_IPC_DEBUG' to `1'.
* bogus/mach_ipc_test.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_IPC_TEST' to `0'.
* bogus/mach_kdb.h: Remove file.
* configfrag.ac (--disable-kdb): AC_DEFINE `MACH_KDB' to `0'.
* bogus/mach_ldebug.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_LDEBUG' to `0'.
* bogus/mach_lock_mon.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_LOCK_MON' to `0'.
* bogus/mach_machine_routines.h: Remove file.
* configfrag.ac: Add comment about not AC_DEFINEing
`MACH_MACHINE_ROUTINES' to `0'.
* bogus/mach_mp_debug.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_MP_DEBUG' to `0'.
* bogus/mach_pagemap.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_PAGEMAP' to `1'.
* bogus/mach_pcsample.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_PCSAMPLE' to `1'.
* bogus/mach_ttd.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_TTD' to `0'.
* bogus/mach_vm_debug.h: Remove file.
* configfrag.ac: AC_DEFINE `MACH_VM_DEBUG' to `1'.
* bogus/power_save.h: Remove file.
* configfrag.ac: AC_DEFINE `POWER_SAVE' to `1'.
* bogus/simple_clock.h: Remove file.
* configfrag.ac: AC_DEFINE `SIMPLE_CLOCK' to `0'.
* bogus/stat_time.h: Remove file.
* configfrag.ac: AC_DEFINE `STAT_TIME' to `1'.
* bogus/xpr_debug.h: Remove file.
* configfrag.ac: AC_DEFINE `XPR_DEBUG' to `1'.
* i386/bogus/com.h: Remove file.
* i386/configfrag.ac: AC_DEFINE `NCOM' to `4'.
* i386/bogus/fpe.h: Remove file.
* i386/configfrag.ac: AC_DEFINE `FPE' to `0'.
* i386/bogus/lpr.h: Remove file.
* i386/configfrag.ac: AC_DEFINE `NLPR' to `1'.
* i386/bogus/mach_machine_routines.h: Remove file.
* i386/configfrag.ac: AC_DEFINE `MACH_MACHINE_ROUTINES' to `1'.
* i386/bogus/platforms.h: Remove file.
* i386/configfrag.ac: AC_DEFINE `AT386' to `1'.
* i386/bogus/rc.h: Remove file.
* i386/configfrag.ac: AC_DEFINE `RCLINE' to `-1' and `RCADDR' to `0x3f8'.
* Makerules.in: Move file...
* Makerules.am: ... here.
* linux/configfrag.ac (AC_PREREQ, AC_INIT, AC_CONFIG_SRCDIR)
(AC_CONFIG_HEADER, AC_CANONICAL_HOST, hurd_SYSTYPE, AC_CONFIG_FILES)
(AC_OUTPUT): Don't invoke.
(../../version.m4, ../../Drivers.macros, ../../aclocal.m4): Don't
include.
<case "$host_cpu">: Only evaluate for i386.
(--disable-default-device-drivers): Remove configuraion option.
(LINUX_DEV, __KERNEL__): AC_DEFINE these.
(scsi, net, pcmcia, wireless): Remove AC_DRIVER_CLASS instantiations.
(device_driver_group): New shell function.
(AC_OPTION, AC_OPTION_nodef): New functions.
(linux_DRIVER): Rename function to AC_Linux_DRIVER and adapt.
(linux_DRIVER_nodef): Likewise to AC_Linux_DRIVER_nodef.
<Configuration options>: Adapt to the new functions introduced above
and re-position parts.
<Process device driver groups>: Adapt to the changes related to device
driver groups.
* linux/configure.in <AC_CONFIG_LINKS>: Move to...
* linux/configfrag.ac: ... here.
* linux/configure.in: Remove file.
* linux/configure: Likewise.
* i386/linux/Makerules.in: Likewise.
* Drivers.macros: Likewise.
* i386/linux/configure.ac: Move file...
* linux/configfrag.ac: ... here.
* i386/linux/configure: Remove file.
* i386/linux/device-drivers.h.in: Likewise.
* i386/configure.in: Move file...
* i386/configfrag.ac: ... here.
* i386/configure: Remove file.
* config.guess: Remove file.
* config.sub: Likewise.
* install-sh: Likewise.
* i386/Files: Remove file.
* i386/Subdirs: Likewise.
* linux/Files: Likewise.
* linux/Subdirs: Likewise.
2006-10-13 Thomas Schwinge <tschwinge@gnu.org>
* configure.in: Move file...
* configure.ac: ... here.
* Makerules.in (ASFLAGS): Don't define `ASSEMBLER'.
* i386/i386/cpu_number.h: Check for `__ASSEMBLER__' instead of
`ASSEMBLER'.
* i386/i386/debug.h: Likewise.
* i386/i386/ipl.h: Likewise.
* i386/i386/ldt.h: Likewise.
* i386/i386/proc_reg.h: Likewise.
* i386/i386/seg.h: Likewise.
* i386/i386/trap.h: Likewise.
* i386/include/mach/i386/kern_return.h: Likewise.
* i386/include/mach/i386/vm_types.h: Likewise.
* i386/intel/pmap.h: Likewise.
* include/mach/boolean.h: Likewise.
* include/mach/boot.h: Likewise.
* include/mach/error.h: Likewise.
* kern/syscall_emulation.h: Likewise.
* configure: Regenerate.
* i386/configure: Likewise.
* i386/linux/configure: Likewise.
* linux/configure: Likewise.
2006-10-12 Thomas Schwinge <tschwinge@gnu.org>
* version.m4 (AC_PACKAGE_VERSION): Let's name it `1.3.99'.
* configure: Regenerate.
* i386/configure: Likewise.
* i386/linux/configure: Likewise.
* linux/configure: Likewise.
* version.m4: Rewrite.
* configure.in: Adapt to the above.
* i386/configure.in: Likewise.
* i386/linux/configure.ac: Likewise.
* linux/configure.in: Likewise.
2006-10-09 Thomas Schwinge <tschwinge@gnu.org>
* ddb/tr.h: Insert the content of `bogus/mach_assert.h' instead of
including it.
* i386/i386/loose_ends.c: Likewise.
* bogus/mach_assert.h: Remove file.
* bogus/panic.c: Remove file.
* linux/src/drivers/scsi/in2000.c (in2000_proc_info) [PROC_INTERFACE]:
Don't consider `__DATE__' and `__TIME__'.
2006-10-08 Thomas Schwinge <tschwinge@gnu.org>
* linux/dev/drivers/scsi/scsi.h: Move file...
* linux/src/drivers/scsi/scsi.h: ... here, overwriting the old file.
* linux/dev/drivers/scsi/seagate.c: Move file...
* linux/src/drivers/scsi/seagate.c: ... here, overwriting the old file.
* linux/dev/drivers/scsi/aha152x.c: Move file...
* linux/src/drivers/scsi/aha152x.c: ... here, overwriting the old file.
* linux/dev/drivers/scsi/sr.c: Move file...
* linux/src/drivers/scsi/sr.c: ... here, overwriting the old file.
* linux/dev/drivers/scsi/sd_ioctl.c: Move file...
* linux/src/drivers/scsi/sd_ioctl.c: ... here, overwriting the old file.
* linux/dev/drivers/scsi/sd.c: Move file...
* linux/src/drivers/scsi/sd.c: ... here, overwriting the old file.
* linux/dev/drivers/scsi/hosts.c: Remove file.
* linux/dev/drivers/scsi/scsi.c: Likewise.
* linux/dev/drivers/block/ide.c: Move file...
* linux/src/drivers/block/ide.c: ... here, overwriting the old file.
* linux/dev/drivers/block/ide-cd.c: Remove file.
* linux/src/drivers/block/ide-cd.c (cdrom_sleep): Don't define function
`#ifndef MACH'.
2006-10-07 Thomas Schwinge <tschwinge@gnu.org>
* i386/linux/configure: Regernerate.
* i386/linux/device-drivers.h.in: Likewise.
* Drivers.macros (AC_DRIVER, AC_DRIVER_nodef): Rewrite to allow options
with dashes in them, make it usable more universally and enhance the
generated comments in header files.
* i386/linux/configure.ac (linux_DRIVER, linux_DRIVER_nodef): Enhance
DESCRIPTION.
(u1434f): Rename to `u14-34f'.
(smcultra): Rename to `smc-ultra'.
(smcultra32): Rename to `smc-ultra32'.
(hpplus): Rename to `hp-plus'.
(ne2kpci): Rename to `ne2k-pci'.
(viarhine): Rename to `via-rhine'.
(intelgige): Rename to `intel-gige'.
(winbond840): Rename to `winbond-840'.
(AC_PCMCIA_OPTION): Remove function.
(pcmcia-isa): Use `AC_DRIVER' instead of `AC_PCMCIA_OPTION'.
* i386/README-Drivers: Update accordingly.
2006-10-03 Thomas Schwinge <tschwinge@gnu.org>
[task #5941 --- ``Linker script for GNU Mach'']
* Makefile.in (kernel.o): Remove `$(systype)-objfiles-prepend' hackery.
* i386/Makefile.in (sysdep.a): Likewise.
* i386/Makerules.in: Likewise.
(LDFLAGS-kernel): Point to the linker script.
* i386/i386at/boothdr.S (_start): Don't put into `.text', but into
`.text.start' instead.
* i386/ldscript: Change to put `.text' at 0x100000 and put
`.text.start' first into `.text'.
* i386/ldscript: New file, copied from `/lib/ldscripts/elf_i386.x' of a
GNU Binutils 2.16.1 installation.
2006-09-25 Stefan Siegl <stesie@brokenpipe.de>
* linux/dev/glue/net.c (device_get_status): Reworked to not read
from STATUS. Fill `struct iw_point' correctly if necessary.
2006-09-23 Stefan Siegl <stesie@brokenpipe.de>
* i386/linux/configure: Regenerate.
* i386/linux/device-drivers.h.in: Likewise.
* i386/linux/configure.ac (AC_PCMCIA_OPTION): New function.
(--disable-pcmcia-isa): New configuration option to disable ISA-bus
support in the pcmcia core, which is otherwise enabled now by default.
* doc/mach.texi (Configuration): Briefly document the new configuration
option.
* i386/README-Drivers: Likewise.
2006-09-20 Thomas Schwinge <tschwinge@gnu.org>
* configure: Regenerate.
* i386/configure: Likewise.
* i386/linux/configure: Likewise.
* i386/linux/device-drivers.h.in: Likewise.
* Drivers.macros (AC_DRIVER_ALIAS): Remove definition.
(AC_DRIVER): Extend to take a `description' parameter and consider
`$enable_default_device_drivers'.
(AC_DRIVER_nodef): New definition.
* configure.in (options kdb, kmsg): Remove redundancy.
* i386/configure.in (option default-device-drivers): New option.
(option lpr): Consider `$enable_default_device_drivers'.
* i386/linux/configure.ac: Rework substantially. Remove all aliases.
Rename some of the device driver options.
(option default-device-drivers): New option.
(linux_DRIVER): Take care about a `description' parameter and don't
invoke AC_DRIVER_ALIAS.
(linux_DRIVER_nodef): New definition.
Adapt all usages of AC_DRIVER and linux_DRIVER to provide a
`description' parameter.
(g_NCR5380, NCR53c406a, eata_dma, wavelan, atp): Change from AC_DRIVER
to AC_DRIVER_nodef to have these device drivers disabled by default.
* doc/mach.texi: Add a note about the outdatedness to the configuration
option table.
* i386/README-Drivers: Update.
2006-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
[bug #17338 --- ``GNU Mach vs. GCC 4.1'']
* i386/i386/seg.h (struct pseudo_descriptor): Pack structure and
move the padding field to the end.
(lgdt): Pass the whole structure to the lgdt assembly command.
(lidt): Likewise.
2006-08-06 Thomas Schwinge <tschwinge@gnu.org>
* DEVELOPMENT: Update.
2006-07-31 Stefan Siegl <stesie@brokenpipe.de>
* doc/mach.texi (Configuration): Document the new PCMCIA drivers a bit
more.
* i386/README-Drivers: Likewise.
2006-07-27 Thomas Schwinge <tschwinge@gnu.org>
* i386/linux/configure: Regenerate.
* i386/linux/configure.ac: Pull in the pcmcia code only if really
needed.
* doc/mach.texi (Configuration): Very briefly document the new drivers.
* i386/README-Drivers: Likewise.
* linux/dev/include/linux/types.h (_MACH_SA_SYS_TYPES_H_): Define.
* i386/linux/configure: Regenerate.
* i386/linux/device-drivers.h.in: Likewise.
2006-07-27 Stefan Siegl <stesie@brokenpipe.de>
* i386/linux/configure.ac (pcmcia, wireless): New driver classes.
(i82365, 3c574_cs, 3c589_cs, axnet_cs, fmvj18x_cs, nmclan_cs, pcnet_cs)
(smc91c92_cs, xirc2ps_cs, orinoco_cs): New drivers.
* i386/linux/Makefile.in (linux-pcmcia-cs-modules-files)
(linux-pcmcia-cs-clients-files, linux-pcmcia-cs-wireless-files): New
variables. Add `vpath's to the files locations.
(all-linux-files): Add the three new variables.
(linux-pcmcia-cs-modules-flags, linux-pcmcia-cs-clients-flags)
(linux-pcmcia-cs-wireless-flags): New variables.
(linux-flags): Add code to handle the above files and flags.
* i386/i386at/i386at_ds_routines.c (emulation_list)
[LINUX_DEV && CONFIG_INET && CONFIG_PCMCIA]: Add the Linux pcmcia
emulation structure.
* linux/dev/glue/net.c: Include <linux/wireless.h>.
(device_get_status): Rewrite function.
(device_set_status): New function.
(linux_net_emulation_ops): Add `device_set_status' at the appropriate
position.
* linux/dev/init/main.c (linux_init) [CONFIG_PCMCIA]: Call pcmcia_init.
* linux/pcmcia-cs/glue/ds.c: New file.
* linux/pcmcia-cs/glue/pcmcia.c: Likewise.
* linux/pcmcia-cs/glue/pcmcia_glue.h: Likewise.
* linux/pcmcia-cs/glue/wireless_glue.h: Likewise.
* linux/pcmcia-cs/clients/xirc2ps_cs.c (busy_loop): Replace the code by
a call to __udelay.
* linux/pcmcia-cs/include/linux/init.h: Adapt to our Linux environment.
* linux/pcmcia-cs/include/linux/slab.h: Use `#include', not
`#include_next'.
* linux/pcmcia-cs/include/pcmcia/mem_op.h: Adapt to our Linux
environment and fix GCC 4.0 complaints.
* linux/pcmcia-cs/include/pcmcia/version.h: Always assume that
CONFIG_PCMCIA is not defined.
* linux/pcmcia-cs/modules/cs.c (init_pcmcia_cs): Don't make it static.
* linux/pcmcia-cs/modules/ds.c: Use some magic to avoid duplicate
definition `io_req_t'.
(ds_open, ds_release, ds_read, ds_write, ds_select, ds_poll, ds_fops):
Hide functions if MACH is defined.
Likewise for the module handling code.
(ds_ioctl): Use plain `memcpy' if MACH is defined.
(init_pcmcia_ds): Don't register charcater devices if MACH is defined.
Include "../glue/ds.c".
* linux/pcmcia-cs/modules/i82365.c (test_irq): Adapt to GNU Mach.
(init_i82365): Don't make it static.
* linux/pcmcia-cs/modules/pci_fixup.c (pci_devices): Don't define if
MACH is defined.
* linux/pcmcia-cs/wireless/orinoco.c: Adapt to our Linux environment.
2006-07-27 Thomas Schwinge <tschwinge@gnu.org>
Import a number of files from the pcmcia-cs package, version 3.2.8,
available from <http://pcmcia-cs.sourceforge.net/>.
* linux/pcmcia-cs/clients/3c574_cs.c: Import file.
* linux/pcmcia-cs/clients/3c589_cs.c: Likewise.
* linux/pcmcia-cs/clients/ax8390.h: Likewise.
* linux/pcmcia-cs/clients/axnet_cs.c: Likewise.
* linux/pcmcia-cs/clients/fmvj18x_cs.c: Likewise.
* linux/pcmcia-cs/clients/nmclan_cs.c: Likewise.
* linux/pcmcia-cs/clients/ositech.h: Likewise.
* linux/pcmcia-cs/clients/pcnet_cs.c: Likewise.
* linux/pcmcia-cs/clients/smc91c92_cs.c: Likewise.
* linux/pcmcia-cs/clients/xirc2ps_cs.c: Likewise.
* linux/pcmcia-cs/include/linux/crc32.h: Likewise.
* linux/pcmcia-cs/include/linux/init.h: Likewise.
* linux/pcmcia-cs/include/linux/slab.h: Likewise.
* linux/pcmcia-cs/include/pcmcia/bulkmem.h: Likewise.
* linux/pcmcia-cs/include/pcmcia/bus_ops.h: Likewise.
* linux/pcmcia-cs/include/pcmcia/ciscode.h: Likewise.
* linux/pcmcia-cs/include/pcmcia/cisreg.h: Likewise.
* linux/pcmcia-cs/include/pcmcia/cistpl.h: Likewise.
* linux/pcmcia-cs/include/pcmcia/cs.h: Likewise.
* linux/pcmcia-cs/include/pcmcia/cs_types.h: Likewise.
* linux/pcmcia-cs/include/pcmcia/driver_ops.h: Likewise.
* linux/pcmcia-cs/include/pcmcia/ds.h: Likewise.
* linux/pcmcia-cs/include/pcmcia/mem_op.h: Likewise.
* linux/pcmcia-cs/include/pcmcia/ss.h: Likewise.
* linux/pcmcia-cs/include/pcmcia/version.h: Likewise.
* linux/pcmcia-cs/modules/bulkmem.c: Likewise.
* linux/pcmcia-cs/modules/cirrus.h: Likewise.
* linux/pcmcia-cs/modules/cistpl.c: Likewise.
* linux/pcmcia-cs/modules/cs.c: Likewise.
* linux/pcmcia-cs/modules/cs_internal.h: Likewise.
* linux/pcmcia-cs/modules/ds.c: Likewise.
* linux/pcmcia-cs/modules/ene.h: Likewise.
* linux/pcmcia-cs/modules/i82365.c: Likewise.
* linux/pcmcia-cs/modules/i82365.h: Likewise.
* linux/pcmcia-cs/modules/o2micro.h: Likewise.
* linux/pcmcia-cs/modules/pci_fixup.c: Likewise.
* linux/pcmcia-cs/modules/ricoh.h: Likewise.
* linux/pcmcia-cs/modules/rsrc_mgr.c: Likewise.
* linux/pcmcia-cs/modules/smc34c90.h: Likewise.
* linux/pcmcia-cs/modules/ti113x.h: Likewise.
* linux/pcmcia-cs/modules/topic.h: Likewise.
* linux/pcmcia-cs/modules/vg468.h: Likewise.
* linux/pcmcia-cs/modules/yenta.h: Likewise.
* linux/pcmcia-cs/wireless/hermes.c: Likewise.
* linux/pcmcia-cs/wireless/hermes.h: Likewise.
* linux/pcmcia-cs/wireless/hermes_rid.h: Likewise.
* linux/pcmcia-cs/wireless/ieee802_11.h: Likewise.
* linux/pcmcia-cs/wireless/orinoco.c: Likewise.
* linux/pcmcia-cs/wireless/orinoco.h: Likewise.
* linux/pcmcia-cs/wireless/orinoco_cs.c: Likewise.
2006-07-24 Thomas Schwinge <tschwinge@gnu.org>
* Makerules.in (%.h %_user.c): Add `%.cli.d' to the target list.
Create these files by specifying `-MD' as a flag for mig and rename the
resulting files as needed.
Include these `*.cli.d' files instead of `*.migu.d' files.
(%_interface.h %_server.c): Likewise for `%.srv.d' / `*.migs.d'.
(%.migs.d, %.migu.d): Remove targets.
* Makefile.in (clean): Adapt to the above.
* i386/Makefile.in (clean): Likewise.
2006-06-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
* i386/i386at/kd_mouse.c (mouse_char_in, mouse_char) Remove variables.
(mouse_char_index) New variable.
(mouse_handle_byte, kd_mouse_read): Use MOUSEBUF instead of MOUSE_CHAR
for storing incoming command characters.
(kd_mouse_read_reset): New function.
(ibm_ps2_mouse_open, ibm_ps2_mouse_close): Call new kd_mouse_read_reset
function.
2006-06-09 Stefan Siegl <stesie@brokenpipe.de>
* linux/dev/include/asm-i386/uaccess.h: New dummy file.
* linux/dev/include/linux/pm.h: Likewise.
* linux/dev/include/linux/threads.h: Likewise.
* linux/src/include/linux/symtab_begin.h: New file from Linux 2.0.40.
* linux/src/include/linux/symtab_end.h: Likewise.
* linux/src/include/linux/module.h: Update from Linux 2.0.40 with minor
changes.
* linux/src/include/linux/list.h: New file from Linux 2.2.26.
* linux/src/include/linux/kcomp.h: Likewise with minor changes.
* linux/src/include/linux/wait.h: Update from Linux 2.2.26.
* linux/src/include/linux/wireless.h: Likewise.
* linux/src/include/asm-i386/bitops.h [__KERNEL__] (ffs, hweight32)
(hweight16, hweight8): Copy from Linux 2.2.26.
* kern/printf.c (_doprnt): Support printing of pointer addresses.
2006-05-14 Roland McGrath <roland@frob.com>
[sync from HEAD, 2002-06-17]
* device/if_hdr.h: Replace ancient UCB copyright terms with current
approved UCB terms.
* include/sys/reboot.h: Likewise.
* include/device/disk_status.h: Likewise.
* include/device/tape_status.h: Likewise.
* device/net_io.c: Remove advertising clause from UCB copyright terms.
* include/device/audio_status.h: Likewise.
* include/device/bpf.h: Likewise.
2006-05-14 Thomas Schwinge <tschwinge@gnu.org>
* i386/i386at/autoconf.c (bus_device_init) <lpr> [! LINUX_DEV]: Depend
on `MACH_LPR' instead.
* i386/i386at/lpr.c: Fix obsolescent `#else' / `#endif' syntax.
2006-05-12 Stefan Siegl <stesie@brokenpipe.de>
* linux/dev/glue/kmem.c (vfree): Panic if `vmalloc_list_lookup' did
NOT succeed.
2006-05-08 Thomas Schwinge <tschwinge@gnu.org>
* DEVELOPMENT: Document Samuel's patch.
2006-05-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
[bug #7118 --- ``GNU Mach can't handle 1G memory'']
* i386/i386at/model_dep.c (mem_size_init): Limit memory to what can
actually be used (minus a little extra for virtual mappings).
* i386/intel/pmap.c (pmap_bootstrap): Extend the virtual mapping area
according to memory size for at least being able to manage it. But
look out for wrap and limit it to kernel adresses. Remove duplicate
computing.
2006-04-27 Richard Braun <syn@hurdfr.org>
Manuel Menal <mmenal@hurdfr.org>
* device/if_hdr.h (struct ifnet): Added new members `if_snd_port_list'
and `if_snd_port_list_lock'.
* device/net_io.c: Reworked to improve BPF support. Filters can be
applied to ingress packets, egress packets, or both.
* device/subrs.c: Initialize the `if_snd_port_list' and
`if_snd_port_list_lock'.
* include/device/bpf.h [0]: Enable unconditionally.
Include <sys/types.h>.
(BPF_IN, BPF_OUT): New macros.
* include/device/net_status.h (NETF_TYPE_MASK, NETF_IN, NETF_OUT): New
macros.
(struct net_rcv_msg): New member `sent'.
* linux/dev/glue/net.c: Mark ingress packets as received and inject
egress packets into the packet filters.
2006-04-26 Thomas Schwinge <tschwinge@gnu.org>
* Makefile.in: Replace `make' with `$(MAKE)'.
* i386/Makefile.in: Likewise.
Reported by Leonardo Lopes Pereira <leonardolopespereira@gmail.com>.
2006-04-08 Thomas Schwinge <tschwinge@gnu.org>
* i386/Makefile.in (INCLUDES): Don't add `$(srcdir)/bogus'.
* i386/Makerules.in (INCLUDES): Add
`$(abs_top_srcdir)/$(systype)/bogus'.
Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
2006-04-02 Thomas Schwinge <tschwinge@gnu.org>
* Makerules.in (%_user.c, %_server.c): Those are `.PRECIOUS'.
(%.migs.d, %.migu.d): New targets.
(%.migs_d, %.migu_d, %.migsh_d, %.miguh_d): Remove targets.
Adapt the `include's to the renamed targets.
* Makefile.in (clean): Adapt to the renamed targets.
* i386/Makefile.in (clean): Likewise.
* i386/Makefile.in (boothdr.o): New target.
2006-03-21 Thomas Schwinge <tschwinge@gnu.org>
* Makefile.in (clean): Also remove `kernel.gz', `kernel.stripped' and
`kernel.stripped.gz'.
* Makefile.in (kernel.o): Handle `$(systype)-objfiles-prepend'.
* i386/Makefile.in (sysdep.a): Likewise.
* i386/Makerules.in (kernel-objfiles-prepend): Transform variable into
`$(systype)-objfiles-prepend'.
(kernel.o): Remove target.
2006-03-20 Thomas Schwinge <tschwinge@gnu.org>
* DEVELOPMENT: Document the NORMA removal.
2006-03-20 Leonardo Lopes Pereira <leonardolopespereira@gmail.com>
Remove unused and unsupported code. Consult the file `DEVELOPMENT'
for details.
[patch #4982 --- ``remove of unused / unsuported functions of
gnumach-1-branch'']
* bogus/norma_device.h: Remove file.
* bogus/norma_ether.h: Likewise.
* bogus/norma_ipc.h: Likewise.
* bogus/norma_task.h: Likewise.
* bogus/norma_vm.h: Likewise.
* include/mach/mach_norma.defs: Likewise.
* include/mach/norma_task.defs: Likewise.
* include/mach/norma_special_ports.h: Likewise.
* Makefile.in (bogus-files): Remove `norma_device.h', `norma_ether.h',
`norma_ipc.h', `norma_task.h' and `norma_vm.h'.
(mach-headers): Remove `mach_norma.defs', `norma_task.defs' and
`norma_special_ports.h'.
* device/ds_routines.c: Don't include <norma_device.h> anymore and
adapt all users of NORMA_DEVICE as if it were always defined to `0'.
* device/net_io.c: Likewise for <norma_ether.h>, NORMA_ETHER.
* kern/machine.c: Likewise.
* ddb/db_command.c: Likevise for <norma_ipc.h>, NORMA_IPC.
* ipc/ipc_init.c: Likewise.
* ipc/ipc_kmsg.c: Likewise.
* ipc/ipc_kmsg.h: Likewise.
* ipc/ipc_mqueue.c: Likewise.
* ipc/ipc_notify.c: Likewise.
* ipc/ipc_port.c: Likewise.
* ipc/ipc_port.h: Likewise.
* ipc/ipc_space.c: Likewise.
* ipc/ipc_space.h: Likewise.
* ipc/mach_msg.c: Likewise.
* kern/ast.c: Likewise.
* kern/debug.c: Likewise.
* kern/exception.c: Likewise.
* kern/startup.c: Likewise.
* vm/memory_object.c: Likewise.
* vm/vm_map.c: Likewise.
* kern/ipc_kobject.c: Likewise for <norma_task.h>, NORMA_TASK.
* kern/task.c: Likewise.
* kern/task.h: Likewise.
* ddb/db_command.c: Likewise for <norma_vm.h>, NORMA_VM.
* device/dev_pager.c: Likewise.
* include/mach/mach_types.defs: Likewise.
* include/mach/mach_types.h: Likewise.
* include/mach/memory_object_default.defs: Likewise.
* include/mach/memory_object.defs: Likewise.
* ipc/ipc_kmsg.c: Likewise.
* kern/ipc_kobject.c: Likewise.
* kern/ipc_mig.c: Likewise.
* kern/startup.c: Likewise.
* vm/memory_object.c: Likewise.
* vm/vm_object.c: Likewise.
* vm/vm_object.h: Likewise.
* vm/vm_pageout.c: Likewise.
2006-03-19 Thomas Schwinge <tschwinge@gnu.org>
* DEVELOPMENT: Document the FIPC removal.
2006-03-19 Leonardo Lopes Pereira <leonardolopespereira@gmail.com>
Remove unused and unsupported code. Consult the file `DEVELOPMENT'
for details.
[patch #4982 --- ``remove of unused / unsuported functions of
gnumach-1-branch'']
* ipc/fipc.c: Remove file.
* ipc/fipc.h: Likewise.
* Makefile.in (ipc-cfiles): Remove `fipc.c'.
(ipc-files): Remove `fipc.h'.
* device/device_init.c [FIPC]: Remove code.
* device/net_io.c [FIPC]: Likewise.
* include/mach/syscall_sw.h [FIPC]: Likewise.
* kern/syscall_sw.c [FIPC]: Likewise.
2006-03-15 Thomas Schwinge <tschwinge@gnu.org>
* configure.in: Check for strip and gzip.
* configure: Regenerated.
* Makerules.in (GZIP, STRIP): New variables.
(%.gz, %.stripped): New targets.
2006-03-04 Roland McGrath <roland@frob.com>
* Makefile.in (DEFS): Substitute once and use the variable elsewhere.
2006-03-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
[patch #4737 --- ``User TSS fixup'']
* i386/i386/iopb.c: Include "vm_param.h".
(io_tss_init): Fix address and limit of user TSS.
2006-03-04 Thomas Schwinge <tschwinge@gnu.org>
Remove unused and unsupported code. Consult the file
`DEVELOPMENT' for details. Partly based on suggestions by
Gianluca Guida <glguida@gmail.com>.
* i386/bogus/par.h: Remove file.
* i386/i386at/if_par.c: Likewise.
* i386/i386at/if_par.h: Likewise.
* i386/i386at/conf.c: Don't include <par.h> anymore and adapt all users
of NPAR as if it were always defined to `0'.
* i386/i386at/lpr.c: Likewise.
* i386/bogus/de6c.h: Remove file.
* i386/i386at/if_de6c.c: Likewise.
* i386/i386at/if_de6c.h: Likewise.
* i386/i386at/if_de6s.S: Likewise.
* i386/i386at/conf.c: Don't include <de6c.h> anymore and adapt all
users of NDE6C as if it were always defined to `0'.
* i386/i386at/lpr.c: Likewise.
2006-02-20 Thomas Schwinge <tschwinge@gnu.org>
Remove unused and unsupported code. Consult the file
`DEVELOPMENT' for details. Partly based on suggestions by
Gianluca Guida <glguida@gmail.com>.
* i386/bogus/blit.h: Remove file.
* i386/i386at/blit.c: Likewise.
* i386/i386at/blitreg.h: Likewise.
* i386/i386at/blituser.h: Likewise.
* i386/i386at/blitvar.h: Likewise.
* i386/i386at/conf.c: Don't include <blit.h> anymore and adapt all
users of NBLIT as if it were always defined to `0'.
* i386/i386at/kd.c: Likewise.
(blit_init): Remove definition.
(blit_present): Likewise and adapt all users as if it were always
defined to `FALSE'.
* i386/Makefile.in (i386at-files): Remove `blit.c'.
* bogus/net_atm.h: Remove file.
* Makefile.in (bogus-files): Remove `net_atm.h'.
* kern/syscall_sw.c: Don't include <net_atm.h> anymore and adapt all
users of NET_ATM as if it were always defined to `0'.
* kern/task.c: Likewise.
* kern/task.h: Likewise.
* kern/thread.c: Likewise.
* kern/thread.h: Likewise.
* util/about_to_die.c: Remove file.
* util/config.h: Likewise.
* util/cpu.c: Likewise.
* util/cpu.h: Likewise.
* util/cpu_init.c: Likewise.
* util/cpu_subs.h: Likewise.
* util/debug.h: Likewise.
* util/die.c: Likewise.
* util/phys_mem.h: Likewise.
* util/ref_count.h: Likewise.
* util/cpus.h: Move from here...
* bogus/cpus.h: ... to here.
* Makefile.in (bogus-files): Add `cpus.h'.
(util-cfiles): Only contain `putchar.c' and `puts.c'.
(util-files): Only contain `$(util-cfiles)'.
* i386/util/NOTES: Remove file.
* i386/util/anno.c: Likewise.
* i386/util/anno.h: Likewise.
* i386/util/cpu.h: Likewise.
* i386/util/cpu_subs.h: Likewise.
* i386/util/cpu_tables_init.c: Likewise.
* i386/util/cpu_tables_load.c: Likewise.
* i386/util/crtn.S: Likewise.
* i386/util/debug.h: Likewise.
* i386/util/gdt.c: Likewise.
* i386/util/gdt.h: Likewise.
* i386/util/gdt_sels.h: Likewise.
* i386/util/i16/debug.h: Likewise.
* i386/util/i16/i16.h: Likewise.
* i386/util/i16/i16_die.c: Likewise.
* i386/util/i16/i16_gdt_init_temp.c: Likewise.
* i386/util/i16/i16_nanodelay.c: Likewise.
* i386/util/i16/i16_puts.c: Likewise.
* i386/util/i16/i16_writehex.c: Likewise.
* i386/util/i386_asm.sym: Likewise.
* i386/util/idt.c: Likewise.
* i386/util/idt.h: Likewise.
* i386/util/idt_inittab.S: Likewise.
* i386/util/idt_inittab.h: Likewise.
* i386/util/ldt.h: Likewise.
* i386/util/trap.h: Likewise.
* i386/util/trap_asm.sym: Likewise.
* i386/util/trap_dump.c: Likewise.
* i386/util/trap_dump_die.c: Likewise.
* i386/util/trap_handler.S: Likewise.
* i386/util/trap_return.S: Likewise.
* i386/util/tss.c: Likewise.
* i386/util/tss.h: Likewise.
* i386/util/tss_dump.c: Likewise.
* i386/util/vm_param.h: Likewise.
* i386/pc/NOTES: Remove file.
* i386/pc/debug.h: Likewise.
* i386/pc/exit.c: Likewise.
* i386/pc/gdt.h: Likewise.
* i386/pc/gdt_sels.h: Likewise.
* i386/pc/i16/i16_a20.c: Likewise.
* i386/pc/i16/i16_a20.h: Likewise.
* i386/pc/i16/i16_bios.h: Likewise.
* i386/pc/i16/i16_exit.c: Likewise.
* i386/pc/i16/i16_ext_mem.c: Likewise.
* i386/pc/i16/i16_init.c: Likewise.
* i386/pc/i16/i16_main.c: Likewise.
* i386/pc/i16/i16_pic.c: Likewise.
* i386/pc/i16/i16_putchar.c: Likewise.
* i386/pc/i16/i16_raw.c: Likewise.
* i386/pc/i16/i16_raw_test_a20.S: Likewise.
* i386/pc/i16/i16_real_int.S: Likewise.
* i386/pc/i16/i16_switch.h: Likewise.
* i386/pc/i16/phys_mem_collect.c: Likewise.
* i386/pc/i16/phys_mem_sources.h: Likewise.
* i386/pc/i16/raw_exit.c: Likewise.
* i386/pc/i16/raw_real_int.c: Likewise.
* i386/pc/ipl.h: Likewise.
* i386/pc/irq.h: Likewise.
* i386/pc/irq_list.h: Likewise.
* i386/pc/pc_asm.sym: Likewise.
* i386/pc/phys_mem.h: Likewise.
* i386/pc/phys_mem_add.c: Likewise.
* i386/pc/pic.c: Likewise.
* i386/pc/pic.h: Likewise.
* i386/pc/putchar.c: Likewise.
* i386/pc/real.h: Likewise.
* i386/pc/real_tss.c: Likewise.
* i386/pc/real_tss.h: Likewise.
* i386/pc/real_tss_def.S: Likewise.
* i386/pc/rv86/config.h: Likewise.
* i386/pc/rv86/gdt_sels.h: Likewise.
* i386/pc/rv86/idt_irq_init.c: Likewise.
* i386/pc/rv86/rv86_real_int.c: Likewise.
* i386/pc/rv86/rv86_real_int_asm.S: Likewise.
* i386/pc/rv86/rv86_reflect_irq.S: Likewise.
* i386/pc/rv86/rv86_trap_handler.S: Likewise.
* i386/pc/rv86/trap_handler.S: Likewise.
* i386/imps/Makefile.in: Remove file.
* i386/imps/apic.h: Likewise.
* i386/imps/cpu_number.h: Likewise.
* i386/imps/cpus.h: Likewise.
* i386/imps/imps.c: Likewise.
* i386/imps/impsasm.sym: Likewise.
* i386/dos/dos_buf.c: Remove file.
* i386/dos/dos_check_err.c: Likewise.
* i386/dos/dos_close.c: Likewise.
* i386/dos/dos_fstat.c: Likewise.
* i386/dos/dos_gettimeofday.c: Likewise.
* i386/dos/dos_io.h: Likewise.
* i386/dos/dos_open.c: Likewise.
* i386/dos/dos_read.c: Likewise.
* i386/dos/dos_rename.c: Likewise.
* i386/dos/dos_seek.c: Likewise.
* i386/dos/dos_tcgetattr.c: Likewise.
* i386/dos/dos_unlink.c: Likewise.
* i386/dos/dos_write.c: Likewise.
* i386/dos/i16/gdt.h: Likewise.
* i386/dos/i16/gdt_sels.h: Likewise.
* i386/dos/i16/i16_crt0.S: Likewise.
* i386/dos/i16/i16_crt0.h: Likewise.
* i386/dos/i16/i16_dos.h: Likewise.
* i386/dos/i16/i16_dos_mem.c: Likewise.
* i386/dos/i16/i16_exit.c: Likewise.
* i386/dos/i16/i16_main.c: Likewise.
* i386/dos/i16/i16_putchar.c: Likewise.
* i386/dos/i16/i16_vcpi.c: Likewise.
* i386/dos/i16/i16_xms.c: Likewise.
* i386/dos/i16/idt.h: Likewise.
* i386/dos/i16/phys_mem_sources.h: Likewise.
* i386/dos/putchar.c: Likewise.
* chips/atm.c: Remove file.
* chips/atmreg.h: Likewise.
* chips/audio.c: Likewise.
* chips/audio_config.h: Likewise.
* chips/audio_defs.h: Likewise.
* chips/bt431.c: Likewise.
* chips/bt431.h: Likewise.
* chips/bt455.c: Likewise.
* chips/bt455.h: Likewise.
* chips/bt459.c: Likewise.
* chips/bt459.h: Likewise.
* chips/bt478.c: Likewise.
* chips/bt478.h: Likewise.
* chips/build_font.c: Likewise.
* chips/cfb_hdw.c: Likewise.
* chips/cfb_misc.c: Likewise.
* chips/dc503.c: Likewise.
* chips/dc503.h: Likewise.
* chips/dtop.h: Likewise.
* chips/dtop_handlers.c: Likewise.
* chips/dtop_hdw.c: Likewise.
* chips/dz_7085.h: Likewise.
* chips/dz_defs.h: Likewise.
* chips/dz_hdw.c: Likewise.
* chips/eccreg.h: Likewise.
* chips/fb_hdw.c: Likewise.
* chips/fb_misc.c: Likewise.
* chips/fdc_82077.h: Likewise.
* chips/fdc_82077_hdw.c: Likewise.
* chips/frc.c: Likewise.
* chips/ims332.c: Likewise.
* chips/ims332.h: Likewise.
* chips/isdn_79c30.h: Likewise.
* chips/isdn_79c30_hdw.c: Likewise.
* chips/kernel_font.c: Likewise.
* chips/kernel_font.data: Likewise.
* chips/lance.c: Likewise.
* chips/lance.h: Likewise.
* chips/lance_mapped.c: Likewise.
* chips/lk201.c: Likewise.
* chips/lk201.h: Likewise.
* chips/mc_clock.c: Likewise.
* chips/mc_clock.h: Likewise.
* chips/mouse.c: Likewise.
* chips/nc.c: Likewise.
* chips/nc.h: Likewise.
* chips/nw.h: Likewise.
* chips/nw_mk.c: Likewise.
* chips/nw_mk.h: Likewise.
* chips/pm_defs.h: Likewise.
* chips/pm_hdw.c: Likewise.
* chips/pm_misc.c: Likewise.
* chips/scc_8530.h: Likewise.
* chips/scc_8530_hdw.c: Likewise.
* chips/screen.c: Likewise.
* chips/screen.h: Likewise.
* chips/screen_defs.h: Likewise.
* chips/screen_switch.c: Likewise.
* chips/screen_switch.h: Likewise.
* chips/serial_console.c: Likewise.
* chips/serial_defs.h: Likewise.
* chips/sfb_hdw.c: Likewise.
* chips/sfb_misc.c: Likewise.
* chips/spans.c: Likewise.
* chips/spans.h: Likewise.
* chips/tca100.c: Likewise.
* chips/tca100.h: Likewise.
* chips/tca100_if.c: Likewise.
* chips/tca100_if.h: Likewise.
* chips/vs42x_rb.h: Likewise.
* chips/xcfb_hdw.c: Likewise.
* chips/xcfb_misc.c: Likewise.
* chips/xcfb_monitor.h: Likewise.
* Makefile.in (chips-files): Only contain `busses.c' and `busses.h'.
* kern/syscall_sw.c: Don't include <chips/nw_mk.h> anymore.
* i386/i386at/asm_startup.h: Remove file.
* i386/i386at/phys_mem_grab_page.c: Likewise.
* i386/Makefile.in (i386at-files): Remove `phys_mem_grab_page.c'.
* i386/bogus/evc.h: Remove file.
* i386/i386at/kd.c: Don't include <evc.h> anymore and adapt all users
of NEVC as if it were always defined to `0'.
(evc1init): Remove definition and adapt all users as if it were always
defined to `FALSE'.
* i386/bogus/nscsi.h: Remove file.
* i386/i386at/model_dep.c: Don't include <nscsi.h> anymore and adapt
all users of NSCSI as if it were always defined to `0'.
(use_all_mem): Don't define anymore and adapt all users as if it were
always defined to `1'.
(NBBY, NBPW, DMA_MAX): Remove macros.
(alloc_dma_mem): Remove function.
* i386/bogus/asc.h: Remove file.
* i386/bogus/aha.h: Likewise.
* i386/bogus/eaha.h: Likewise.
* i386/bogus/sbic.h: Likewise.
* i386/bogus/sci.h: Likewise.
* i386/bogus/sii.h: Likewise.
* i386/bogus/siop.h: Likewise.
* i386/i386at/eisa.h: Likewise.
* scsi/adapters/README: Likewise.
* scsi/adapters/scsi_33C93.h: Likewise.
* scsi/adapters/scsi_33C93_hdw.c: Likewise.
* scsi/adapters/scsi_5380.h: Likewise.
* scsi/adapters/scsi_5380_hdw.c: Likewise.
* scsi/adapters/scsi_53C700.h: Likewise.
* scsi/adapters/scsi_53C700_hdw.c: Likewise.
* scsi/adapters/scsi_53C94.h: Likewise.
* scsi/adapters/scsi_53C94_hdw.c: Likewise.
* scsi/adapters/scsi_7061.h: Likewise.
* scsi/adapters/scsi_7061_hdw.c: Likewise.
* scsi/adapters/scsi_89352.h: Likewise.
* scsi/adapters/scsi_89352_hdw.c: Likewise.
* scsi/adapters/scsi_aha15.h: Likewise.
* scsi/adapters/scsi_aha15_hdw.c: Likewise.
* scsi/adapters/scsi_aha17_hdw.c: Likewise.
* scsi/adapters/scsi_dma.h: Likewise.
* scsi/adapters/scsi_user_dma.c: Likewise.
* scsi/adapters/scsi_user_dma.h: Likewise.
* scsi/compat_30.h: Likewise.
* scsi/disk_label.c: Likewise.
* scsi/mapped_scsi.c: Likewise.
* scsi/mapped_scsi.h: Likewise.
* scsi/pc_scsi_label.c: Likewise.
* scsi/rz.c: Likewise.
* scsi/rz.h: Likewise.
* scsi/rz_audio.c: Likewise.
* scsi/rz_cpu.c: Likewise.
* scsi/rz_disk.c: Likewise.
* scsi/rz_disk_bbr.c: Likewise.
* scsi/rz_host.c: Likewise.
* scsi/rz_labels.h: Likewise.
* scsi/rz_tape.c: Likewise.
* scsi/scsi.c: Likewise.
* scsi/scsi.h: Likewise.
* scsi/scsi2.h: Likewise.
* scsi/scsi_alldevs.c: Likewise.
* scsi/scsi_comm.c: Likewise.
* scsi/scsi_cpu.c: Likewise.
* scsi/scsi_defs.h: Likewise.
* scsi/scsi_disk.c: Likewise.
* scsi/scsi_endian.h: Likewise.
* scsi/scsi_jukebox.c: Likewise.
* scsi/scsi_optical.c: Likewise.
* scsi/scsi_printer.c: Likewise.
* scsi/scsi_rom.c: Likewise.
* scsi/scsi_scanner.c: Likewise.
* scsi/scsi_tape.c: Likewise.
* scsi/scsi_worm.c: Likewise.
* i386/i386at/autoconf.c: Don't include <aha.h> and <eaha.h> anymore
and adapt all users of NAHA and NEAHA as if it were always defined to
`0'.
* i386/i386at/conf.c: Likewise.
* Makefile.in (scsi-files): Remove variable and all users of it.
* i386/bogus/wt.h: Remove file.
* i386/i386at/autoconf.c: Don't include <wt.h> anymore and adapt all
users of NWT as if it were always defined to `0'.
* i386/i386at/conf.c: Likewise.
* i386/bogus/hpp.h: Remove file.
* i386/bogus/ul.h: Likewise.
* i386/bogus/wd.h: Likewise.
* i386/i386at/gpl/if_hpp.c: Likewise.
* i386/i386at/gpl/if_ns.c: Likewise.
* i386/i386at/gpl/if_nsreg.h: Likewise.
* i386/i386at/gpl/if_ul.c: Likewise.
* i386/i386at/gpl/if_wd.c: Likewise.
* i386/i386at/autoconf.c: Don't include <hpp.h>, <ul.h> and <wd.h>
anymore and adapt all users of NHPP, NUL and NWD as if they were always
defined to `0'.
* i386/i386at/conf.c: Likewise.
* i386/bogus/at3c501.h: Remove file.
* i386/i386at/if_3c501.c: Likewise.
* i386/i386at/if_3c501.h: Likewise.
* i386/i386at/autoconf.c: Don't include <at3c501.h> anymore and adapt
all users of NAT3C501 as if it were always defined to `0'.
* i386/i386at/conf.c: Likewise.
* i386/bogus/ns8390.h: Remove file.
* i386/i386at/ds8390.h: Likewise.
* i386/i386at/if_3c503.h: Likewise.
* i386/i386at/if_ns8390.c: Likewise.
* i386/i386at/if_ns8390.h: Likewise.
* i386/i386at/if_wd8003.h: Likewise.
* i386/i386at/autoconf.c: Don't include <ns8390.h> anymore and adapt
all users of NNS8390 as if it were always defined to `0'.
* i386/i386at/conf.c: Likewise.
* i386/bogus/ne.h: Remove file.
* i386/i386at/if_ne.c: Likewise.
* i386/i386at/if_nereg.h: Likewise.
* i386/i386at/autoconf.c: Don't include <ne.h> anymore and adapt all
users of NNE as if it were always defined to `0'.
* i386/i386at/conf.c: Likewise.
* i386/bogus/pc586.h: Remove file.
* i386/i386at/i82586.h: Likewise.
* i386/i386at/if_pc586.c: Likewise.
* i386/i386at/if_pc586.h: Likewise.
* i386/i386at/autoconf.c: Don't include <pc586.h> anymore and adapt all
users of NPC586 as if it were always defined to `0'.
* i386/i386at/conf.c: Likewise.
* i386/bogus/fd.h: Remove file.
* i386/i386at/fd.c: Likewise.
* i386/i386at/fdreg.h: Likewise.
* i386/i386at/nfd.c: Likewise.
* i386/i386at/nfdreg.h: Likewise.
* i386/Makefile.in (i386at-files): Remove `fd.c'.
* i386/i386at/autoconf.c: Don't include <fd.h> anymore and adapt all
users of NFD as if it were always defined to `0'.
* i386/i386at/conf.c: Likewise.
* i386/bogus/hd.h: Remove file.
* i386/i386at/nhd.c: Likewise.
* i386/i386at/nhdreg.h: Likewise.
* i386/i386at/autoconf.c: Don't include <hd.h> anymore and adapt all
users of NHD as if it were always defined to `0'.
* i386/i386at/conf.c: Likewise.
* DEVELOPMENT: New file.
2006-02-05 Thomas Schwinge <tschwinge@gnu.org>
* Makerules.in: Don't set no_deps to true if MAKECMDGOALS is empty.
2006-02-03 Thomas Schwinge <tschwinge@gnu.org>
* Makerules.in: Set no_deps to true if we don't need the dependency
files.
* i386/linux/Makefile.in: Do care about linux-flags if no_deps is true;
reverting the change from 2006-01-31.
* Makefile.in: Include Makerules through top_builddir, so that it will
automatically be rebuilt if needed.
* Makerules.in (CFLAGS): Added -fno-strict-aliasing.
* i386/linux/Makefile.in (linux-gen-flags): Likewise.
2006-02-02 Sergio Lopez <koro@sinrega.org>
* linux/src/drivers/scsi/eata_pio.c (eata_pio_detect): Fix a
off-by-one error when probing.
* linux/src/drivers/scsi/eata_dma.c (eata_detect): Likewise.
* linux/dev/drivers/scsi/eata_dma.c (eata_detect): Likewise.
* linux/src/drivers/net/apricot.c (apricot_probe): Increase eth_addr
size to 8 so we do not trash the stack when reading from the io ports.
2006-02-02 Thomas Schwinge <tschwinge@gnu.org>
* Makerules.in: Move a comment ...
* Makefile.in: ... here.
2006-02-01 Thomas Schwinge <tschwinge@gnu.org>
* linux/dev/drivers/block/genhd.c (add_bsd_partition): Only define if
both MACH and CONFIG_BSD_DISKLABEL are defined.
Reported by Matheus Morais <matheus.morais@gmail.com>.
2006-01-31 Thomas Schwinge <tschwinge@gnu.org>
Cleanup of GNU Mach's build system. The system dependent parts are now
handled by the respective Makefile and no longer by the top-level one.
* configure, i386/configure, i386/linux/configure, linux/configure:
Regenerated.
* Makefile.in: Various cleanups.
(mach/machine, mach_machine): Targets removed.
(AWK, CC, CFLAGS, CPPFLAGS, DEFINES, INCLUDES, INSTALL, INSTALL_DATA)
(INSTALL_PROGRAM, LD, MIG, MIGFLAGS, NM): Variables moved into
Makerules.in.
Do not include $(sysdep)/Makefrag anymore.
(all, check, clean, distclean, mostlyclean, maintainer-clean, install)
(install-headers, install-kernel): Recurse into the system dependent
subdirectory.
(check): Add a basic test using mbchk.
(clean, distclean): Be more explicit in what to delete.
($(systype)/%): New target.
(kernel.o): Incorporate the system dependent archive.
(installed-sysdep-headers-names, $(installed-sysdep-headers-names)):
Variable and target moved into the system dependent Makefile.in.
(install-headers, mkheaderdirs): Don't care for the system dependent
header files.
(%.symc, %.symc.o, %.h, %_user.c, %_interface.h, %_server.c): Targets
moved into Makerules.in.
Inclusion of dependency files: Likewise.
(%.migs_d, %.migu_d, %.migsh_d, %.miguh_d, make-deps, %.d): Likewise.
Include Makerules.
* Makerules.in: New file, mainly based on Makefile.in.
* configure.in: Do not substitute cross_compiling and not explicitly
substitute LDFLAGS.
Check for cpp, ranlib, ar and mbchk.
Care for the mach/machine symbolic link.
Add Makerules as a config file.
* i386/Makefile.in: Various cleanups.
Merge i386/Makefrag and the system dependent stuff from Makefile.in
into this file.
(all, check, install, install-headers, install-kernel): Recurse into
the system dependent subdirectory.
(sysdep.o): transformed to the new target sysdep.a.
(linux/linux.o): Target removed.
(clean, distclean): Be more explicit in what to delete.
(linux/%): New target.
(install-headers): Install the system dependent header files.
(mkheaderdirs): New target.
Include the top-level Makerules.
* i386/Makefrag: File removed.
* i386/Makerules.in: New file.
* i386/configure.in: Synchronize AC_INIT to the top-level definition.
Do not check for ld and make.
Add Makerules as a config file.
* i386/linux/Makefile.in: Various cleanups.
Replace linux-objs with objfiles.
(check, install, install-headers, install-kernel): New empty targets.
Don't care about linux-flags if no_deps is true.
Inclusion of dependency files removed and instead...
Include the top-level Makerules.
* i386/linux/Makerules.in: New file.
* i386/linux/configure.ac: Synchronize AC_INIT to the top-level
definition.
Do not check for gcc and ld.
Do not explicitly substitute LDFLAGS.
Add Makerules as a config file.
* linux/configure.in: Synchronize AC_INIT to the top-level definition.
Do not create directories using a dummy file.
* linux/dummy.in: File removed.
* ddb/db_access.h: Include <machine/vm_param.h> instead of
"vm_param.h".
* kern/bootstrap.c: Likewise.
* kern/thread.c: Likewise.
* vm/vm_kern.c: Likewise.
* vm/vm_object.c: Likewise.
* vm/vm_resident.c: Likewise.
2006-01-26 Thomas Schwinge <tschwinge@gnu.org>
* config.guess: Updated from the canonical source.
* config.sub: Likewise.
2006-01-26 Jeroen Dekkers <jeroen@dekkers.cx>
* i386/i386/locore.S (trap_push_segs): Switch fs and gs to kernel
data segment too.
(syscall_entry_2): Likewise.
* i386/i386/user_ldt.c (i386_set_ldt): Always copy the master LDT
when there is no old user LDT.
2006-01-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
* linux/dev/arch/i386/kernel/irq.c (linux_intr): Disable interrupts
if the driver requested it through request_irq().
* linux/dev/drivers/block/ide.c (read_intr): Set the IRQ handler before
issuing a request.
(write_intr): Likewise.
(multwrite_intr): Likewise.
2006-01-26 Thomas Schwinge <tschwinge@gnu.org>
* i386/linux/Makefile.in: Automatically recreate the `Makefile'.
2006-01-23 Thomas Schwinge <tschwinge@gnu.org>
* i386/linux/configure: Regenerated.
* i386/linux/configure.ac: Only add a AC_DRIVER_ALIAS if it really is a
alias.
2006-01-22 Thomas Schwinge <tschwinge@gnu.org>
* doc/mach.texi (Configuration): Document the recently added drivers.
* i386/README-Drivers: Likewise.
* configure, i386/configure, i386/linux/configure, linux/configure,
i386/linux/device-drivers.h.in: Regenerated.
* linux/src/drivers/net/ne2k-pci.c: Resolve conflicts.
2006-01-22 Guillem Jover <guillem@hadrons.org>
* i386/linux/configure.ac: Renamed winbond-840 driver to winbond_840.
Enable the starfire, intel_gige and natsemi network drivers. Remove
"CONFIG_" from cb_chim, starfire, sundance, winbond840, hamachi,
natsemi, myson803 and ns820 driver declarations. Replace INTER_GIGE
with INTEL_GIGE.
* linux/dev/drivers/net/Space.c: Add conditional probes for natsemi,
ns820, winbond840, hamachi, sundance, starfire, myson803 and intel-gige
drivers.
* linux/src/include/asm-i386/cache.h: New file from linux 2.2.26.
* linux/dev/include/linux/malloc.h: Include <asm/cache.h>.
* linux/src/drivers/net/ns820.c (netsami_drv_id): Renamed to ...
(ns820_drv_id): ... this. Fix all callers.
* linux/src/drivers/net/intel-gige.c
(skel_netdev_probe): Renamed to ...
(igige_probe): ... this.
* linux/dev/drivers/net/eepro100.c: Remove obsoleted file.
* linux/src/drivers/net/eepro100.c (pci_id_tbl): Add PCI ID's from
linux-2.6.14-rc4.
2006-01-22 Alfred M. Szmidt <ams@gnu.org>
* i386/linux/configure.ac: Added `pci-scan.o' to the network driver
class. (ns820, myson803, sundance, winbond-840, hamachi): New drivers.
* i386/linux/Makefile.in (linux-net-files): Added `cb_shim.c',
`hamachi.c', `intel-gige.c', `myson803.c', `natsemi.c', `ns820.c',
`starfire.c', `sundance.c', `winbond-840.c' and `pci-scan.c'.
* linux/dev/include/linux/modversions.h: New file.
* linux/src/drivers/net/cb_shim.c, linux/src/drivers/net/hamachi.c,
linux/src/drivers/net/intel-gige.c, linux/src/drivers/net/myson803.c,
linux/src/drivers/net/natsemi.c, linux/src/drivers/net/ns820.c,
linux/src/drivers/net/starfire.c, linux/src/drivers/net/sundance.c,
linux/src/drivers/net/winbond-840.c,
linux/src/drivers/net/kern_compat.h, linux/src/drivers/net/pci-scan.c,
linux/src/drivers/net/pci-scan.h: New files from netdrivers 3.5 package
(http://www.scyld.com/network).
* linux/src/drivers/net/3c59x.c, linux/src/drivers/net/eepro100.c,
linux/src/drivers/net/epic100.c, linux/src/drivers/net/ne2k-pci.c,
linux/src/drivers/net/rtl8139.c, linux/src/drivers/net/tulip.c,
linux/src/drivers/net/via-rhine.c, linux/src/drivers/net/yellowfin.c:
Updated files from netdrivers 3.5 (http://www.scyld.com/network).
2006-01-22 Thomas Schwinge <tschwinge@gnu.org>
* linux/src/drivers/net/ne2k-pci.c (ne_block_input, ne_block_output):
Fix previous patch.
2005-07-12 Guillem Jover <guillem@hadrons.org>
* configure: Regenerated.
* i386/configure: Regenerated.
* Drivers.macros (AC_DRIVER_CLASS): Use AH_TEMPLATE.
(AC_DRIVER): Set the value for the AC_DEFINE and AC_DEFINE_UNQUOTED
to 1.
* aclocal.m4 (AC_PROG_CC_LOCAL, AC_PROG_CC_WORKS_LOCAL): Removed.
* version.m4: New file.
* Makefile.in: Use PACKAGE_VERSION, not VERSION.
* doc/Makefile.in: Likewise.
* version.c.in: Likewise. Use PACKAGE_NAME, not "GNUmach".
* i386/linux/Makefile.in (configure): Change its source to
configure.ac.
* aclocal.m4: Add missing quotations.
* Drivers.macros: Likewise.
* configure.in: Likewise. Include version.m4 and use PACKAGE and
VERSION m4 macros from it.
* i386/configure.in: Likewise.
(AC_INIT): Use new syntax and move source check to AC_CONFIG_SRCDIR.
* i386/linux/configure.ac: Likewise. Use m4_sinclude, not sinclude.
* linux/configure.in: Likewise.
* i386/configure.in: Update AC_DEFINE to the new three argument form.
* i386/linux/configure.ac: Move AC_DEFINE inside AC_ARG_ENABLE.
* configure.in: Use AC_CONFIG_LINKS, not AC_LINK_FILES.
* linux/configure.in: Likewise.
* i386/configure.in: Call AC_CONFIG_FILES and use the new form of
AC_OUTPUT.
* i386/linux/configure.ac: Likewise.
* linux/configure.in: Likewise
* configure.in: Use AS_HELP_STRING in AC_ARG_ENABLE help strings.
* Drivers.macros: Likewise.
* i386/configure.in: Likewise.
* i386/linux/configure.ac: Likewise.
2005-07-12 Neal H. Walfield <neal@cs.uml.edu>
* configure.in: Update to use autoconf 2.57.
Do not error out if host_os is not GNU.
Update AC_DEFINEs to the required three argument form.
Don't call AC_CHECK_TOOL(CC, gcc) and AC_PROG_CC_LOCAL, just use
AC_PROG_CC.
AC_SUBST(LDFLAGS).
Refactor AC_CONFIG_SUBDIRS to not do variable substitution.
Call AC_CONFIG_FILES and use the new form of AC_OUTPUT.
* i386/configure.in: Require autoconf 2.57.
* linux/configure.in: Likewise.
* i386/linux/Drivers.in: Move from here...
* i386/linux/configure.ac: ... to here to conform to the
environment autoreconf expects.
(hurd_host_CPU): New macro.
Call AC_PROG_CC, not AC_PROG_CC_LOCAL.
AC_SUBST(LD_FLAGS).
(flashpoint): Update AC_DEFINE to the new three argument form.
* Drivers.macros (AC_DRIVER): Update AC_DEFINE to the new three
argument form.
2005-05-24 Alfred M. Szmidt <ams@gnu.org>
* i386/include/mach/i386/asm.h (END): New macro.
* i386/include/mach/i386/syscall_sw.h (kernel_trap): Call END.
2005-05-28 Alfred M. Szmidt <ams@gnu.org>
* linux/src/drivers/scsi/u14-34f.c (ihdlr): Silence gcc 4.x
errors.
* linux/src/drivers/scsi/qlogicisp.h: Likewise.
* linux/src/drivers/scsi/advansys.c: Likewise.
(advansys_reset, advansys_interrupt, asc_scsi_done_list,
(asc_enqueue, asc_dequeue, asc_dequeue_list, asc_rmqueue,
(asc_isqueued): Likewise.
* linux/src/drivers/scsi/53c78xx.c (NCR53c7xx_queue_command):
Likewise.
* linux/src/drivers/net/ne2k-pci.c (ne_block_input)
(ne_block_output): Likewise.
* linux/src/drivers/net/hp100.c (__initfunc): Likewise.
* linux/src/drivers/net/3c507.c (el16_interrupt): Likewise.
* linux/dev/drivers/scsi/seagate.c (seagate_st0x_queue_command):
Likewise.
2005-05-26 Alfred M. Szmidt <ams@gnu.org>
* device/cons.h (cn_tab) [KERNEL]: Removed extern declaration.
* linux/dev/include/linux/fs.h (super_blocks): Declare as an
pointer.
2005-02-10 Guillem Jover <guillem@hadrons.org>
* linux/dev/glue/block.c (rdwr_partial): Remove leftover assert.
2005-01-22 Guillem Jover <guillem@hadrons.org>
* linux/dev/include/linux/skbuff.h (skb_put, skb_push): Fix errors
for deprecated use of labels at end of compound statements.
* i386/i386/fpe_linkage.c (enable_fpe): Declare prototype.
2005-01-22 Guillem Jover <guillem@hadrons.org>
* linux/src/drivers/scsi/qlogicisp_asm.c: Remove file with binary
only firmware.
* linux/src/drivers/scsi/qlogicisp.c: Do not include "qlogicisp_asm.c".
(RELOAD_FIRMWARE): Set to 0.
(risc_code_addr01): New variable from qlogicisp_asm.c.
* linux/Files: Remove linux/src/drivers/scsi/qlogicisp_asm.c.
2004-09-08 Neal H. Walfield <neal@cs.uml.edu>
* linux/dev/kernel/printk.c: Include <kern/assert.h>.
(printk): Use vsnprintf, not linux_vsprintf to avoid buffer
overruns.
* kern/printf.c (struct vsnprintf_cookie): New structure.
(snputc): New function.
(vsnprintf): Likewise.
2004-11-22 Guillem Jover <guillem@hadrons.org>
* bogus/mach_assert.h: Change #ifdef DEBUG to #ifndef NDEBUG
for assert et al.
* kern/assert.h: Likewise.
* kern/debug.h: Likewise.
* util/debug.h: Likewise.
* i386/i386/debug.h: Move dump_ss definition out of [DEBUG].
* linux/dev/glue/block.c (rdwr_full): Remove invalid assert.
2004-09-07 Neal H. Walfield <neal@cs.uml.edu>
* linux/dev/glue/block.c (__brelse): Unconditionally kfree BH.
(getblk): Unconditionally kalloc BH.
* kern/kalloc.c [!NDEBUG] (kalloc_init_called): New static
variable.
(kalloc_init): Assert that kalloc_init_called is zero.
[! NDEBUG] Set kalloc_init_called to 1 on success.
(kalloc): Assert that kalloc_init_called is non-zero.
(kget): Likewise.
(kfree): Likewise.
2004-11-22 Guillem Jover <guillem@hadrons.org>
* i386/i386/locore.S (discover_x86_cpu_type): Enable function.
Enable ID flag for Cyrix CPU. Use %ebp to save the stack pointer.
Restore EFLAGS just after its last usage.
* i386/i386at/model_dep.c (c_boot_entry): Enable use of
discover_x86_cpu_type. Remove hardcoded cpu_type assignment.
* i386/include/mach/i386/eflags.h
(EFL_VI, EFL_VIP): New bits.
(EFL_AC, EFL_ID): Bits finally added.
2004-10-26 Guillem Jover <guillem@hadrons.org>
* i386/i386/fpe.b: Remove binary without source.
* i386/i386/fpe.b_elf: Likewise.
* i386/i386/fpe_linkage.c: Disable the code if [! FPE].
* i386/bogus/fpe.h: Add comment about not having an fpe implementation.
* i386/Makefrag (objfiles): Do not add fpe.o.
Remove targets to generate fpe.o.
2004-02-29 Marcus Brinkmann <marcus@gnu.org>
* NEWS: Add things that changed so far since 1.3.
2004-02-02 Marco Gerards <metgerards@student.han.nl>
* i386/i386at/kd.c (kdinit): Initialize the input buffer.
* i386/i386at/kd.h (KDSETLEDS): New macro.
* i386/i386at/kd_event.c (kbdsetstat): Handle KDSETLEDS here to
set the keyboard LEDs state.
2004-01-19 Marco Gerards <metgerards@student.han.nl>
* linux/dev/glue/block.c (init_partition): Don't check for BSD
partitions if the DOS partition is too small.
2004-01-16 Marco Gerards <metgerards@student.han.nl>
* linux/dev/glue/block.c (device_get_status): Correctly calculate
the number of blocks.
2004-01-15 Alfred M. Szmidt <ams@kemisten.nu>
* linux/dev/include/asm-i386/string.h (memscan): Don't use
multi-line string literals for asm().
* linux/dev/include/asm-i386/segment.h (__generic_memcpy_tofs)
(__generic_memcpy_fromfs): Likewise.
* linux/src/include/asm-i386/floppy.h (floppy_hardint): Likewise.
* i386/i386/proc_reg.h (flush_instr_queue): Likewise.
* i386/i386/gdt.c (gdt_init): Likewise.
* linux/src/drivers/scsi/aic7xxx.c: Updated from Linux 2.0.39
* linux/src/drivers/scsi/aic7xxx.h: Likewise.
* linux/src/drivers/scsi/aic7xxx_proc.c: Likewise.
* linux/src/drivers/scsi/scsicam.c: Likewise.
* linux/src/include/linux/pci.h: Likewise.
* linux/src/drivers/scsi/53c7,8xx.h (patch_dsa_32): Don't use
token paste operator (##).
* Makefile.in (kernel-undef): Match new output format from
nm (binutils) 2.14.x.
2002-05-27 Roland McGrath <roland@frob.com>
* Version 1.3 released.
2002-05-23 Marcus Brinkmann <marcus@gnu.org>
* i386/i386at/model_dep.c: Include <kern/cpu_number.h> and
<kern/assert.h>.
(machine_idle): New function.
* bogus/power_save.h (POWER_SAVE): Define to 1.
2002-05-22 Roland McGrath <roland@frob.com>
* configure.in (VERSION): New substituted variable: set to 1.3 now.
(version.c): Add it to AC_OUTPUT.
* configure: Regenerated.
* Makefile.in (version): New variable, set from that.
Remove vpath directive for version.c, not found in build dir.
(topfiles): version.c -> version.c.in
* doc/Makefile.in (mach-version): Substituted instead of constant.
* version.c: File removed, replaced with ...
* version.c.in: ... this new file.
(version): Make it const. Use @VERSION@ for the number.
* Makefile.in (debian-files): Add postinst and prerm.
(dist): Use gzip -9 instead of tar z.
* linux/Files: Add missing files to the list:
linux/dev/drivers/net/eepro100.c
linux/src/include/asm-i386/hardirq.h
linux/src/include/asm-i386/spinlock.h
linux/src/include/linux/compatmac.h
linux/src/include/linux/spinlock.h
* linux/src/drivers/net/eth16i.c (eth16i_check_signature): Fix syntax:
#ifdef 0 -> #if 0
* Makefile.in (%.migs_d, %.migu_d): Fix sed substitution to match
whatever target file name gcc comes up with.
(%.migs_d, %.migu_d, %.symc.o, %_user.c, %_server.c):
Depend on $(before-compile).
2002-04-24 Marcus Brinkmann <marcus@gnu.org>
* debian/rules (DOCDIR): Move to
$(PREFIX)/share/doc/$(package-dev).
2002-04-23 Roland McGrath <roland@frob.com>
* i386/i386/ldt.c (ldt_init): Fix fencepost error in segment limits.
2002-04-19 Roland McGrath <roland@frob.com>
* gensym.awk: Emit \n\ at the end of lines inside strings.
* Makefile.in (%.symc: %.sym): Depend on gensym.awk.
2002-03-29 Marcus Brinkmann <marcus@g10code.de>
* doc/mach.texi: End index entry with full stop.
2002-03-05 Roland McGrath <roland@frob.com>
* kern/bootstrap.c: Include <alloca.h>.
2002-03-04 Roland McGrath <roland@frob.com>
* Makefile.in (%_interface.h %_server.c: %.srv): Pass -sheader switch
to mig, not -header.
2001-11-23 Roland McGrath <roland@frob.com>
* i386/i386at/i386at_ds_routines.c (device_deallocate): Do nothing if
argument is DEVICE_NULL.
2001-10-21 Marcus Brinkmann <marcus@gnu.org>
* linux/src/arch/i386/lib/delay.c: Convert HTML entities.
Reported by John Tobey <jtobey@john-edwin-tobey.org>.
2001-10-13 Marcus Brinkmann <marcus@gnu.org>
* debian/changelog: Update for next release.
2001-10-07 Roland McGrath <roland@frob.com>
* ddb/db_access.c: Fix obsolescent #else/#endif syntax.
* device/dev_name.c: Likewise.
* device/dev_pager.c: Likewise.
* device/ds_routines.c: Likewise.
* i386/i386/i386asm.sym: Likewise.
* include/device/device_reply.defs: Likewise.
* include/mach/memory_object.defs: Likewise.
* include/mach/memory_object_default.defs: Likewise.
* i386/i386/locore.S: Fix sloppy asm syntax to avoid warnings from
newer assembler (%ecx -> %cl in byte insns).
* kern/bootstrap.c (bootstrap_create): Fix inverted test logic for
compatibility case. Ignore trailing newlines after space for
compatibility detection.
Reported by Neal H Walfield <neal@cs.uml.edu>.
2001-10-06 Marcus Brinkmann <marcus@gnu.org>
* README: Replace `GNU mach' by `GNU Mach', and remove
obsolete paragraph about kmsg device.
2001-10-06 Marcus Brinkmann <marcus@gnu.org>
* doc/mach.texi: Fix direntry.
2001-10-05 Marcus Brinkmann <marcus@gnu.org>
* doc/mach.texi: Replace `path name' by `file name' in one place.
Replace `illegal' by `invalid' and `to to' by `to' everwhere.
* debian/changelog: Prepare for next release.
2001-10-04 Marcus Brinkmann <marcus@gnu.org>
* doc: New directory.
* doc/Makefile.in: New file.
* doc/gpl.texi: Likewise.
* doc/fdl.texi: Likewise.
* doc/mach.texi: Likewise.
* configure.in: Add doc/Makefile to AC_OUTPUT call.
* configure: Regenerated.
* Makefile.in (dist): Create directories doc and debian.
(doc-files): New variable with documentation files.
(debian-files): New variable with Debian packaging files.
* debian/rules (stamp-build): Build documentation.
(build-gnumach): Install the documentation into the gnumach
package.
* debian/postrm: New file to install info document.
* debian/prerm: New file to install info document.
2001-10-01 Marcus Brinkmann <marcus@gnu.org>
* i386/i386/locore.S (tenmicrosec): Remove subroutine.
* i386/i386/pit.c (delaycount): Remove global variable.
(microdata): Likewise.
(clkstart): Do not call findspeed() and microfind().
(findspeed): Remove function.
(spinwait): Likewise.
(microfind): Likewise. This function triggers a division by zero
trap on AMD K6 350Mhz+ and Athlon 1.1GHz+ machines (and in general
leads to bad results on fast cpus), and nothing uses this code anymore.
2001-09-30 Roland McGrath <roland@frob.com>
* kern/bootstrap.c (bootstrap_create): Ignore trailing spaces when
checking boot module string for containing none.
2001-09-18 Marcus Brinkmann <marcus@gnu.org>
* linux/dev/glue/misc.c: Do not include <linux/types.h> and
<linux/string.h>.
Remove global variable ___strtok.
Remove implementation of strspn, strpbrk, strtok and strstr.
* Makefile.in: Add strpbrk and strtok.
2001-08-24 Roland McGrath <roland@frob.com>
* kern/bootstrap.c (bootstrap_create): Make setting of boot-args and
root-device no longer conditional on [! OSKIT_MACH].
(bootstrap_create) [! OSKIT_MACH]: Parse FOO=BAR words out of the
multiboot command line and turn those into boot script variables.
* Makefile.in (clib-routines): Add strsep.
* kern/strings.h (strsep, strchr): Declare them.
2001-08-23 Roland McGrath <roland@frob.com>
* kern/bootstrap.c (bootstrap_create, user_bootstrap,
boot_script_exec_cmd, boot_script_task_resume): Add printfs at
various stages of startup.
2001-08-21 Roland McGrath <roland@frob.com>
* i386/i386at/model_dep.c (use_all_mem): Turn variable into macro.
(init_alloc_aligned): Make this function static.
Initially skip memory < 16MB and then wrap around to get it last.
2001-08-20 Roland McGrath <roland@frob.com>
Support "boot script" functionality in multiboot module strings.
* kern/bootstrap.c: Rewrite merged from oskit-branch.
* kern/boot_script.c, kern/boot_script.h: New files,
copied from boot/ directory in Hurd sources.
* Makefile.in (kern-cfiles): Add boot_script.c here.
(kern-files): Add boot_script.h here.
* NEWS: Mention the new feature.
2001-08-18 Roland McGrath <roland@frob.com>
* i386/i386at/model_dep.c (boot_info): Define a struct, not a pointer.
(c_boot_entry): Copy the contents into it rather than setting the ptr.
(c_boot_entry, init_alloc_aligned, pmap_valid_page, mem_size_init):
Update uses.
(init_alloc_aligned): Don't need to skip the boot_info memory.
* kern/bootstrap.c (boot_info): Update decl.
(bootstrap_create): Update uses.
2001-08-18 Marcus Brinkmann <marcus@gnu.org>
* linux/src/drivers/net/eepro100.c: File updated to version in
Linux 2.2.19. This time for real.
2001-08-18 Marcus Brinkmann <marcus@gnu.org>
* debian/changelog: Update for next package upload.
* debian/control: Add gnumach-dbg package.
* debian/rules: New targets to build gnumach-dbg package.
Fix various bugs.
2001-08-18 Marcus Brinkmann <marcus@gnu.org>
* i386/i386at/kd.c (kdintr): In event mode, make it so that
0xE0 scancodes are received.
From Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>.
* i386/i386at/kd.h: New constants KAX_REVERSE, KAX_UNDERLINE,
KAX_BLINK, KAX_BOLD, KAX_DIM, KAX_INVISIBLE, KAX_COL_UNDERLINE,
KAX_COL_DIM.
* i386/i386at/kd.c: Increase K_MAXESC to 32.
New global variable color_table to map color values.
New globals kd_color and kd_attrflags.
(kdinit): Initialize these variables.
(kd_update_kd_attr): New function.
(kd_parserest): Redone to support more terminal attributes,
including colors.
2001-08-18 Marcus Brinkmann <marcus@gnu.org>
* linux/src/drivers/net/eepro100.c: File updated to version in
Linux 2.2.19.
* linux/src/include/asm-i386/spinlock.h: New file from Linux 2.2.19.
* linux/src/include/asm-i386/hardirq.h: Likewise.
* linux/src/include/linux/spinlock.h: Likewise.
* linux/src/include/linux/compatmac.h: Likewise.
* linux/dev/drivers/net/eepro100.c: New file, modified version from
the above to glue it in gnumach.
Submitted by Kapil H. Paranjape <kapil@imsc.ernet.in>.
2001-08-17 Roland McGrath <roland@frob.com>
* Makefile.in (clib-routines): Add strchr.
(kernel-undef-bad): Depend on Makefile.
* Makefile.in ($(srcdir)/configure, $(srcdir)/config.h.in):
Use $(srcdir) in deps.
(Makefile, config.h, config.status): Likewise.
2001-07-29 Marcus Brinkmann <marcus@gnu.org>
* NEWS: Add items for this and other changes.
* configure.in: Define MACH_KMSG by default and document this in
the help output.
* configure: Regenerated.
* debian/rules: Do not enable kmsg explicitely.
2001-07-18 Marcus Brinkmann <marcus@gnu.org>
* debian/rules: Add -isp to dpkg-gencontrol invocation.
Move documentation to /share/doc.
* debian/changelog: Update.
2001-06-28 Marcus Brinkmann <marcus@gnu.org>
* linux/dev/drivers/block/ide.c (lba_capacity_is_ok): Do not
attempt to correct id->cyls, it is a short and for large disks the
number of cylinders necessary would not fit. Subsequent checks
for lba support would fail.
(current_capacity): Likewise for drive->cyl.
(do_identify): Store value returned by current_capacity in
CAPACITY. The check which corrects the number of bios cylinders
is not aggressive enough. Update it with the check in linux
kernel-2.2.19.
2001-06-25 Marcus Brinkmann <marcus@gnu.org>
* i386/bogus/fpe.h (FPE): Define FPE to 0, as the floating point
emulation is broken anyway and blows up plex86.
2001-06-17 Marcus Brinkmann <marcus@gnu.org>
* debian/rules: Update to current version.
2001-06-13 Roland McGrath <roland@frob.com>
* linux/dev/glue/block.c (device_get_status: DEV_GET_RECORDS):
Always return 512 for DEV_GET_SIZE_RECORD_SIZE as DEV_GET_SIZE does.
2001-05-27 Marcus Brinkmann <marcus@gnu.org>
* debian/rules: Add --enable-ncr53c8xx to configure.
1999-10-06 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* linux/src/drivers/scsi/tmscsiw.c: Removed.
* linux/src/drivers/scsi/tmscsiw.h: Likewise.
* linux/src/drivers/scsi/dc390w.h: Likewise.
* i386/linux/device-drivers.h.in (CONFIG_SCSI_DC390W): Deleted.
* i386/linux/Drivers.in: Remove linux_DRIVER(dc390w, ...). Now
dc390w, dc390u, and dc390f are aliases to ncr53c8xx.
* i386/linux/configure: Regenerated.
* linux/Files: Likewise.
* i386/linux/Makefile.in (linux-scsi-files): Delete tmscsiw.c.
* linux/dev/drivers/scsi/hosts.c: Do not include dc390w.h.
Reported by Andreas Voegele <andreas.voegele@nikocity.de>.
2001-05-20 Roland McGrath <roland@frob.com>
* kern/sched_prim.c (state_panic): New function, panic with some
info when a thread's state is bogus.
(thread_wakeup_prim): Use that instead of uninformative panic.
(thread_invoke): Likewise.
(thread_dispatch): Likewise.
2001-05-12 Marcus Brinkmann <marcus@gnu.org>
* ipc/ipc_object.c (ipc_object_alloc): Remove initialization of
*namep, which was without effect.
2001-04-29 Marcus Brinkmann <marcus@gnu.org>
* debian/changelog: New entries for past Debian uploads.
* debian/rules: Disable eatdma driver (breaks AMD K7), do
not enable com, lpr (com is redundant, lpr doesn't work),
move enabling of kmsg in its own line.
* debian/control: Add build dependency on mig and sharutils.
2001-04-29 Marcus Brinkmann <marcus@gnu.org>
* device/chario.c: Set number of elements of tthiwat and ttlowat
to NSPEEDS rather than 16. Initialize the two new elements.
(chario_init): Initialize pdma_timeouts and pdma_water_mark for
B57600 and B115200.
2001-04-27 Marcus Brinkmann <marcus@gnu.org>
* include/device/tty_status.h: New macros B57600 and B115200,
increase NSPEED accordingly.
* i386/i386at/com.c (divisorreg): New divisor 1.
2001-04-04 Roland McGrath <roland@frob.com>
* ddb/db_access.h: Fix obsolescent #else/#endif syntax.
* ddb/db_aout.c: Likewise.
* ddb/db_break.c: Likewise.
* ddb/db_break.h: Likewise.
* ddb/db_command.c: Likewise.
* ddb/db_command.h: Likewise.
* ddb/db_cond.c: Likewise.
* ddb/db_examine.c: Likewise.
* ddb/db_expr.c: Likewise.
* ddb/db_ext_symtab.c: Likewise.
* ddb/db_input.c: Likewise.
* ddb/db_lex.c: Likewise.
* ddb/db_macro.c: Likewise.
* ddb/db_mp.c: Likewise.
* ddb/db_output.c: Likewise.
* ddb/db_print.c: Likewise.
* ddb/db_run.c: Likewise.
* ddb/db_sym.c: Likewise.
* ddb/db_task_thread.c: Likewise.
* ddb/db_task_thread.h: Likewise.
* ddb/db_trap.c: Likewise.
* ddb/db_variables.c: Likewise.
* ddb/db_watch.c: Likewise.
* ddb/db_watch.h: Likewise.
* ddb/db_write_cmd.c: Likewise.
* device/dev_pager.c: Likewise.
* device/device_port.h: Likewise.
* device/device_types_kernel.h: Likewise.
* device/ds_routines.h: Likewise.
* device/errno.h: Likewise.
* device/if_ether.h: Likewise.
* device/if_hdr.h: Likewise.
* device/io_req.h: Likewise.
* device/net_io.c: Likewise.
* device/net_io.h: Likewise.
* i386/i386/ast_check.c: Likewise.
* i386/i386/cswitch.S: Likewise.
* i386/i386/db_disasm.c: Likewise.
* i386/i386/db_interface.c: Likewise.
* i386/i386/db_trace.c: Likewise.
* i386/i386/debug.h: Likewise.
* i386/i386/debug_i386.c: Likewise.
* i386/i386/debug_trace.S: Likewise.
* i386/i386/eflags.h: Likewise.
* i386/i386/gdt.h: Likewise.
* i386/i386/hardclock.c: Likewise.
* i386/i386/idt-gen.h: Likewise.
* i386/i386/ipl.h: Likewise.
* i386/i386/ktss.h: Likewise.
* i386/i386/kttd_interface.c: Likewise.
* i386/i386/ldt.h: Likewise.
* i386/i386/lock.h: Likewise.
* i386/i386/locore.S: Likewise.
* i386/i386/mp_desc.h: Likewise.
* i386/i386/pic.c: Likewise.
* i386/i386/pic.h: Likewise.
* i386/i386/pio.h: Likewise.
* i386/i386/pit.h: Likewise.
* i386/i386/seg.h: Likewise.
* i386/i386/thread.h: Likewise.
* i386/i386/trap.c: Likewise.
* i386/i386/trap.h: Likewise.
* i386/i386/vm_param.h: Likewise.
* i386/i386/vm_tuning.h: Likewise.
* i386/i386at/autoconf.c: Likewise.
* i386/i386at/blit.c: Likewise.
* i386/i386at/conf.c: Likewise.
* i386/i386at/fd.c: Likewise.
* i386/i386at/idt.h: Likewise.
* i386/i386at/immc.c: Likewise.
* i386/i386at/kd.c: Likewise.
* i386/i386at/kd_event.c: Likewise.
* i386/i386at/kd_mouse.c: Likewise.
* i386/i386at/model_dep.c: Likewise.
* i386/i386at/rtc.c: Likewise.
* i386/include/mach/i386/asm.h: Likewise.
* i386/include/mach/i386/eflags.h: Likewise.
* i386/include/mach/i386/mach_i386.defs: Likewise.
* i386/include/mach/i386/multiboot.h: Likewise.
* i386/include/mach/i386/trap.h: Likewise.
* i386/include/mach/i386/vm_types.h: Likewise.
* i386/include/mach/sa/stdarg.h: Likewise.
* i386/intel/pmap.c: Likewise.
* i386/intel/pmap.h: Likewise.
* include/alloca.h: Likewise.
* include/device/device_types.defs: Likewise.
* include/device/device_types.h: Likewise.
* include/device/disk_status.h: Likewise.
* include/device/net_status.h: Likewise.
* include/mach/mach.defs: Likewise.
* include/mach/memory_object.defs: Likewise.
* include/mach/std_types.defs: Likewise.
* include/mach_debug/hash_info.h: Likewise.
* include/mach_debug/ipc_info.h: Likewise.
* include/mach_debug/mach_debug.defs: Likewise.
* include/mach_debug/mach_debug_types.defs: Likewise.
* include/mach_debug/mach_debug_types.h: Likewise.
* include/mach_debug/vm_info.h: Likewise.
* include/mach_debug/zone_info.h: Likewise.
* include/sys/ioctl.h: Likewise.
* include/sys/time.h: Likewise.
* ipc/ipc_entry.h: Likewise.
* ipc/ipc_hash.h: Likewise.
* ipc/ipc_init.c: Likewise.
* ipc/ipc_kmsg.c: Likewise.
* ipc/ipc_kmsg.h: Likewise.
* ipc/ipc_marequest.c: Likewise.
* ipc/ipc_marequest.h: Likewise.
* ipc/ipc_mqueue.c: Likewise.
* ipc/ipc_mqueue.h: Likewise.
* ipc/ipc_notify.c: Likewise.
* ipc/ipc_notify.h: Likewise.
* ipc/ipc_object.c: Likewise.
* ipc/ipc_object.h: Likewise.
* ipc/ipc_port.c: Likewise.
* ipc/ipc_port.h: Likewise.
* ipc/ipc_pset.c: Likewise.
* ipc/ipc_pset.h: Likewise.
* ipc/ipc_right.c: Likewise.
* ipc/ipc_right.h: Likewise.
* ipc/ipc_space.c: Likewise.
* ipc/ipc_space.h: Likewise.
* ipc/mach_debug.c: Likewise.
* ipc/mach_msg.c: Likewise.
* ipc/mach_msg.h: Likewise.
* ipc/mach_port.c: Likewise.
* kern/act.c: Likewise.
* kern/assert.h: Likewise.
* kern/ast.c: Likewise.
* kern/ast.h: Likewise.
* kern/bootstrap.c: Likewise.
* kern/counters.c: Likewise.
* kern/counters.h: Likewise.
* kern/debug.h: Likewise.
* kern/exception.c: Likewise.
* kern/host.h: Likewise.
* kern/ipc_host.c: Likewise.
* kern/ipc_host.h: Likewise.
* kern/ipc_kobject.c: Likewise.
* kern/ipc_mig.c: Likewise.
* kern/ipc_tt.c: Likewise.
* kern/ipc_tt.h: Likewise.
* kern/kalloc.h: Likewise.
* kern/lock_mon.c: Likewise.
* kern/mach_clock.c: Likewise.
* kern/mach_factor.c: Likewise.
* kern/mach_param.h: Likewise.
* kern/machine.c: Likewise.
* kern/processor.c: Likewise.
* kern/profile.c: Likewise.
* kern/queue.h: Likewise.
* kern/sched.h: Likewise.
* kern/startup.c: Likewise.
* kern/syscall_emulation.h: Likewise.
* kern/syscall_subr.c: Likewise.
* kern/syscall_subr.h: Likewise.
* kern/syscall_sw.c: Likewise.
* kern/syscall_sw.h: Likewise.
* kern/task.h: Likewise.
* kern/thread_swap.h: Likewise.
* kern/time_out.h: Likewise.
* kern/time_stamp.c: Likewise.
* kern/time_stamp.h: Likewise.
* kern/timer.c: Likewise.
* kern/timer.h: Likewise.
* kern/xpr.c: Likewise.
* kern/xpr.h: Likewise.
* kern/zalloc.c: Likewise.
* kern/zalloc.h: Likewise.
* linux/dev/drivers/block/ide.c: Likewise.
* linux/dev/include/linux/blk.h: Likewise.
* linux/src/include/linux/cdrom.h: Likewise.
* linux/src/include/linux/md.h: Likewise.
* util/cpu.h: Likewise.
* vm/memory_object.c: Likewise.
* vm/memory_object.h: Likewise.
* vm/pmap.h: Likewise.
* vm/vm_debug.c: Likewise.
* vm/vm_external.h: Likewise.
* vm/vm_fault.c: Likewise.
* vm/vm_fault.h: Likewise.
* vm/vm_kern.h: Likewise.
* vm/vm_map.c: Likewise.
* vm/vm_map.h: Likewise.
* vm/vm_object.h: Likewise.
* vm/vm_pageout.c: Likewise.
* vm/vm_pageout.h: Likewise.
* vm/vm_user.h: Likewise.
2001-01-28 Roland McGrath <roland@frob.com>
* kern/zalloc.c (zalloc): Change panics for exhausted zone to include
the zone name.
2001-01-09 Marcus Brinkmann <marcus@gnu.org>
* include/device/device_types.h: New get_status call
DEV_GET_RECORDS to get the number of records of a device (rather
than the number of bytes). Accordingly define
DEV_GET_RECORDS_DEVICE_RECORDS, DEV_GET_RECORDS_RECORD_SIZE and
DEV_GET_RECORDS_COUNT.
* linux/dev/glue/block.c (device_get_status): Handle
DEV_GET_RECORDS.
2000-11-26 David Welch <david.welch@seh.ox.ac.uk>
* i386/Makefrag (i386-installed-headers): Removed dead files
from the list of headers to be installed
2000-11-26 Marcus Brinkmann <marcus@gnu.org>
* linux/src/drivers/net/tulip.c: Updated to version
from Linux 2.2.17 (I am amazed that 2.2.x drivers work).
Suggested by Jason Henry Parker <jasonp@uq.net.au>.
2000-10-29 Roland McGrath <roland@frob.com>
Remove numerous dead header files.
Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.
* i386/include/mach/i386/bios.h: Dead file removed.
* i386/include/mach/i386/code16.h: Dead file removed.
* i386/include/mach/i386/debug_reg.h: Dead file removed.
* i386/include/mach/i386/dpmi.h: Dead file removed.
* i386/include/mach/i386/far_ptr.h: Dead file removed.
* i386/include/mach/i386/paging.h: Dead file removed.
* i386/include/mach/i386/pio.h: Dead file removed.
* i386/include/mach/i386/pmode.h: Dead file removed.
* i386/include/mach/i386/proc_reg.h: Dead file removed.
* i386/include/mach/i386/seg.h: Dead file removed.
* i386/include/mach/i386/time_stamp.h: Dead file removed.
* i386/include/mach/i386/tss.h: Dead file removed.
* i386/include/mach/i386/vcpi.h: Dead file removed.
* i386/include/mach/proc_ops.h: Dead file removed.
* i386/include/mach/sa/sys/varargs.h: Dead file removed.
* i386/include/mach/setjmp.h: Dead file removed.
* include/mach/proc_ops.h: Dead file removed.
* Makefile.in (mach-headers): Remove proc_ops.h.
* i386/Makefrag (i386-installed-headers): Likewise.
(installed-headers): Don't touch this any more.
* i386/Files: Update for removed files.
2000-09-29 Marcus Brinkmann <marcus@gnu.org>
* i386/i386at/conf.c (dev_name_list): Don't use MACH_COM to check
if com support is enabled, but NCOM, as it used to be.
2000-09-24 OKUJI Yoshinori <okuji@gnu.org>
* linux/dev/glue/block.c: Reverted the changes at 2000-08-17.
Reported by Brent Fulgham <brent.fulgham@xpsystems.com>.
2000-09-19 Marcus Brinkmann <marcus@gnu.org>
* linux/dev/glue/block.c (init_partition): Move initialization
of MASK until it is asserted that gd is non-NULL.
2000-08-17 OKUJI Yoshinori <okuji@gnu.org>
* linux/dev/glue/block.c (rdwr_partial): Mask the minor device
number with MINOR_SHIFT bits, when indexing the array of
partitions. Reported by Marius Vollmer <mvo@zagadka.ping.de>.
(init_partition): Likewise.
(check_limit): Likewise.
(device_get_status): Likewise.
2000-07-27 Marcus Brinkmann <marcus@gnu.org>
* Fix omissions in last change:
* linux/src/arch/i386/lib/delay.S: Now really delete the file.
* linux/src/arch/i386/lib/delay.c: Now really add the file.
2000-07-04 Marcus Brinkmann <marcus@gnu.org>
* debian/changelog: Add entry for new Debian upload.
* linux/dev/drivers/scsi/seagate.c (WRITE_CONTROL, WRITE_DATA):
Added from linux 2.2.15.
(__asm__ constructs): Replace with equivalent C code from linux 2.2.15
to support gcc-2.95.
* linux/src/drivers/scsi/in2000.h: Update asm code to linux 2.2.15.
* linux/src/drivers/scsi/ppa.c: Replace asm code with equivalent
C code from linux 2.2.15.
2000-02-06 Stefan Weil <stefan.weil@de.heidelberg.com>
* device/subrs.c: Fixed compiler warning.
* ddb/db_output.c, kern/bootstrap.c, kern/debug.c, kern/printf.c:
Replaced varargs.h by stdarg.h. Fixed prototypes (const char *fmt).
* ddb/db_output.h: Use prototype for db_printf.
* i386/Files: removed varargs.h.
* i386/i386/pit.h: Fixed compiler warning.
* i386/i386at/model_dep.c: Tried to fix compiler warning.
* i386/include/mach/sa/sys/varargs.h: Removed.
* i386/linux/Makefile.in: Removed delay.S, added delay.c.
* linux/dev/include/asm-i386/segment.h: Support gcc-2.95.
* linux/dev/include/asm-i386/string.h,
linux/src/include/asm-i386/string.h: Update from linux-2.2.14.
* linux/dev/lib/vsprintf.c: Fixed compiler warning.
* linux/src/include/asm-i386/delay.h: Update from linux-2.2.14.
* linux/src/arch/i386/lib/delay.c: Copy from linux-2.2.14.
* linux/src/include/asm-i386/string.h: Update from linux-2.2.14.
1999-10-08 Thomas Bushnell, BSG <tb@mit.edu>
* linux/src/drivers/net/3c59x.c: Updated to version 0.99L of the
driver from ftp://cesdis.gsfc.nasa.gov/linux/drivers/3c59x.c, in
order to support the 3c509c card, as requested by Jeff Bailey
<jbailey@nisa.net>.
1999-09-17 Thomas Bushnell, BSG <tb@mit.edu>
* linux/dev/drivers/block/ide.c (do_request) [MACH]: In "bad
access" printf, actually print the number of sectors of the
partition.
1999-10-05 Roland McGrath <roland@baalperazim.frob.com>
* i386/intel/pmap.c (pmap_bootstrap): Use _start instead of start.
* i386/i386/trap.c (kernel_trap): Likewise.
1999-10-04 Roland McGrath <roland@baalperazim.frob.com>
* configure.in: Remove AC_CHECK_TOOL(MAKE,...) check.
* Makefile.in (MAKE): Variable removed. We require GNU make anyway,
and it always sets MAKE.
* configure: Regenerated.
* Makefile.in (clib-routines.o, check-clib-routines, clib-routines.d):
Remove these rules, replace with:
(kernel.o): New target, relocatable object linked from kernel objects.
(kernel-undef, kernel-undef-bad): New targets, glean undefined symbols
from kernel.o.
(clib-routines.o): New target, use those to select symbols from libc.
(clib-routines): Add some symbols; move defn to kernel linking page.
This variable is now a list of symbols allowed to be undefined,
rather than a prescriptive list of symbols always grabbed from libc.
(kernel): Rewrite this rules to just link kernel.o and clib-routines.o
together to make the kernel image.
1999-09-15 Mark Kettenis <kettenis@gnu.org>
* i386/i386/user_ldt.c: Fix user LDT management.
(i386_set_ldt): Prevent thrashing the LDT for the current thread.
Correctly calculate size of new LDT. Set base adress of the LDT
descriptor to the linear address of the LDT instead of the kernel
virtual address. Copy descriptors from the default LDT if there
is no old LDT for the current thread. Call switch_ktss if we are
setting a new LDT for the current thread.
(i386_get_ldt): Fix bug in copying out the descriptors.
1999-09-09 Thomas Bushnell, BSG <tb@mit.edu>
* linux/src/drivers/net/rtl8139.c (RX_BUF_LEN_IDX): Reduce from 3
to 2. (64K exceeds the limits in linux/dev/glue/kmem.c:kmalloc.)
(rtl8129_open): If we fail to get the memory we need, then free
the IRQ before returning.
Reported by Daniel Kobras <daniel.kobras@student.uni-tuebingen.de>.
1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>
* linux/src/drivers/net/yellowfin.c (yellowfin_probe): Return
correct value. Reported by Marcus Brinkmann
<Marcus.Brinkmann@ruhr-uni-bochum.de>.
* linux/dev/drivers/net/Space.c: Declare tc515_probe. Reported by
Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
1999-09-04 Thomas Bushnell, BSG <tb@mit.edu>
* vm/vm_resident.c (vm_page_grab): Only block unprivileged
allocations over vm_page_external_limit if they are actually
external allocations. Reported by Mark Kettenis
(kettenis@wins.uva.nl>.
1999-08-10 Thomas Bushnell, BSG <tb@mit.edu>
* i386/i386at/model_dep.c (init_alloc_aligned): Revert previous
change except for the one to AVAIL_NEXT. All the rest of the
previous code was correct. Correction from Momchil Velikov
(velco@fadata.bg).
1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
* Drivers.macros (AC_DRIVER): Use `test' instead of `[ ... ]'.
Reported by "Momchil 'Velco' Velikov" <velco@fadata.bg>.
1999-07-20 Roland McGrath <roland@baalperazim.frob.com>
* linux/dev/drivers/block/genhd.c (check_partition): Change message
to say these are only the DOS partitions.
* i386/linux/dev/include/linux/autoconf.h (CONFIG_BSD_DISKLABEL,
CONFIG_SMD_DISKLABEL): #undef these. The dev/glue/block.c code
deals with BSD disklabels and expects the Linux genhd.c code to
handle only the DOS partitions; having genhd.c do BSD disklabels
too just confuses things.
Force subdirectory targets so they get recompiled properly.
* i386/Makefile.in (linux/linux.o): Depend on FORCE instead of linux.
(FORCE): New target.
* i386/Makefrag (i386/sysdep.o, FORCE): Likewise.
1999-07-11 Thomas Bushnell, BSG <tb@mit.edu>
* i386/i386at/model_dep.c (init_alloc_aligned): Make the checks
correctly for addresses falling into skip regions. Reported by
Momchil Velikov (velco@fadata.bg).
1999-07-01 Thomas Bushnell, BSG <tb@mit.edu>
* i386/linux/Makefile.in: For each .o file in $(linux-objs)
include a corresponding .d file, unless `no_deps' is `t'.
(make-deps): New function.
(%.d): New pattern rules for building %.d from %.c and %.S.
1999-06-29 Thomas Bushnell, BSG <tb@mit.edu>
* vm/vm_resident.c (vm_page_grab): Don't bounce requests when
vm_page_external_count == vm_page_external_limit, so that before
initialization is complete we can still allocate memory without
relying on current_thread.
(vm_page_wait): Also block if we are over the external page
limit.
* vm/vm_pageout.c (vm_pageout_scan): Rewrite the
scan-for-pages-to-pageout loop to not crash when we hit the end of
the inactive queue; instead jump back to the
pause-for-a-little-while code.
1999-06-27 Thomas Bushnell, BSG <tb@mit.edu>
* vm/vm_resident.c (vm_page_external_count): Define variable.
(vm_page_grab): New argument `external'. All callers changed.
Keep track of number of externally managed pages. Don't let
non-privileged threads exceed the externally-managed page limit.
(vm_page_grab_contiguous_pages): New argument `external'. All
callers changed. Keep track of number of externally managed
pages. Don't let non-privileged threads exceed the
externally-managed page limit.
(vm_page_convert): New argument `external', handed off to
vm_page_grab. All callers changed.
(vm_page_release): New argument `external'. All callers
changed. Keep track of number of externally managed pages.
(vm_page_bootstrap): Initialize M->external.
(vm_page_external_limit): Define new variable.
(vm_page_grab_phys_addr, vm_page_alloc): Add new arg for
vm_page_grab.
(vm_page_free): Provide new arg to vm_page_release.
* vm/vm_page.h (vm_page_external_limit, vm_page_external_count):
New variables.
(struct vm_page): New members `external' and `extcounted'.
(vm_page_grab, vm_page_release, vm_page_convert): Specify new
argument.
* vm/vm_pageout.c (vm_pageout): Initialize vm_page_external_limit
and vm_page_external_target.
(VM_PAGE_EXTERNAL_LIMIT, VM_PAGE_EXTERNAL_TARGET): New macro.
(vm_page_external_target): New variable.
(vm_pageout_scan): Regard "too many externally managed pages" as a
reason to keep doing work, but if that's the only reason we're
doing work, then the only thing we do is schedule cleaning of
pages. Help keep track of the number of externally managed pages
that we care about.
* i386/intel/pmap.c (pmap_page_table_page_alloc): Add new arg for
vm_page_grab.
* linux/dev/glue/block.c (alloc_buffer, device_read): Likewise.
* vm/vm_map.c (vm_map_copy_steal_pages): Likewise.
* vm/vm_fault.c (vm_fault_page): Add new args for vm_page_grab and
vm_page_convert.
* vm/vm_pageout.c (VM_PAGEOUT_BURST_WAIT): Reduce to 10ms/page.
(VM_PAGEOUT_EMPTY_WAIT): Reduce to 75 ms.
(VM_PAGE_FREE_RESERVED): Increase to 50 pages.
(VM_PAGEOUT_RESERVED_INTERNAL): Adjust to `(reserve) - 25'.
(VM_PAGEOUT_RESERVED_REALLY): Adjust to `(reserve) - 40'.
1999-06-21 Thomas Bushnell, BSG <tb@mit.edu>
* i386/Files: Don't mention i386/pc/Makerules,
i386/include/Makerules, or i386/util/Makerules.
* Makefile.in (all-real-archs): Delete variable.
(dist): No longer make `machine' symlink.
* Makefile.in (dist): Sanify file permissions before building tar
file.
* i386/Subdirs: Remove i386/i386at/boot.
Sun Jun 20 18:33:59 1999 Thomas Bushnell, BSG <tb@mit.edu>
* version.c (version): Updated to version 1.2.
* i386/Files: Regenerated.
* i386/Subdirs: Regenerated.
* linux/Files: New file.
* linux/Subdirs: New file.
* Makefile.in (all-archs): Add `linux'.
(all-real-archs): New variable.
(dist): Create `machine' symlink only on
$(all-real-archs).
* Makefile.in (dist): Use `cp' instead of `ln'.
* config.guess: Updated from autoconf 2.13.
* config.sub: Likewise.
1999-06-16 Thomas Bushnell, BSG <tb@mit.edu>
* linux/dev/drivers/net/Space.c (ethif_probe): Probe tc59x_probe
(CONFIG_VORTEX) after el3_probe (CONFIG_EL3), because the latter
card matches the former probe, but the driver doesn't work with
it. Reported by Marcus Brinkmann <brinkmd@debian.org>.
* Drivers.macros (AC_DRIVER): Only turn on driver if $enableval is
not `no'. Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>.
1999-06-15 Thomas Bushnell, BSG <tb@mit.edu>
* ipc/ipc_init.c (ipc_bootstrap): Don't make the IOT_PORT zone
exhaustible, because allocation of ports for internal objects
panics if zalloc fails.
1999-06-07 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* linux/dev/drivers/block/genhd.c [MACH] (mach_minor): New variable.
(add_bsd_partition): New function.
(bsd_disklabel_partition) [MACH]: Call add_bsd_partition.
(msdos_partition) [MACH]: Set mach_minor to MINOR before
calling bsd_disklabel_partition.
* linux/dev/drivers/block/ide.c (do_request) [MACH]: Fix "bad access"
message.
1999-06-02 Roland McGrath <roland@baalperazim.frob.com>
* kern/bootstrap.c (build_args_and_stack): If kernel_cmdline is
nonempty, give the bootstrap task an environment variable of
"MULTIBOOT_CMDLINE=kernel command line" on its stack.
1999-05-29 Roland McGrath <roland@baalperazim.frob.com>
* kern/startup.c (start_kernel_threads): Call record_time_stamp to
reset the kernel task's creation_time field, so it's not zero.
1999-05-24 Mark Kettenis <kettenis@gnu.org>
* i386/i386/fpu.c (fp_free): Clear task switch flag before calling
fwait.
(fpu_get_state): Only save FPU state info if the live FPU state
belongs to our target, i.e. if THREAD is the current thread.
(fp_load): Print warning if we try to load an invalid FPU state,
and reset the FPU to some sane state instead.
1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
* kern/task.c (task_info): Allow count for TASK_BASIC_INFO to be less
two words, not just one. The new member creation_time is two words.
1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
* linux/configure: Regenerated.
1999-05-21 Roland McGrath <roland@baalperazim.frob.com>
* linux/configure.in: Fix names dummy -> dummy.in in AC_OUTPUT call.
1999-05-14 Roland McGrath <roland@baalperazim.frob.com>
* i386/linux/Drivers.in (linux_DRIVER): New macro, does AC_DRIVER and
defines alias for Linux module name. Use that for all single-module
Linux drivers, so we don't forget to define any of the aliases for the
Linux module names.
* i386/linux/configure: Regenerated.
1999-04-28 OKUJI Yoshinori <okuji@localhost>
* linux/dev/drivers/block/genhd.c (bsd_disklabel_partition) [MACH]:
Print BSD slices, using Mach device syntax instead of Linux extented
partition syntax.
1999-05-01 Mark Kettenis <kettenis@gnu.org>
* linux/dev/glue/block.c (device_get_status): Always set
status_count to DEV_GET_STATUS_COUNT if flavor is DEV_GET_SIZE.
1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
* i386/linux/Drivers.in: Don't create asm-${systype} symlinks here.
* linux/configure.in: New file. Create them here instead.
* linux/dummy.in: New file, used by configure.
* linux/configure: New file (generated by autoconf).
* configure.in: Configure in linux subdir.
* configure: Regenerated.
* i386/configure.in: Require only autoconf 2.12, not 2.13.
* i386/configure: Regenerated.
* aclocal.m4 (hurd_SYSTYPE): New macro.
* i386/linux/Drivers.in: Use it.
* i386/linux/configure: Regenerated.
Wed Apr 28 02:17:51 1999 Thomas Bushnell, BSG <tb@mit.edu>
* linux/src/drivers/net/3c59x.c: Upgrade to Linux 2.2.1 version.
(vortex_start_xmit): Don't frob VP->stat.tx_bytes.
(boomerang_start_xmit): Likewise.
(vortex_rx): Don't frob VP->stats.rx_bytes.
(boomerang_rx): Likewise.
Requested by Jeff Bailey (jbailey@nisa.net).
Mon Apr 26 02:13:02 1999 Thomas Bushnell, BSG <tb@mit.edu>
* Makefile.in (objfiles): Don't add $(systype)/sysdep.o here.
($(systype)/sysdep.o): Delete rule.
(clean, distclean, mostlyclean, maintainerclean, install-headers,
install-kernel): Don't do recursive make here.
* i386/Makefrag (objfiles): Add i386/sysdep.o to the list.
(i386/sysdep.o): New rule.
(clean): Depend on i386-clean.
(distclean): Depend on i386-distclean.
(mostlyclean): Depend on i386-mostlyclean.
(maintainerclean): Depend on i386-maintainerclean.
(install-headers): Depend on i386-install-headers.
(install-kernel): Depend on i386-install-kernel.
(i386-clean, i386-distclean, i386-mostlyclean,
i386-maintainerclean, i386-install-kernel, i386-install-headers):
New rules.
1999-04-14 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* version.c (version): Update to 1.1.92.
Sun Mar 14 18:53:01 1999 Thomas Bushnell, BSG <tb@mit.edu>
* device/ds_routines.c (ds_read_done): When touching memory to
mark it dirty, make sure we say "volatile" so the compiler doesn't
optimize it out.
1999-04-12 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* i386/linux/Drivers.in: Fix the source paths for `asm' symbolic
links. Reported by KONISHI Toru <sting@mb.infoweb.ne.jp>.
* linux/dev/drivers/block/ide.c (init_hwif_data) [MACH]: Print Mach
device name instead of Linux one.
* linux/dev/drivers/block/genhd.c (disk_name): Likewise.
* linux/dev/drivers/scsi/sd.c (sd_init_onedisk): Likewise.
(sd_detect): Likewise.
* linux/dev/drivers/sr.c (sr_detect): Likewise.
(get_sectorsize): Likewise.
1999-03-01 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
Version 1.1.91.
* version.c (version): Update to 1.1.91.
1999-03-01 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* i386/linux/Drivers.in: Fix linking paths.
* i386/linux/Makefile.in: Corrent include paths and fix
Drivers.macros location.
1999-02-28 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* Makefile.in (clean): Don't move device-drivers.h, because it is
not in the top directory any longer.
(distclean): Remove config.cache and config.log.
* i386/Makefile.in (distclean): Remove config.status, config.log
and Makefile.
* i386/linux/Makefile.in (distclean): Remove config.status,
config.log, Makefile and device-drivers.h.
1999-02-27 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* i386/linux/Drivers.in: Don't link dev/include/asm-i386 to
dev/include/asm. Check if directories already exist before
mkdir_p's. Link directories manually, because AC_LINK_FILES
is weak in linking files from non-current directories.
* i386/i386at/i386at_ds_routines.c: Include
<i386/linux/device-drivers.h> instead of <linux/device-drivers.h>.
* device/ds_routines.c [LINUX_DEV]: Likewise.
* i386/linux/Makefile.in (linux-gen-flags): Fix an extra slash.
(distclean): Remove asm links.
* linux/src/COPYING: Copied from linux-2.0.36.
1999-02-27 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* Makefile.in: Omit to detect if com or lpr is used, and don't use
linux.o.
(objfiles): Add $(systype)/sysdep.o.
(clean): Chain the target to $(systype).
(distclean): Likewise.
(mostlyclean): Likewise.
(maintainer-clean): Likewise.
(install-headers): Likewise.
(install-kernel): Likewise.
* configure.in: AC_CONFIG_SUBDIRS ${systype} instead of linux.
(--disable-linuxdev): Deleted.
(--disable-com): Likewise.
(--enable-lpr): Likewise.
* i386/Makefile.in: New file.
* i386/configure.in: Likewise.
* i386/Makefrag (DEFINES): Add -DLINUX_DEV.
(objfiles): Always add com.o. If MACH_LPR is defined, then add lpr.o.
* linux/Drivers.in: Moved to ...
* i386/linux/Drivers.in: ... here. Include ../../aclocal.m4.
(mkdir_p): New function to create the linux include dirs.
* linux/Makefile.in: Moved to ...
* i386/linux/Makefile.in: ... here, and modify so that paths
are valid.
(clean): New target.
(distclean): Likewise.
(mostlyclean): Likewise.
(maintainer-clean): Likewise.
* linux/src/include/linux/autoconf.h: Removed.
* linux/dev/include/linux/autoconf.h: Moved to ...
* i386/linux/dev/include/linux/autoconf.h: ... here.
* linux/dev/arch/i386/linux_emul.h: Moved to ...
* i386/linux/dev/include/linux_emul.h: ... here.
* linux/device-drivers.h.in: Moved to ...
* i386/linux/device-drivers.h.in: ... here.
* linux/aclocal.m4: Removed.
* linux/configure: Likewise.
1999-02-14 Gordon Matzigkeit <gord@trick.fig.org>
* Makefile.in (install-kernel): Be sure that $(bootdir) is
created before installing the kernel.
1999-02-06 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* configure.in: Enable com by default, because current kbd and
mouse can't be linked without com. Reported by M. Meiarashi
<mes@st.rim.or.jp>.
1999-02-05 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
Version 1.1.90.
* version.c (version): Update to 1.1.90.
1999-02-04 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* device/kmsg.c (kmsginit): Add a missing semicolon.
(kmsggetstat): Fix typos,
DEV_GET_DEVICE_SIZE -> DEV_GET_SIZE_DEVICE_SIZE and
DEV_GET_RECORD_SIZE -> DEV_GET_SIZE_RECORD_SIZE.
(kmsg_putchar): Fix a typo kmsg_done_init -> kmsg_init_done.
* linux/dev/glue/block.c (device_get_status): Allocate a hd_geometry
on the stack.
* linux/dev/drivers/block/ide.c: New file.
* linux/dev/drivers/scsi/sd_ioctl.c: New file.
1999-02-02 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* i386/i386at/kd_event.c (kbdgetstat): Fix a typo
DEV_GET_SIZES -> DEV_GET_SIZE.
* i386/i386at/kd_mouse.c (mousegetstat): Likewise.
* device/kmsg.c (kmsggetstat): Likewise.
1999-02-01 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* linux/dev/glue/block.c (dev_getstat): Fix a missing `struct'.
* device/cons.c (cninit): Don't call kmsginit.
* kmsg.c (kmsg_buffer): Defined as static.
(kmsg_write_offset): Likewise.
(kmsg_read_offset): Likewise.
(kmsg_read_queue): Likewise.
(kmsg_in_use): Likewise.
(kmsg_lock): Likewise.
(kmsginit): Likewise, and call queue_init instead of setting
PREV and NEXT manually.
(kmsg_done_init): New variable.
(kmsg_putchar): Call kmsginit if not initialized yet.
(kmsggetstat): New function.
* kmsg.h (kmsggetstat): Add the prototype.
* i386/i386at/kd_event.c (kbdgetstat): Handle DEV_GET_SIZE.
(kbdread): Check if the amount a user specify is a multiple
of sizeof(kd_event).
* i386/i386at/kd_mouse.c (mousegetstat): New function.
(mouseread): Check if the amount a user specify is a multiple
of sizeof(kd_event).
* i386/i386at/conf.c (dev_name_list): Set the mouse getstat entry
to mousegetstat and the kmsg getstat entry to kmsggetstat.
Use MACH_COM instead of NCOM to determine if com is used.
Use MACH_LPR instead of NLPR to determine if lpr is used.
* configure.in (--enable-com): New option.
(--enable-lpr): Likewise.
* Makefile.in (enable_com): New variable.
(enable_lpr): Likewise.
* i386/Makefrag (i386at-files): Remove com.c.
(objfiles): Add com.o if enable_com is yes, and lpr.o if enable_lpr
is yes.
Tue Jan 26 21:36:10 1999 Thomas Bushnell, BSG <tb@mit.edu>
* kern/exception.c (exception_no_server): Correctly comment out
the suspend code. (This should have happened on 17 April 1997,
but apparently I did it backwards.)
1999-01-26 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* device/kmsg.c (kmsgopen): Added simple_lock and simple_unlock.
(ksmgclose): Likewise.
1999-01-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* Makefile.in (install-headers): New target for installing only
the headers.
(install-kernel): New target for installing only the kernel.
(mkheaderdirs): New target for making the headers
installation directories.
(mkkerneldirs): New target for making the kernel
installation directory.
(install): Do nothing by itself, but depend on install-kernel
and install-headers.
1999-01-24 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* device/kmsg.h (KMSGBUFSIZE): Deleted.
* device/kmsg.c: Rewritten completely to provide stream interface.
* linux/dev/glue/block.c (device_getstat): Added V_GETPARMS support.
* config.guess: New version from automake-1.4.
* config.sub: Likewise.
* install-sh: Likewise.
Some changes were merged from gnumach-m68k by
Aymeric Vincent <vincent@emi.u-bordeaux.fr>.
* Makefile.in (clean): Don't hang if device-drivers.h doesn't exist.
* linux/Makefile.in (CPPFLAGS): Fix a typo.
1999-01-16 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* device/kmsg.c: Fixed the copyright notice.
(MACH_KMSG): Removed.
* Makefile.in (enable_kmsg): New variable.
(objfiles): Add kmsg.o, if and only if enable_kmsg is yes.
1999-01-10 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* i386/i386at/kd.c: Applied a keymap patch. Reported by
Marcus Brinkmann <Marcus.Brikmann@ruhr-uni-bochum.de>.
* i386/i386at/kd.h: Likewise.
1998-12-30 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* linux/dev/glue/net.c (dev_alloc_skb): Change the skb arragement.
(dev_kfree_skb): Free only skb.
(device_write): Keep skb elements up-to-date.
1998-12-18 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* Makefile.in (objfiles): Add kmsg.o.
* device/cons.c: Include <device/io_req.h>.
* device/kmsg.c: Rewritten almost entirely.
1998-12-06 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
Add kmsg device.
* Makefile.in (device-files): Add kmsg.c and kmsg.h.
* configure.in (--enable-kmsg): New option.
* device/cons.c: Include kmsg.h.
(cninit): Call kmsginit if MACH_KMSG is defined.
(cnputc): Call kmsg_putchar if MACH_KMSG is defined.
* device/kmsg.c: New file.
* device/kmsg.h: Likewise.
* i386/i386at/conf.c (dev_name_list): Add kmsg entry.
1998-12-02 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* configure.in: Fix linuxdev option handling.
* linux/Drivers.in: Remove linuxdev option and fix linking files.
* linux/Makefile.in: Replace @DEFS@ with -DLINUX_DEV.
* linux/dev/arch/i386/kernel/irq.c: Include missing header files.
* linux/dev/arch/i386/kernel/setup.c: Include <device-drivers.h>.
* linux/dev/glue/kmem.c: Add printf declaration.
* linux/dev/glue/misc.c: Include <linux/types.h>.
* linux/dev/init/main.c: Call linux_sched_init instead of sched_init.
* linux/dev/kernel/sched.c: Add timer_bh declaration.
(tqueue_bh): Fix the argument.
(linux_sched_init): Renamed from sched_init.
1998-12-01 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* i386/i386at/i386at_ds_routines.c: Include <linux/device-drivers.h>
only if LINUX_DEV is defined. Reported by UCHIYAMA Yasushi
<uch@nop.or.jp>.
* device/ds_routines.c: Likewise.
* configure.in: AC_CONFIG_SUBDIRS(linux) instead of linuxdev.
(--disable-linuxdev): New option.
* linux/Makefile.in (CPPFLAGS): Remove -DLINUX_DEV, and add @DEFS@.
(objfiles): Add linux.o only if LINUX_DEV is defined.
* linux/Drivers.in (--disable-linuxdev): New option.
* i386/Makefrag (DEFINES): Remove -DLINUX_DEV.
1998-11-30 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
Clean up linux emulation code to make it architecture-independent
as much as possible.
* linux: Renamed from linuxdev.
* Makefile.in (objfiles): Add linux.o instead of linuxdev.o.
(MAKE): New variable. Used for the linux.o target.
* configure.in: Add AC_CHECK_TOOL(MAKE, make).
* i386/i386/spl.h: Include <i386/ipl.h>, for compatibility with
OSF Mach 3.0. Suggested by Elgin Lee <ehl@funghi.com>.
* linux/src: Renamed from linux/linux.
* linux/dev: Renamed from linux/mach.
* linux/Drivers.in (AC_INIT): Use dev/include/linux/autoconf.h,
instead of mach/include/linux/autoconf.h.
* Makefile.in (all): Target ../linux.o instead of ../linuxdev.o.
* linux/dev/drivers/block/genhd.c: Include <machine/spl.h> instead
of <i386/ipl.h>.
* linux/dev/drivers/net/auto_irq.c: Remove unneeded header files,
<i386/ipl.h> and <i386/pic.h>.
* linux/dev/init/main.c: Many i386-dependent codes moved to ...
* linux/dev/arch/i386/irq.c: ... here.
* linux/dev/arch/i386/setup.c: New file.
* linux/dev/arch/i386/linux_emul.h: Likewise.
* linux/dev/arch/i386/glue/timer.c: Merged into sched.c.
* linux/dev/arch/i386/glue/sched.c: Include <machine/spl.h> instead
of <i386/ipl.h>, and moved to ...
* linux/dev/kernel/sched.c: ... here.
* linux/dev/arch/i386/glue/block.c: Include <machine/spl.h> and
<linux_emul.h>, instead of i386-dependent header files, and
moved to ...
* linux/dev/glue/blocl.c: ... here.
* linux/dev/arch/i386/glue/net.c: Include <machine/spl.h> and
<linux_emul.h>, instead of i386-dependent header files, and
moved to ...
* linux/dev/glue/net.c: ... here.
* linux/dev/arch/i386/glue/misc.c: Remove `x86' and moved to ...
* linux/dev/glue/misc.c: ... here.
* linux/dev/arch/i386/glue/kmem.c: Moved to ...
* linux/dev/glue/kmem.c: ... here.
1998-11-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* linuxdev/mach/init/main.c (linux_init): Call reserve_mach_irqs.
* linuxdev/mach/arch/i386/kernel/irq.c (probe_irq_on): Fix ivect
mishandling.
(probe_irq_off): Disable unnecessary IRQs. Reported by
UCHIYAMA Yasushi <uch@nop.or.jp>.
(reserve_mach_irqs): New function.
1998-11-24 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* linuxdev/arch/i386/linux_init.c (linux_init): Check ivect
before set linux_bad_intr.
* linuxdev/arch/i386/linux_irq.c (probe_irq_on): Allocate only
if ivect is null, and set linux_intr_pri to intpri.
* linuxdev: Heavily changed. It becomes more Linux-like file
hierarchy as suggested by Roland McGrath <roland@frob.com>.
* linuxdev/linux: Contain original Linux source files.
* linuxdev/mach: Contain modified source files for Mach.
* linuxdev/mach/arch/i386/glue: XXX Contain files that are
not easy to segregate.
* Makefile.in: Call `make -C linuxdev all', instead of include
linuxdev/Makefrag.
1998-11-23 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* linuxdev/arch/i386/linux_irq.c (linux_bad_intr): New function.
(free_irq): Set linux_bad_intr into ivect[irq].
* linuxdev/arch/i386/linux_init.c (linux_init):
Set linux_bad_intr as the default interrupt handler.
* linuxdev/include/asm-i386/string.h (strstr): Fix the
egcs/gcc 2.8.x bug and a linkage problem. Reported by
Roland McGrath <roland@frob.com>.
1998-11-18 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* linuxdev/Drivers.in: Fix a typo.
* linuxdev/Makefrag: Likewise.
* linuxdev/arch/i386/linux_block.c (set_blocksize): Likewise.
* linuxdev/arch/i386/linux_kmem.c (vfree): Cast void * to
vm_offset_t.
* linuxdev/drivers/net/wavelan.p.h: Include
<linuxdev/drivers/net/i82586.h>, instead of <drivers/net/i82586.h>.
* linuxdev/drivers/scsi/aha152x.c: Define AUTOCONF.
* linuxdev/configure: Regenerate.
1998-11-17 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* linuxdev/arch/i386/linux_misc.c (strstr): New function.
Because inline version strstr is not used when use
egcs/gcc 2.8.x. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
* linuxdev/arch/i386/linux_irq.c (unmask_irq): Fix a typo.
1998-11-17 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* i386/README-Drivers: Update to Linux 2.0.36 device drivers.
* linuxdev/Drivers.in: Likewise.
* linuxdev/Makefrag: Likewise.
* linuxdev/arch/i386/linux_lib.S: Likewise.
* linuxdev/device-drivers.h.in: Likewise.
* linuxdev/drivers/block/floppy.c: Likewise.
* linuxdev/drivers/block/ide.c: Likewise.
* linuxdev/drivers/block/ide.h: Likewise.
* linuxdev/drivers/net/3c505.h: Likewise.
* linuxdev/drivers/net/3c509.c: Likewise.
* linuxdev/drivers/net/3c515.c: Likewise.
* linuxdev/drivers/net/3c59x.c: Likewise.
* linuxdev/drivers/net/Space.c: Likewise.
* linuxdev/drivers/net/apricot.c: Likewise.
* linuxdev/drivers/net/de4x5.c: Likewise.
* linuxdev/drivers/net/eepro.c: Likewise.
* linuxdev/drivers/net/eepro100.c: Likewise.
* linuxdev/drivers/net/eexpress.c: Likewise.
* linuxdev/drivers/net/epic100.c: Likewise.
* linuxdev/drivers/net/eth16i.c: Likewise.
* linuxdev/drivers/net/hp100.c: Likewise.
* linuxdev/drivers/net/lance.c: Likewise.
* linuxdev/drivers/net/ne2k-pci.c: Likewise.
* linuxdev/drivers/net/pcnet32.c: Likewise.
* linuxdev/drivers/net/rtl8139.c: Likewise.
* linuxdev/drivers/net/tlan.c: Likewise.
* linuxdev/drivers/net/tulip.c: Likewise.
* linuxdev/drivers/net/wavelan.c: Likewise.
* linuxdev/drivers/pci/pci.c: Likewise.
* linuxdev/drivers/scsi/BusLogic.c: Likewise.
* linuxdev/drivers/scsi/FlashPoint.c: Likewise.
* linuxdev/drivers/scsi/aha152x.c: Likewise.
* linuxdev/drivers/scsi/aha1542.c: Likewise.
* linuxdev/drivers/scsi/aic7xxx/sequencer.h: Likewise.
* linuxdev/drivers/scsi/aic7xxx.c: Likewise.
* linuxdev/drivers/scsi/aic7xxx_proc.c: Likewise.
* linuxdev/drivers/scsi/aic7xxx_reg.h: Likewise.
* linuxdev/drivers/scsi/dtc.c: Likewise.
* linuxdev/drivers/scsi/eata.c: Likewise.
* linuxdev/drivers/scsi/eata.h: Likewise.
* linuxdev/drivers/scsi/eata_dma.c: Likewise.
* linuxdev/drivers/scsi/gdth.c: Likewise.
* linuxdev/drivers/scsi/gdth.h: Likewise.
* linuxdev/drivers/scsi/gdth_proc.c: Likewise.
* linuxdev/drivers/scsi/gdth_proc.h: Likewise.
* linuxdev/drivers/scsi/hosts.c: Likewise.
* linuxdev/drivers/scsi/in2000.c: Likewise.
* linuxdev/drivers/scsi/in2000.h: Likewise.
* linuxdev/drivers/scsi/ncr53c8xx.c: Likewise.
* linuxdev/drivers/scsi/ppa.h: Likewise.
* linuxdev/drivers/scsi/scsi.c: Likewise.
* linuxdev/drivers/scsi/scsicam.c: Likewise.
* linuxdev/drivers/scsi/sd.c: Likewise.
* linuxdev/drivers/scsi/seagate.c: Likewise.
* linuxdev/drivers/scsi/u14-34f.c: Likewise.
* linuxdev/drivers/scsi/u14-34f.h: Likewise.
* linuxdev/drivers/scsi/wd7000.c: Likewise.
* linuxdev/drivers/scsi/wd7000.h: Likewise.
* linuxdev/include/asm-i386/irq.h: Likewise.
* linuxdev/include/asm-i386/processor.h: Likewise.
* linuxdev/include/asm-i386/ptrace.h: Likewise.
* linuxdev/include/asm-i386/system.h: Likewise.
* linuxdev/include/asm-i386/unistd.h: Likewise.
* linuxdev/include/linux/fs.h: Likewise.
* linuxdev/include/linux/genhd.h: Likewise.
* linuxdev/include/linux/interrupt.h: Likewise.
* linuxdev/include/linux/ip.h: Likewise.
* linuxdev/include/linux/pci.h: Likewise.
* linuxdev/include/linux/version.h: Likewise.
* linuxdev/include/linux/wireless.h: Likewise.
* linuxdev/drivers/net/via-rhine.c: New file.
* linuxdev/drivers/scsi/aic7xxx_seq.c: Likewise.
* linuxdev/include/linux/rose.h: Likewise.
* linuxdev/drivers/scsi/aic7xxx_seq.h: Removed.
* linuxdev/configure: Regenerate.
* linuxdev/include/asm-i386/string.h: Fix the egcs/gcc 2.8.x problem,
according to http://www.suse.de/~florian/kernel+egcs.html.
1998-11-14 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* Makefile.in (clib-routines.o): Add -L option to search libc.a.
Reported by TAKEUCHI Yoji <ytakeuch@po.iijnet.or.jp>.
* linuxdev/drivers/pci/bios32.c: Moved to ...
* linuxdev/arch/i386/linux_bios32.c: ... here. Because it is
i386-specific code.
* linuxdev/include/asm: Moved to ...
* linuxdev/include/asm-i386: ... here.
* i386/README-Drivers: Update to Linux 2.0.35 device drivers.
* linuxdev/Drivers.in: Likewise.
* linuxdev/configure: Likewise.
* linuxdev/device-drivers.h.in: Likewise.
* linuxdev/Makefrag: Likewise.
* linuxdev/arch/i386/linux_autoirq.c: Likewise.
* linuxdev/arch/i386/linux_block.c: Likewise.
* linuxdev/arch/i386/linux_dma.c: Likewise.
* linuxdev/arch/i386/linux_init.c: Likewise.
* linuxdev/arch/i386/linux_irq.c: Likewise.
* linuxdev/arch/i386/linux_kmem.c: Likewise.
* linuxdev/arch/i386/linux_misc.c: Likewise.
* linuxdev/arch/i386/linux_net.c: Likewise.
* linuxdev/arch/i386/linux_port.c: Likewise.
* linuxdev/arch/i386/linux_printk.c: Likewise.
* linuxdev/arch/i386/linux_sched.c: Likewise.
* linuxdev/arch/i386/linux_timer.c: Likewise.
* linuxdev/arch/i386/linux_version.c: Likewise.
* linuxdev/arch/i386/linux_vsprintf.c: Likewise.
* linuxdev/drivers/block/cmd640.c: Likewise.
* linuxdev/drivers/block/floppy.c: Likewise.
* linuxdev/drivers/block/genhd.c: Likewise.
* linuxdev/drivers/block/ide-cd.c: Likewise.
* linuxdev/drivers/block/ide.c: Likewise.
* linuxdev/drivers/block/ide.h: Likewise.
* linuxdev/drivers/block/ide_modes.h: Likewise.
* linuxdev/drivers/block/rz1000.c: Likewise.
* linuxdev/drivers/block/triton.c: Likewise.
* linuxdev/drivers/net/3c501.c: Likewise.
* linuxdev/drivers/net/3c503.c: Likewise.
* linuxdev/drivers/net/3c505.c: Likewise.
* linuxdev/drivers/net/3c507.c: Likewise.
* linuxdev/drivers/net/3c509.c: Likewise.
* linuxdev/drivers/net/3c59x.c: Likewise.
* linuxdev/drivers/net/8390.c: Likewise.
* linuxdev/drivers/net/8390.h: Likewise.
* linuxdev/drivers/net/Space.c: Likewise.
* linuxdev/drivers/net/ac3200.c: Likewise.
* linuxdev/drivers/net/apricot.c: Likewise.
* linuxdev/drivers/net/at1700.c: Likewise.
* linuxdev/drivers/net/atp.c: Likewise.
* linuxdev/drivers/net/atp.h: Likewise.
* linuxdev/drivers/net/de4x5.c: Likewise.
* linuxdev/drivers/net/de4x5.h: Likewise.
* linuxdev/drivers/net/de600.c: Likewise.
* linuxdev/drivers/net/de620.c: Likewise.
* linuxdev/drivers/net/depca.c: Likewise.
* linuxdev/drivers/net/dev.c: Likewise.
* linuxdev/drivers/net/e2100.c: Likewise.
* linuxdev/drivers/net/eepro.c: Likewise.
* linuxdev/drivers/net/eepro100.c: Likewise.
* linuxdev/drivers/net/eexpress.c: Likewise.
* linuxdev/drivers/net/eth16i.c: Likewise.
* linuxdev/drivers/net/ewrk3.c: Likewise.
* linuxdev/drivers/net/ewrk3.h: Likewise.
* linuxdev/drivers/net/hp-plus.c: Likewise.
* linuxdev/drivers/net/hp.c: Likewise.
* linuxdev/drivers/net/hp100.c: Likewise.
* linuxdev/drivers/net/hp100.h: Likewise.
* linuxdev/drivers/net/i82586.h: Likewise.
* linuxdev/drivers/net/lance.c: Likewise.
* linuxdev/drivers/net/ne.c: Likewise.
* linuxdev/drivers/net/net_init.c: Likewise.
* linuxdev/drivers/net/ni52.c: Likewise.
* linuxdev/drivers/net/ni52.h: Likewise.
* linuxdev/drivers/net/ni65.c: Likewise.
* linuxdev/drivers/net/ni65.h: Likewise.
* linuxdev/drivers/net/seeq8005.c: Likewise.
* linuxdev/drivers/net/seeq8005.h: Likewise.
* linuxdev/drivers/net/sk_g16.c: Likewise.
* linuxdev/drivers/net/sk_g16.h: Likewise.
* linuxdev/drivers/net/smc-ultra.c: Likewise.
* linuxdev/drivers/net/tulip.c: Likewise.
* linuxdev/drivers/net/wavelan.c: Likewise.
* linuxdev/drivers/net/wavelan.h: Likewise.
* linuxdev/drivers/net/wd.c: Likewise.
* linuxdev/drivers/net/znet.c: Likewise.
* linuxdev/drivers/pci/pci.c: Likewise.
* linuxdev/drivers/scsi/53c7,8xx.h: Likewise.
* linuxdev/drivers/scsi/53c78xx.c: Likewise.
* linuxdev/drivers/scsi/53c8xx_d.h: Likewise.
* linuxdev/drivers/scsi/AM53C974.c: Likewise.
* linuxdev/drivers/scsi/AM53C974.h: Likewise.
* linuxdev/drivers/scsi/BusLogic.c: Likewise.
* linuxdev/drivers/scsi/BusLogic.h: Likewise.
* linuxdev/drivers/scsi/NCR53c406a.c: Likewise.
* linuxdev/drivers/scsi/NCR53c406a.h: Likewise.
* linuxdev/drivers/scsi/advansys.c: Likewise.
* linuxdev/drivers/scsi/advansys.h: Likewise.
* linuxdev/drivers/scsi/aha152x.c: Likewise.
* linuxdev/drivers/scsi/aha152x.h: Likewise.
* linuxdev/drivers/scsi/aha1542.c: Likewise.
* linuxdev/drivers/scsi/aha1542.h: Likewise.
* linuxdev/drivers/scsi/aha1740.c: Likewise.
* linuxdev/drivers/scsi/aha1740.h: Likewise.
* linuxdev/drivers/scsi/aic7xxx.c: Likewise.
* linuxdev/drivers/scsi/aic7xxx.h: Likewise.
* linuxdev/drivers/scsi/aic7xxx_seq.h: Likewise.
* linuxdev/drivers/scsi/constants.h: Likewise.
* linuxdev/drivers/scsi/eata.c: Likewise.
* linuxdev/drivers/scsi/eata.h: Likewise.
* linuxdev/drivers/scsi/eata_dma.c: Likewise.
* linuxdev/drivers/scsi/eata_dma.h: Likewise.
* linuxdev/drivers/scsi/eata_generic.h: Likewise.
* linuxdev/drivers/scsi/eata_pio.c: Likewise.
* linuxdev/drivers/scsi/eata_pio.h: Likewise.
* linuxdev/drivers/scsi/fdomain.c: Likewise.
* linuxdev/drivers/scsi/fdomain.h: Likewise.
* linuxdev/drivers/scsi/g_NCR5380.c: Likewise.
* linuxdev/drivers/scsi/g_NCR5380.h: Likewise.
* linuxdev/drivers/scsi/hosts.c: Likewise.
* linuxdev/drivers/scsi/hosts.h: Likewise.
* linuxdev/drivers/scsi/in2000.c: Likewise.
* linuxdev/drivers/scsi/in2000.h: Likewise.
* linuxdev/drivers/scsi/pas16.c: Likewise.
* linuxdev/drivers/scsi/pas16.h: Likewise.
* linuxdev/drivers/scsi/scsi.c: Likewise.
* linuxdev/drivers/scsi/scsi.h: Likewise.
* linuxdev/drivers/scsi/scsi_ioctl.c: Likewise.
* linuxdev/drivers/scsi/scsi_proc.c: Likewise.
* linuxdev/drivers/scsi/scsicam.c: Likewise.
* linuxdev/drivers/scsi/sd.c: Likewise.
* linuxdev/drivers/scsi/sd.h: Likewise.
* linuxdev/drivers/scsi/sd_ioctl.c: Likewise.
* linuxdev/drivers/scsi/seagate.c: Likewise.
* linuxdev/drivers/scsi/seagate.h: Likewise.
* linuxdev/drivers/scsi/sr.c: Likewise.
* linuxdev/drivers/scsi/sr_ioctl.c: Likewise.
* linuxdev/drivers/scsi/t128.c: Likewise.
* linuxdev/drivers/scsi/t128.h: Likewise.
* linuxdev/drivers/scsi/u14-34f.c: Likewise.
* linuxdev/drivers/scsi/u14-34f.h: Likewise.
* linuxdev/drivers/scsi/ultrastor.c: Likewise.
* linuxdev/drivers/scsi/ultrastor.h: Likewise.
* linuxdev/drivers/scsi/wd7000.c: Likewise.
* linuxdev/drivers/scsi/wd7000.h: Likewise.
* linuxdev/include/asm-i386/bitops.h: Likewise.
* linuxdev/include/asm-i386/delay.h: Likewise.
* linuxdev/include/asm-i386/dma.h: Likewise.
* linuxdev/include/asm-i386/errno.h: Likewise.
* linuxdev/include/asm-i386/fcntl.h: Likewise.
* linuxdev/include/asm-i386/floppy.h: Likewise.
* linuxdev/include/asm-i386/ioctl.h: Likewise.
* linuxdev/include/asm-i386/floppy.h: Likewise.
* linuxdev/include/asm-i386/irq.h: Likewise.
* linuxdev/include/asm-i386/processor.h: Likewise.
* linuxdev/include/asm-i386/ptrace.h: Likewise.
* linuxdev/include/asm-i386/resource.h: Likewise.
* linuxdev/include/asm-i386/segment.h: Likewise.
* linuxdev/include/asm-i386/sigcontext.h: Likewise.
* linuxdev/include/asm-i386/signal.h: Likewise.
* linuxdev/include/asm-i386/socket.h: Likewise.
* linuxdev/include/asm-i386/statfs.h: Likewise.
* linuxdev/include/asm-i386/string.h: Likewise.
* linuxdev/include/asm-i386/system.h: Likewise.
* linuxdev/include/asm-i386/termios.h: Likewise.
* linuxdev/include/asm-i386/types.h: Likewise.
* linuxdev/include/asm-i386/unistd.h: Likewise.
* linuxdev/include/linux/autoconf.h: Likewise.
* linuxdev/include/linux/binfmts.h: Likewise.
* linuxdev/include/linux/bios32.h: Likewise.
* linuxdev/include/linux/blk.h: Likewise.
* linuxdev/include/linux/blkdev.h: Likewise.
* linuxdev/include/linux/cdrom.h: Likewise.
* linuxdev/include/linux/config.h: Likewise.
* linuxdev/include/linux/etherdevice.h: Likewise.
* linuxdev/include/linux/fd.h: Likewise.
* linuxdev/include/linux/fdreg.h: Likewise.
* linuxdev/include/linux/fs.h: Likewise.
* linuxdev/include/linux/genhd.h: Likewise.
* linuxdev/include/linux/hdreg.h: Likewise.
* linuxdev/include/linux/if.h: Likewise.
* linuxdev/include/linux/if_arp.h: Likewise.
* linuxdev/include/linux/if_ether.h: Likewise.
* linuxdev/include/linux/if_tr.h: Likewise.
* linuxdev/include/linux/igmp.h: Likewise.
* linuxdev/include/linux/in.h: Likewise.
* linuxdev/include/linux/inet.h: Likewise.
* linuxdev/include/linux/interrupt.h: Likewise.
* linuxdev/include/linux/ioport.h: Likewise.
* linuxdev/include/linux/ip.h: Likewise.
* linuxdev/include/linux/kernel.h: Likewise.
* linuxdev/include/linux/locks.h: Likewise.
* linuxdev/include/linux/major.h: Likewise.
* linuxdev/include/linux/malloc.h: Likewise.
* linuxdev/include/linux/mc146818rtc.h: Likewise.
* linuxdev/include/linux/mm.h: Likewise.
* linuxdev/include/linux/module.h: Likewise.
* linuxdev/include/linux/mount.h: Likewise.
* linuxdev/include/linux/net.h: Likewise.
* linuxdev/include/linux/netdevice.h: Likewise.
* linuxdev/include/linux/nfs.h: Likewise.
* linuxdev/include/linux/notifier.h: Likewise.
* linuxdev/include/linux/pagemap.h: Likewise.
* linuxdev/include/linux/pci.h: Likewise.
* linuxdev/include/linux/personality.h: Likewise.
* linuxdev/include/linux/proc_fs.h: Likewise.
* linuxdev/include/linux/quota.h: Likewise.
* linuxdev/include/linux/route.h: Likewise.
* linuxdev/include/linux/sched.h: Likewise.
* linuxdev/include/linux/skbuff.h: Likewise.
* linuxdev/include/linux/socket.h: Likewise.
* linuxdev/include/linux/sockios.h: Likewise.
* linuxdev/include/linux/string.h: Likewise.
* linuxdev/include/linux/time.h: Likewise.
* linuxdev/include/linux/timer.h: Likewise.
* linuxdev/include/linux/tqueue.h: Likewise.
* linuxdev/include/linux/tty.h: Likewise.
* linuxdev/include/linux/types.h: Likewise.
* linuxdev/include/linux/uio.h: Likewise.
* linuxdev/include/linux/version.h: Likewise.
* linuxdev/include/linux/wait.h: Likewise.
* linuxdev/include/net/af_unix.h: Likewise.
* linuxdev/include/net/ax25.h: Likewise.
* linuxdev/include/net/ax25call.h: Likewise.
* linuxdev/include/net/icmp.h: Likewise.
* linuxdev/include/net/ip.h: Likewise.
* linuxdev/include/net/ip_alias.h: Likewise.
* linuxdev/include/net/ip_forward.h: Likewise.
* linuxdev/include/net/ipx.h: Likewise.
* linuxdev/include/net/netlink.h: Likewise.
* linuxdev/include/net/netrom.h: Likewise.
* linuxdev/include/net/nrcall.h: Likewise.
* linuxdev/include/net/p8022.h: Likewise.
* linuxdev/include/net/protocol.h: Likewise.
* linuxdev/include/net/psnap.h: Likewise.
* linuxdev/include/net/raw.h: Likewise.
* linuxdev/include/net/route.h: Likewise.
* linuxdev/include/net/sock.h: Likewise.
* linuxdev/include/net/tcp.h: Likewise.
* linuxdev/include/net/udp.h: Likewise.
* linuxdev/arch/i386/linux_soft.c: Removed.
* linuxdev/drivers/scsi/NCR5380.src: Likewise.
* linuxdev/drivers/scsi/aic7xxx_proc.src: Likewise.
* linuxdev/drivers/scsi/aic7xxx_reg.h: Likewise.
* linuxdev/drivers/scsi/eata_dma_proc.src: Likewise.
* linuxdev/drivers/scsi/eata_pio_proc.src: Likewise.
* linuxdev/drivers/scsi/qlogic.c: Likewise.
* linuxdev/drivers/scsi/qlogic.h: Likewise.
* linuxdev/drivers/scsi/scsi_debug.c: Likewise.
* linuxdev/drivers/scsi/scsi_debug.h: Likewise.
* linuxdev/drivers/scsi/scsi_ioctl.h: Likewise.
* linuxdev/include/linux/math_emu.h: Likewise.
* linuxdev/include/linux/minix_fs.h: Likewise.
* linuxdev/include/linux/minix_fs_sb.h: Likewise.
* linuxdev/include/linux/scsi.h: Likewise.
* linuxdev/include/linux/scsicam.h: Likewise.
* linuxdev/include/linux/vm86.h: Likewise.
* linuxdev/arch/i386/linux_ctype.c: New file.
* linuxdev/arch/i386/linux_lib.S: Likewise.
* linuxdev/arch/i386/linux_softirq.c: Likewise.
* linuxdev/drivers/net/3c515.c: Likewise.
* linuxdev/drivers/net/epic100.c: Likewise.
* linuxdev/drivers/net/eth82586.h: Likewise.
* linuxdev/drivers/net/fmv18x.c: Likewise.
* linuxdev/drivers/net/ne2k-pci.c: Likewise.
* linuxdev/drivers/net/pcnet32.c: Likewise.
* linuxdev/drivers/net/rtl8139.c: Likewise.
* linuxdev/drivers/net/smc-ultra32.c: Likewise.
* linuxdev/drivers/net/smc9194.c: Likewise.
* linuxdev/drivers/net/smc9194.h: Likewise.
* linuxdev/drivers/net/tlan.c: Likewise.
* linuxdev/drivers/net/tlan.h: Likewise.
* linuxdev/drivers/net/wavelan.p.h: Likewise.
* linuxdev/drivers/net/yellowfin.c: Likewise.
* linuxdev/drivers/scsi/FlashPoint.c: Likewise.
* linuxdev/drivers/scsi/NCR5380.c: Likewise.
* linuxdev/drivers/scsi/NCR5380.h: Likewise.
* linuxdev/drivers/scsi/aic7xxx/scsi_message.h: Likewise.
* linuxdev/drivers/scsi/aic7xxx/sequencer.h: Likewise.
* linuxdev/drivers/scsi/aic7xxx_proc.c: Likewise.
* linuxdev/drivers/scsi/dc390.h: Likewise.
* linuxdev/drivers/scsi/dc390w.h: Likewise.
* linuxdev/drivers/scsi/dtc.c: Likewise.
* linuxdev/drivers/scsi/dtc.h: Likewise.
* linuxdev/drivers/scsi/eata_dma_proc.c: Likewise.
* linuxdev/drivers/scsi/eata_pio_proc.c: Likewise.
* linuxdev/drivers/scsi/gdth.c: Likewise.
* linuxdev/drivers/scsi/gdth.h: Likewise.
* linuxdev/drivers/scsi/gdth_ioctl.h: Likewise.
* linuxdev/drivers/scsi/gdth_proc.c: Likewise.
* linuxdev/drivers/scsi/gdth_proc.h: Likewise.
* linuxdev/drivers/scsi/ncr53c8xx.c: Likewise.
* linuxdev/drivers/scsi/ncr53c8xx.h: Likewise.
* linuxdev/drivers/scsi/ppa.c: Likewise.
* linuxdev/drivers/scsi/ppa.h: Likewise.
* linuxdev/drivers/scsi/qlogicfas.c: Likewise.
* linuxdev/drivers/scsi/qlogicfas.h: Likewise.
* linuxdev/drivers/scsi/qlogicisp.c: Likewise.
* linuxdev/drivers/scsi/qlogicisp.h: Likewise.
* linuxdev/drivers/scsi/qlogicisp_asm.c: Likewise.
* linuxdev/drivers/scsi/scripts.h: Likewise.
* linuxdev/drivers/scsi/scsiio.c: Likewise.
* linuxdev/drivers/scsi/scsiiom.c: Likewise.
* linuxdev/drivers/scsi/tmscsim.c: Likewise.
* linuxdev/drivers/scsi/tmscsim.h: Likewise.
* linuxdev/drivers/scsi/tmscsiw.c: Likewise.
* linuxdev/drivers/scsi/tmscsiw.h: Likewise.
* linuxdev/include/asm-i386/atomic.h: Likewise.
* linuxdev/include/asm-i386/checksum.h: Likewise.
* linuxdev/include/asm-i386/ioctls.h: Likewise.
* linuxdev/include/asm-i386/math_emu.h: Likewise.
* linuxdev/include/asm-i386/posix_types.h: Likewise.
* linuxdev/include/asm-i386/semaphore.h: Likewise.
* linuxdev/include/asm-i386/sockios.h: Likewise.
* linuxdev/include/asm-i386/string-486.h: Likewise.
* linuxdev/include/asm-i386/termbits.h: Likewise.
* linuxdev/include/asm-i386/unaligned.h: Likewise.
* linuxdev/include/asm-i386/vm86.h: Likewise.
* linuxdev/include/linux/affs_hardblocks.h: Likewise.
* linuxdev/include/linux/atalk.h: Likewise.
* linuxdev/include/linux/ax25.h: Likewise.
* linuxdev/include/linux/compile.h: Likewise.
* linuxdev/include/linux/ctype.h: Likewise.
* linuxdev/include/linux/fddidevice.h: Likewise.
* linuxdev/include/linux/icmp.h: Likewise.
* linuxdev/include/linux/if_fddi.h: Likewise.
* linuxdev/include/linux/ipx.h: Likewise.
* linuxdev/include/linux/md.h: Likewise.
* linuxdev/include/linux/netrom.h: Likewise.
* linuxdev/include/linux/posix_types.h: Likewise.
* linuxdev/include/linux/random.h: Likewise.
* linuxdev/include/linux/ucdrom.h: Likewise.
* linuxdev/include/linux/udp.h: Likewise.
* linuxdev/include/linux/wireless.h: Likewise.
* linuxdev/include/net/br.h: Likewise.
* linuxdev/include/net/gc.h: Likewise.
* linuxdev/include/net/ip_masq.h: Likewise.
* linuxdev/include/net/p8022tr.h: Likewise.
* linuxdev/include/net/p8022trcall.h: Likewise.
* linuxdev/include/net/rose.h: Likewise.
* linuxdev/include/net/rosecall.h: Likewise.
* linuxdev/include/net/slhc_vj.h: Likewise.
* linuxdev/include/net/spx.h: Likewise.
* linuxdev/include/scsi/scsi.h: Likewise.
* linuxdev/include/scsi/scsi_ioctl.h: Likewise.
* linuxdev/include/scsi/scsicam.h: Likewise.
1998-11-06 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* i386/i386at/gpl/linux: Moved to ...
* linuxdev: ... here.
* i386/Makefrag: Linux drivers specific code moved to ...
* linuxdev/Makefrag: ... here.
* i386/Files: Recreated.
* i386/Subdirs: Likewise.
* linuxdev/drivers: New directory.
* linuxdev/arch: Likewise.
* linuxdev/arch/i386: Likewise.
* linuxdev/{block,scsi,net,pci}: Moved to ...
* linuxdev/drivers/{block,scsi,net,pci}: ... here.
* i386/{Drivers.in,device-drivers.h.in,driverlist.in}: Moved to ...
* linuxdev/{Drivers.in,device-drivers.h.in,driverlist.in}: ... here.
* linuxdev/{linux_emul.h,linux_*.c}: Moved to ...
* linuxdev/arch/i386/{linux_emul.h,linux_*.c}: ... here.
* linuxdev/arch/i386/linux_block.c: Include <linux_emul.h>, instead
of <i386at/gpl/linux/linux_emul.h>.
* linuxdev/arch/i386/linux_init.c: Likewise.
* linuxdev/arch/i386/linux_kmem.c: Likewise.
* linuxdev/arch/i386/linux_misc.c: Likewise.
* linuxdev/arch/i386/linux_net.c: Likewise.
* linuxdev/arch/i386/linux_sched.c: Likewise.
* device/ds_routines.c: Include <linuxdev/device-drivers.h>, instead
of <i386/device-drivers.h>.
* linuxdev/arch/i386/linux_init.c: Likewise.
* linuxdev/include/linux/autoconf.h: Likewise.
* Makefile.in: Include $(srcdir)/linuxdev/Makefrag.
* linuxdev/Drivers.in (AC_INIT): Use include/linux/autoconf.h,
instead of i386/i386asm.sym.
1998-10-28 Roland McGrath <roland@baalperazim.frob.com>
* include/mach/multiboot.h: Contents were doubled.
1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
* Makefile.in (mach_machine): Don't depend on config.status, since it
is always newer than the symlink target.
* i386/Makefrag ($(systype)/device-drivers.h): Depend on
$(systype)/driverlist, and have no commands.
* configure.in (--enable-kdb): Fix help text; handle --disable-kdb.
Remove BUILD_CC checks and lex/yacc checks (which were for mig).
(installed_clib): Remove these checks.
(LD, NM, MIG): Use AC_CHECK_TOOL for these.
* Makefile.in (all, clean, mostlyclean, install, dist,
%_interface.h rule, all *mig* rules): Remove all commands, deps,
and rules related to mig, which is now in a separate distribution.
* Makefile.in (before-compile): Add mach/machine.
(mach/machine, mach_machine): New rules to make symlink so
#include <mach/machine/foo.h> works.
* Makefile.in (NM): New variable, substituted by configure.
(check-clib-routines): Use $(NM) instead of literal "nm".
Fix awk script to grok __ defns and weak defns of desired symbols.
(clib-routines.o): Use $(CC) -r -nostartfiles -nostdlib -static
instead of $(LD) -r. Use -lc instead of $(installed-clib).
(installed-clib): Variable removed.
* i386/Makefrag: Use -include for linux-flags, so no warning.
* device/chario.c: Add forward decl for ttstart.
* i386/i386/db_trace.c: Use explicit int in decl.
* device/ds_routines.c (device_write_trap, device_writev_trap,
ds_trap_write_done): Cast arg to zfree.
* kern/ipc_tt.c (mach_ports_lookup): Remove unnecessary cast.
1998-10-04 Roland McGrath <roland@baalperazim.frob.com>
* include/mach/message.h: Use __typeof instead of typeof.
1998-09-06 Roland McGrath <roland@baalperazim.frob.com>
* kern/time_out.h: Include <mach/time_value.h> for time_value_t defn.
1998-07-19 Roland McGrath <roland@baalperazim.frob.com>
* mig: Subdirectory removed, now in separate dist.
Fri Apr 24 14:24:15 1998 Thomas Bushnell, n/BSG <tb@mit.edu>
* i386/i386/pcb.c (thread_setstatus): Set STATE before validating
segment registers. Reported by UCHIYAMA Fasushi (uch@nop.or.jp).
Fri Apr 24 13:19:40 1998 Thomas Bushnell n/BSG <thomas@melange.gnu.org>
* kern/debug.c (panic): Increase "seconds" in delay to 1000; machines
are faster now.
* i386/i386at/gpl/linux/linux_kmem.c: Increase MEM_CHUNKS to 7.
Wed Aug 20 16:05:19 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* kern/thread.h (struct thread): New member `creation_time'.
* include/mach/thread_info.h: New member `creation_time'.
* kern/thread.c (thread_create): Set creation time stamp.
(thread_info) [THREAD_BASIC_INFO]: Fill in new creation time
field. Carefully preserve compatibility with old callers.
* kern/task.h (struct task): New member `creation_time'.
* include/mach/task_info.h: New member `creation_time'.
* kern/task.c (task_create): Set creation time stamp.
(task_info) [TASK_BASIC_INFO]: Fill in new creation time field.
Carefully preserve compatibility with old callers.
* kern/mach_clock.c (record_time_stamp): New function.
* kern/time_out.h (record_time_stamp): Add prototype.
Sun Aug 3 18:25:38 1997 Shantanu Goel <goel@cs.columbia.edu>
* i386/i386/thread.h (struct pcb): Added new field `data' used
by Linux driver emulation.
* i386/i386at/gpl/linux/include/linux/blk.h (end_request):
Revamped Mach specific code. Don't use `errors' field in request.
Don't call driver's request function.
* i386/i386at/gpl/linux/include/linux/fs.h (struct buffer_head):
Deleted old Mach-specific definition. Use original Linux defintion.
* i386/i386at/gpl/linux/linux_block.c: Rewritten extensively.
(collect_buffer_pages): Deleted.
(alloc_buffer, free_buffer): Rewritten to use Mach page allocator.
(getblk, __brelse): Use Mach kernel allocator.
(check_for_error): Deleted.
(ll_rw_block): Allocate request structure on stack.
(rdwr_partial, rdwr_full, do_rdwr) New routines.
(block_read, block_write): Rewritten to use new routine do_rdwr.
(find_name): New routine.
(read_bsd_label, read_vtoc): New routines.
(init_partition): New routine.
(device_open): Rewritten for modularity. Allocate Linux block
variables on the stack.
(check_limit): New routine.
(device_read, device_write): Rewritten extensively. Map user
pages into kernel buffer before passing to driver. This is in
preparation for general Linux block driver support. Allocate
Linux block variables on the stack.
* i386/i386at/gpl/linux/linux_kmem.c:
(collect_buffer_pages): Deleted.
Fri Aug 1 16:15:33 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* kern/mach_clock.c (clock_interrupt): Test correct macro to see
if PC sampling is configured: MACH_PCSAMPLE, not MACH_SAMPLE.
* i386/i386/locore.S (discover_x86_cpu_type): Comment out routine
for now.
* i386/i386at/model_dep.c (c_boot_entry): Comment out use of
discover_x86_cpu_type for now.
* i386/include/mach/i386/eflags.h (EFL_AC, EFL_ID): New bits.
* i386/i386/locore.S (discover_x86_cpu_type): Use correct opcode
for right shift. Use ENTRY macro correctly.
Mon Jul 28 17:01:19 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* COPYING: New file.
* Makefile.in (topfiles): Add COPYING.
Mon Jul 21 14:20:39 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* kern/mach4.srv: Include <mach_pcsample.h> so the value of
MACH_PCSAMPLE is made available for mach4.defs.
Thu Jul 10 13:51:20 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* Makefile.in (install): Use `ln -sf' instead of `-ln -s'.
Suggested by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu).
Thu Jun 26 13:48:31 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* i386/i386/locore.S (discover_x86_cpu_type): New function.
* i386/i386at/model_dep.c (c_boot_entry): Fill in cpu type in
MACHINE_SLOT using new function.
* include/mach/machine.h (CPU_TYPE_I486, CPU_TYPE_PENTIUM,
CPU_TYPE_PENTIUMPRO, CPU_TYPE_POWERPC): New CPU types. These
conform to current OSF Mach values, but note that some of the
various subtypes are different.
Mon Jun 16 12:14:17 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* i386/i386/loose_ends.c (ovbcopy): Delete function. Suggested by
Matthew Wilcox (willy@odie.barnet.ac.uk.)
Thu Jun 12 18:08:29 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
Version 1.1.3 released.
* version.c (version): Update to 1.1.3.
Wed Jun 11 20:16:47 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* i386/Drivers.in: Add el3. How did this escape notice?
* i386/device-drivers.h.in: Add CONFIG_EL3.
Tue Jun 10 13:33:37 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
Version 1.1.2 released.
* Makefile.in (install): Install cross-migcom as `migcom', not as
`mig'.
* i386/Makefrag (objfiles += $(device_drivers)): Sort
$(device_drivers) before adding to objfiles in order to remove
duplicates.
Mon Jun 9 22:14:09 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* i386/Drivers.in: Fix typos apt.o -> atp.o; 3c403.o -> 3c503.o.
* Drivers.macros (AC_DRIVER): Test the class selected flag
correctly.
Mon May 26 14:33:19 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* version.c (version): Update to version 1.1.2.
Fri May 23 10:08:48 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* kern/thread.c (thread_info): Set flags word correctly;
TH_FLAGS_SWAPPED and TH_FLAGS_IDLE are not exclusive.
* Makefile.in (topfiles): Add aclocal.m4.
Reported by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu).
Mon May 12 11:25:38 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
Version 1.1.1 released.
* version.c (version): Update to version 1.1.1.
* bogus/mach_kdb.h: Make sure MACH_KDB is always defined, to zero
if necessary. Bug report from Marcus Daniels
(marcus@cathcart.sysc.pdx.edu).
Fri May 9 13:06:25 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* i386/Files: Fix typo for _setjmp.S.
Reflect 53c7,8xx.c -> 53c78xx.c change.
Wed May 7 15:32:08 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* version.c (version): Update to version 1.1.
* NEWS: New file.
* Makefile.in (topfiles): Add NEWS.
Mon May 5 11:34:01 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* Makefile.in (enable_kdb): Use findstring instead of filter.
Reported by Marcus Daniels (marcus@cathcart.sysc.pdx.edu).
Fri May 2 12:43:46 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* Makefile.in (enable_kdb): New variable.
(clib-routines): If enable_kdb, then add strstr.
* i386/i386/_setjmp.S: New file, from UK22 libmach.
* i386/Files: Add i386/i386/_setjmp.S.
* i386/Makefrag (objfiles): Add _setjmp.o if enable_kdb.
1997-04-30 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>
* Makefile.in (clib-routines): Add htons not because it is necessary,
but because libc5 systems will bring it in.
(check-clib-routines): Tolerate extra weak symbols.
Wed Apr 30 14:12:12 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* Makefile.in: Delete duplicate rule for cross-mig.
Mon Apr 28 12:09:53 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* Makefile.in (check): New target. Reported by
xtest@postman.epa.go.jp.
* i386/Drivers.in (ncr53c7xx): Change file name to 53c78xx.o.
* i386/i386at/gpl/linux/scsi/53c7,8xx.c: Moved to ...
* i386/i386at/gpl/linux/scsi/53c78xx.c: ... here.
* i386/Makefrag (linux-scsi-files): Change file name here too.
Reported by xtest@postman.epa.go.jp.
Wed Apr 23 14:35:44 1997 Miles Bader <miles@gnu.ai.mit.edu>
* ipc/ipc_entry.c [MACH_KDB]: Add include of <kern/task.h>.
Wed Apr 23 13:21:23 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* configure.in (BUILD_CC): Use AC_CHECK_PROGS, not AC_CHECK_PROG,
since we are checking multiple names.
* configure.in (kdb): New --enable option.
* Makefile.in (DEFINES): Add @DEFS@.
* bogus/mach_kdb.h: Make this file zero length; we get MACH_KDB
from configure now.
* Makefile.in (clean, distclean, mostlyclean, maintainter-clean):
New targets.
(all-archs-configures): New variable.
(MIG): Change to ./local-mig.
(./local-mig): Change to build this instead of ./mig
(check-clib-routines): Use nm -g in case there are local symbols.
Suggested by Matthew Wilcox (willy@odie.barnet.ac.uk).
Fri Apr 18 15:25:10 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* configure.in: Add AC_PREREQ for version 2.12.
* i386/Drivers.in: Likewise.
Wed Apr 16 16:55:36 1997 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>
* configure.in: Replace AC_PROG_CC with AC_PROG_CC_LOCAL.
If cross compiling do Lex/Yacc checks with BUILD_CC.
Check CC and BUILD_CC for libraries having the needed support,
and substitute discovery in installed_clib.
* aclocal.m4: New file. These replacement macros are to handle
the case where there is a cross compiler but no supporting files.
* Makefile.in (installed-clib): Don't hardwire a Hurd libcrt.a.
(cross_linkable): Only define cross-migcom variable when it will
be possible to build it.
(all, install): Use $(cross-migcom).
(install): Install cross-migcom only if was to be built.
(mkinstalldirs): Add $(bindir), $(includedir)/mach/exec
(cross-lexxer.o lexxer.o): lexxer.o needs cpu.h.
(./cross-migcom): Prevent dependency generation for cross-* MiG files
unless they can actually be built.
Thu Apr 17 15:55:40 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* kern/exception.c (exception_no_server): Comment out the suspend
code; it's useful for special case debugging, but causes problems
in general.
Wed Apr 16 12:52:25 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* Makefile.in (cross-lexxer.o lexxer.o): Add pump-priming
dependency on cpu.h. Reported by Marcus G. Daniels
(marcus@cathcart.sysc.pdx.edu).
* configure.in: Fail if configure target is not for GNU os.
* i386/Drivers.in (com): Delete option. It's required by
kd_mouse.c.
* i386/Makefrag (i386at-files): Add com.c.
(driver-files): Delete variable.
* i386/bogus/com.h: Revert change of March 10.
* i386/device-drivers.h.in (CONFIG_MACH_COM): Delete option.
Bug report from Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu).
* Makefile.in (./cross-mig): New rule.
(mkinstalldirs): Add $(libexecdir).
* configure.in: Recognize i686.
Reported by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu).
Mon Apr 14 11:50:45 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* Released version 1.0.
* kern/exception.c (exception_no_server): Try and suspend the
failing thread before killing the task. Then a debugger can be
used.
* i386/Makefrag: Add rebuilding rules for configure subscript.
* i386/Makefrag: Fix up copyright notice.
* i386/Drivers.in: Likewise.
* Makefile.in: Likewise.
* Drivers.macros: Likewise.
* configure.in: Likewise.
* include/sys/time.h: New file, from include/mach/sa/sys/time.h.
* include/sys/reboot.h: New file, from include/mach/sa/sys/reboot.h.
* include/sys/ioctl.h: New file, from include/mach/sa/sys/ioctl.h.
* include/alloca.h: New file, from include/mach/sa/alloca.h.
* Makefile.in (other-sys-headers): Add time.h, ioctl.h, and reboot.h.
(other-mach-headers): New variable.
(mach-exec-headers): New variable.
(other-headers): New variable.
(installed-headers): Add mach-exec-headers.
(dist): Distribute other-mach-headers, other-sys-headers,
mach-exec-headers, and other-headers.
(device-files): Add device.srv.
* Makefile.in (check-clib-routines): Use more efficient rule.
Fri Apr 11 15:18:09 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* Makefile.in (dist): Repair rule.
(other-sys-headers): New variable.
(dist): Install $(other-sys-headers).
(INCLUDES): Remove -I$(srcdir)/include/mach/sa.
(rules for mig-related .d files): Include MiG-specific -I flags.
(mach-headers): Add inline.h.
* include/sys/types.h: New file, from include/mach/sa/sys/types.h.
Mon Mar 24 16:23:21 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* version.c (version): Make that 1.0. Whee.
Fri Mar 21 15:50:09 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* i386/i386at/gpl/linux/scsi/aha1740.c (aha1740_test_port): Try
and turn on PORTADDR_ENH before checking it.
* vm/vm_object.c (vm_object_cached_max): Increase to 200.
Thu Mar 20 12:33:06 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* Makefile.in (dist): New target. Reorganized some vars
describing source.
* i386/Subdirs: New file.
* i386/Files: New file.
* version.c (version): Push back to 0.1.
* Makefile.in (cross_compiling, bindir, libexecdir): New
variable.
* Makefile.in (install): Depend on cross-mig and cross-migcom;
install them. New rules added to build mig, migcom, cross-mig,
and cross-migcom.
* configure.in (AC_PROG_LEX, AC_PROG_YACC): New tests.
(BUILD_CC): New test to set these.
* Makefile.in (%.h %_user.c): Depend on $(MIG) too.
(%_interface.h %_server.c): Likewise.
(MIG): Don't use @MIG@; hard code it to the one we build.
(BUILD_CC, BUILD_CFLAGS, MIGCOM, LEX, YACC, LEXLIB): New variables.
Wed Mar 19 16:47:28 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* i386/i386at/kd.c (BROKEN_KEYBOARD_RESET): Turn off this so that
we attempt the keyboard resets.
* i386/i386/locore.S (cpu_shutdown): Attempt to provide a more
`robust' null_idtr.
Mon Mar 17 13:47:14 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* i386/i386at/gpl/linux/scsi/hosts.c (scsi_init): Don't print out
gratuitious obnoxiousness.
* i386/i386at/gpl/linux/scsi/scsi.c (scsi_dev_init): Likewise.
* i386/i386at/gpl/linux/block/triton.c (ide_init_triton):
Likewise.
(init_triton_dma): Likewise.
* i386/i386at/gpl/linux/pci/pci.c (pci_init): Likewise.
* i386/i386at/gpl/linux/pci/bios32.c (check_pcibios): Likewise.
(pcibios_init): Likewise.
* i386/i386at/gpl/linux/block/genhd.c (add_partition): Likewise.
* i386/i386at/gpl/linux/net/8390.c (ei_debug): Make default value
zero.
Wed Mar 12 14:50:46 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* i386/i386at/com.c (comprobe): Turn off noisiness.
* i386/i386at/gpl/linux/linux_block.c (check_disk_change): Don't
print out gratuitous obnoxiousness.
(device_open): Likewise.
* kern/bootstrap.c (copy_bootstrap): Likewise.
(user_bootstrap): Likewise.
* i386/i386at/gpl/linux/block/genhd.c (msdos_partition): Likewise.
(osf_partition): Likewise.
(sun_partition): Likewise.
(check_partition): Likewise.
* i386/i386/pit.c (findspeed): Likewise.
* vm/vm_resident.c (vm_page_bootstrap): Likewise.
Mon Mar 10 15:04:47 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* i386/i386at/gpl/linux/linux_init.c (calibrate_delay): Don't
print out gratuitous obnoxiousness.
* i386/i386at/gpl/linux/linux_init.c (linux_init): Only call
linux_net_emulation_init if CONFIG_INET. Include
<i386/device-drivers.h>.
* i386/i386at/i386at_ds_routines.c: Include
<i386/device-drivers.h>. Don't mention linux_net_emulation_ops
unless CONFIG_INET.
* device/ds_routines.c (io_done_thread_continue): [i386]
Conditionalize free_skbuffs also on CONFIG_INET. Include
<i386/device-drivers.h>.
* i386/Drivers.in, i386/device-drivers.h.in, i386/driverlist.in:
New files.
* i386/Makefrag: Include i386/driverlist; don't include all device
drivers in kernel image; instead use list from driverlist.
* configure.in: Configure in $systype subdir too.
* i386/i386at/gpl/linux/include/linux/autoconf.h: Damage severly
to conform to device-drivers.h model.
* i386/bogus/com.h: Include <i386/device-drivers.h>.
Only turn on NCOM if CONFIG_MACH_COM is present.
Mon Mar 3 16:26:58 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* include/mach/message.h (__mach_msg, __mach_msg_trap): Add decls.
Tue Feb 25 15:42:23 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* i386/Makefrag (INCLUDES): Find `include' directory in new
location.
* Makefile (INCLUDES): Find `include' directory in new location.
(%.symc): Find gensym.awk in new location.
* Reorganized directories into new layout and unified mach4 and
mach4-i386 into a single tree.
Older changes in ChangeLog.00 (for i386 directory) and ChangeLog.0 (for
all other files).
|