summaryrefslogblamecommitdiffstats
path: root/doc/user/conf.t
blob: 412759a84ccb78d0429dd80506222d8fb6f5a1c7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
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
                            

                                                    
 







                                                                
  
 
                             
 


                       


                                                                
                                                          

                                                                 







                                                                        
 







                                                               
 
                  
                  
























                                                                          
 



                                           
 




                                                                         
 
































                                                                          
 




















                                                                          
 






                                                  
 


                                                                        
 



                                                         
 




                                                                       




                                                         

                                                                       








                                                          




                                                         


                                                                        
 



                                
 


                                                                    
 


                
 

                                                  
 

                                                                    
 
                                        
 

                                          
 

                                                                       
 



                           
 

                                                                       
 
                
 






































                                                                        
 

            

                                                                     
 
                

                                                                         
 
                                                                                     
 
                                                                      
 


                                                                       
 



                             
 








                                                                          
 

                                                                    
 










                    
 

                                                                    
 












                               
 


                                                                     
 























                                                                           

        
                                                           

            




                                                       
 



                                      
 




                                                                       
 



                                             
 
                                   
 


                                  
 

                      
 

                     
 

                               
 
          
 



                                                                          
 



                                                                        
 



                                                     
 


                                        
 

                
 

                     
 


                                                                     
 
          
 



                                                                     
 





                                                                          
 



                                           
 



                                    
 

                                                                 
 
  
                                  
  
                                             
 
                               
 


                              
 

                
 

                
 

                                
 
























                                                                         

  
                                                 
  
                                        
 
                                              
 


                                             
 

                      
 

                     
 

                                                                       
 
          
 



                                                                      
 




                                                                      
 



                                              
 
                                
 


                               
 

                
 

                
 

                                
 
          
 





                                                                    
 
  
                                       
  
                                                  
 
                                    
 


                                   
 

                
 

                
 










                                                                    

  
                                           
  
                                                      
 
                                        
 


                                       
 

                
 

                
 









































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































                                                                               
 
                                                




















                                                                 

                                                              









                                                                       
 
                                                
 


                                               
 

                      
 

                     
 
                    

                                
          
 



                                                                      
 




                                                                       
 



                                                                    
 
                                                        
 


                                                       
 

                      
 

                     
 

                               
 
          
 




                                                                        
 



                                                                         
 



                                                 
 
                                              
 


                                             
 

                      
 

                     
 

                                
 
          
 


                                                               
 


                                                                       
 























                                                                     
 


                                                                    
 


                                                                      
 

                                                                     
 



                                                          
 
                                                       
 


                                                      
 

                      
 



                     

                                
          
 


                                                                          
 


                                                                          
 

                                                                     
 



                                                  
 
                                               
 


                                              
 

                      
 

                     
 

                                
 
          
 


                                                                
 


                                                                      
 



                                                           
 
                                                  
 


                                                 
 

                              
 

                                                  
 

                               
 
          
 






                                                                        
 





                                                                          
 
                  
 



                                                    
 
                                           
 


                                          
 

                              
 

                                                  
 

                               
 
          
 




                                                                       
 

                  
 



                                                  
 

                                               
 


                                              
 

                      
 

                     
 

                               
 
          
 


                                                                
 

                                            
 



                                                  
 

                                               

         

                                              
 

                      
 

                     
 

                               
 
          
 


                                                                
 

                                            
 



                                        
 



                                                                         
 








                                                                          

         

                               
 

                      
 

                     
 

                               
 
          
 




                                                                    
 


                                                                  
 



                                                                 
 
                                
 


                               
 

                
 

                
 


                                                                      


          


                                                     
 




                                                                        
 
 



                                                                  
 
                                  
 


                                 
 

                
 

            
 

                       
 
          
 


                                                                     
 

                  
 



                                                                            
 
                                           
 


                                          
 

                
 

            
 

                    
 
          
 


                                                                   
 


                                                                  
 



                                                                     
 
                                    
 


                                   
 

                
 

                     
 

                    
 
          
 


                                                                         
 



                                                                            
 
                                                   
 



                                                          
 
                                       
 


                                      
 

                                  
 

                          
 

                               


          



                                                             
 



                                                                      
 



                                                              
 
                                               
 


                                              
 

                      
 

                     
 

                               
 
          
 



                                                                          
 



                                                                         
 



                    
 


                                                                    
 


                                                                          
 



                                                                     
 



                                                 
 
                            
 


                           
 

                      
 

                     
 

                               
 
          
 


                                                                    
 




                                                                     
 



                                                    
 
                                   
 


                                  
 

                
 

                     
 

                                                                           
 
          
 


                                                                      
 

                  
 



                                              
 
                                        
 


                                        
 

                
 

                
 

                                                                        
 
          
 




                                                                           
 

                  
 



                                        
 





                                                                         
 


                                                                       
@c  COPYRIGHT (c) 1988-2013.
@c  On-Line Applications Research Corporation (OAR).
@c  All rights reserved.

@c TODO:
@c   + Ensure all macros are documented.
@c   + Verify which structures may actually be defined by a user
@c   + Add Go configuration.

@c Questions:
@c   + Should there be examples of defining your own
@c     Device Driver Table, Init task table, etc.?
@c

@chapter Configuring a System

@c
@c === Introduction ===
@c
@section Introduction

RTEMS must be configured for an application.  This configuration
information encompasses a variety of information including
the length of each clock tick, the maximum number of each RTEMS
object that can be created, the application initialization tasks,
the task scheduling algorithm to be used, and the device drivers in
the application.

Although this information is contained in data structures that are used
to RTEMS at system initialization time, the data structures themselves
should only rarely to be generated by hand. RTEMS provides a macro based
system which provides the standard and simple mechanism to automate the
generation of these structures.

@ifset is-Ada
System configuration is ALWAYS done from C.  When developing
an Ada application, the user is responsible for creating at
least one C file which contains the Ada run-time initialization
and the RTEMS System Configuration.  There is no Ada binding
for RTEMS System Configuration information.  Thus all examples
and data structures shown in this chapter are in C.
@end ifset

@cindex confdefs.h
@findex confdefs.h
@cindex <rtems/confdefs.h>
@findex <rtems/confdefs.h>

The RTEMS header file @code{<rtems/confdefs.h>} is the core of the
automatic generation of system configuration. It is based on the idea
of setting macros which define configuration parameters of interest to
the application and defaulting or calculating all others. This variety
of macros can automatically produce all of the configuration data
required for an RTEMS application.

Trivia: @code{confdefs} is shorthand for a @b{Configuration Defaults}.

As a general rule, the application developer only specifies values
for the configuration parameters of interest to them. They define what
resources or features they require. In most cases, when a parameter is
not specified, it defaults to zero (0) instances, a standards compliant
value, or disabled as appropriate. For example, by default there will be
256 task priority levels but this can be lowered by the application. This
number of priority levels is required to be standards compliant.

For each configuration parameter in the configuration tables, the macro
corresponding to that field is discussed. It is expected that all systems
can be easily configured using the @code{<rtems/confdefs.h>} mechanism. It
is also expected that using this mechanism will avoid internal RTEMS
configuration changes impacting applications.

@c
@c === Philospohy ===
@c
@section Default Value Selection Philosophy

The user should be aware that the defaults are intentionally set as
low as possible.  By default, no application resources are configured.
The @code{<rtems/confdefs.h>} file ensures that at least one application
tasks or thread is configured and that at least one of the initialization
task/thread tables is configured.

@c
@c === Sizing the RTEMS Workspace ===
@c
@section Sizing the RTEMS Workspace

The RTEMS Workspace is a user-specified block of memory reserved for
use by RTEMS.  The application should NOT modify this memory.  This area
consists primarily of the RTEMS data structures whose exact size depends
upon the values specified in the Configuration Table.  In addition,
task stacks and floating point context areas are dynamically allocated
from the RTEMS Workspace.

The @code{<rtems/confdefs.h>} mechanism calculates the size of the RTEMS
Workspace automatically.  It assumes that all tasks are floating point and
that all will be allocated the mininum stack space.  This calculation also
automatically includes the memory that will be allocated for internal
use by RTEMS. In the event, there is an under-estimation of the amount
of memoryy required, the @code{CONFIGURE_MEMORY_OVERHEAD} is provided
as a work-around.

The starting address of the RTEMS Workspace is determined
by the BSP must be aligned on at least a four-byte boundary.
Failure to properly align the workspace area will result in the
@code{@value{DIRPREFIX}fatal_error_occurred} directive being invoked
with the @code{@value{RPREFIX}INVALID_ADDRESS} error code.

The file @code{<rtems/confdefs.h>} will calculate the value that is
specified as the @code{work_space_size} parameter of the Configuration
Table. There are many parameters the application developer can
specify to help @code{<rtems/confdefs.h>} in its calculations.
Correctly specifying the application requirements via parameters such
as @code{CONFIGURE_EXTRA_TASK_STACKS} and @code{CONFIGURE_MAXIMUM_TASKS}
is critical for production software.

The allocation of objects can operate in two modes. The default mode
has an object number ceiling. No more than the specified number of
objects can be allocated from the RTEMS Workspace. The number of objects
specified in the particular API Configuration table fields are
allocated at initialisation. The second mode allows the number of
objects to grow to use the available free memory in the RTEMS Workspace.

See @ref{Configuring a System Unlimited Objects} for more details about
the second mode, which allows for dynamic allocation of objects and
therefore does not provide determinism.  This mode is useful mostly for
when the number of objects cannot be determined ahead of time or when
porting software for which you do not know the object requirements.

Note that future versions of RTEMS may not have the same memory
requirements per object. Although the value calculated is sufficient
for a particular target processor and release of RTEMS, memory usage
is subject to change across versions and target processors.  To avoid
problems, users should accurately specify each configuration parameter and
allow @code{<rtems/confdefs.h>} to calculate the memory requirements.
The memory requirements are likely to change each time one of the
following events occurs:

@itemize @bullet
@item a configuration parameter is modified,
@item task or interrupt stack requirements change,
@item task floating point attribute is altered,
@item RTEMS is upgraded, or
@item the target processor is changed.
@end itemize

Failure to provide enough space in the RTEMS Workspace will result in
the @code{@value{DIRPREFIX}fatal_error_occurred} directive being invoked
with the appropriate error code.

@c
@c === Potential Issues ===
@c
@section Potential Issues with RTEMS Workspace Estimation

The @code{<rtems/confdefs.h>} file estimates the amount of memory
required for the RTEMS Workspace.  This estimate is only as accurate
as the information given to @code{<rtems/confdefs.h>} and may be either
too high or too low for a variety of reasons.  Some of the reasons that
@code{<rtems/confdefs.h>} may reserve too much memory for RTEMS are:

@itemize @bullet
@item All tasks/threads are assumed to be floating point.
@end itemize

Conversely, there are many more reasons, the resource estimate could be
too low:

@itemize @bullet
@item Task/thread stacks greater than minimum size must be
accounted for explicitly by developer.

@item Memory for messages is not included.

@item Device driver requirements are not included.

@item Network stack requirements are not included.

@item Requirements for add-on libraries are not included.
@end itemize

In general, @code{<rtems/confdefs.h>} is very accurate when given enough
information.  However, it is quite easy to use a library and forget to
account for its resources.

@c
@c === Configuration Example ===
@c
@section Configuration Example

In the following example, the configuration information for a system
with a single message queue, four (4) tasks, and a time slice
fifty (50) milliseconds is as follows:

@example
@group
#include <bsp.h>

#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER

#define CONFIGURE_MICROSECONDS_PER_TICK   1000 /* 1 millisecond */
#define CONFIGURE_TICKS_PER_TIMESLICE       50 /* 50 milliseconds */

#define CONFIGURE_RTEMS_INIT_TASKS_TABLE

#define CONFIGURE_MAXIMUM_TASKS 4
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1

#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
  CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( 10, sizeof(struct USER_MESSAGE))

#define CONFIGURE_INIT
#include <rtems/confdefs.h>
@end group
@end example

In this example, only a few configuration parameters are specified. The
impact of these are as follows:

@itemize @bullet

@item The example specified @code{CONFIGURE_RTEMS_INIT_TASK_TABLE}
but did not specify any additional parameters. This results in a
configuration which will begin execution at  single initialization task
named @code{Init} which is non-preemptible and at priority one (1).

@item By specifying @code{CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER},
this application is configured to have a clock tick device
driver. This is required for the passage of time including
delays and wall time. Further configuration details about time
are provided. Per @code{CONFIGURE_MICROSECONDS_PER_TICK} and
@code{CONFIGURE_TICKS_PER_TIMESLICE}, the user specified they wanted a
clock tick to occur each millisecond, and that the length of a timeslice
would be fifty (50) milliseconds.

@item By specifying @code{CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER},
the application will include a console device driver. This provides
for standard I/O) on at least @code{/dev/console}. Implicitly, the
Configuration Defaults header file configures enough resources for three
(3) file descriptors to be used for standard in, out, and error on a
device that supports the POSIX @i{termios} interface.

@item The example above specifies via @code{CONFIGURE_MAXIMUM_TASKS},
that the application requires a maximum of four (4)
concurrently existent Classic API tasks. Similarly, by specifying
@code{CONFIGURE_MAXIMUM_MESSAGE_QUEUES}, there may be a maximum of only
one (1) concurrently existent Classic API message queues.

@item The most surprising configuration parameter in this example is the
use of @code{CONFIGURE_MESSAGE_BUFFER_MEMORY}. Message buffer memory is
allocated from the RTEMS Workspace and must be accounted for. In this
example, the single message queue will have up to twenty (20) messages
of type @code{struct USER_MESSAGE}.

@item The @code{CONFIGURE_INIT} constant must be defined in order to
make @code{<rtems/confdefs.h>} instantiate the configuration data
structures.  This can only be defined in one source file per
application that includes @code{<rtems/confdefs.h>} or the symbol
table will be instantiated multiple times and linking errors
produced.

@end itemize

This example illustrates that parameters have default values. Among
other things, the application implicitly used the following defaults:

@itemize @bullet
@item All unspecified types of communications and synchronization objects
in the Classic and POSIX Threads API have maximums of zero (0).

@item The filesystem will be the default filesystem which only supports device nodes.

@item The application will have the default number of priority levels.

@item The minimum task stack size will be that recommended by RTEMS for
the target architecture.
@end itemize

@c
@c === Unlimited Objects ===
@c
@subsection Unlimited Objects

In real-time embedded systems the RAM is normally a limited, critical
resource and dynamic allocation is avoided as much as possible to
ensure predictable, deterministic execution times. For such cases, see
@ref{Configuring a System Sizing the RTEMS Workspace} for an overview
of how to tune the size of the workspace.  Frequently when users are
porting software to RTEMS the precise resource requirements of the
software is unknown. In these situations users do not need to control
the size of the workspace very tightly because they just want to get
the new software to run; later they can tune the workspace size as needed.

The following object classes in the Classic API can be configured in
unlimited mode:

@itemize @bullet
@item Tasks
@item Timers
@item Semaphores
@item Message Queues
@item Periods
@item Barriers
@item Partitions
@item Regions
@item Ports
@end itemize

Additionally, the following object classes from the POSIX API can be
configured in unlimited mode:

@itemize @bullet
@item Threads
@item Mutexes
@item Condition Variables
@item Keys
@item Timers
@item Message Queues
@item Message Queue Descriptors
@item Semaphores
@item Barriers
@item Read/Write Locks
@item Spinlocks
@end itemize

Due to how the POSIX object memory requirements are configured the
unlimited object support does not provide unlimited size declarations
for POSIX keys or queued signals.

Users are cautioned that using unlimited objects is not recommended for
production software unless the dynamic growth is absolutely required. It
is generally considered a safer embedded systems programming practice to
know the system limits rather than experience an out of memory error
at an arbitrary and largely unpredictable time in the field.

@c
@c === Per Object Class Unlimited Object Instances ===
@c
@subsection Per Object Class Unlimited Object Instances

@findex rtems_resource_unlimited
When the number of objects is not known ahead of time, RTEMS provides an
auto-extending mode that can be enabled individually for each object
type by using the macro @code{rtems_resource_unlimited}. This takes a value
as a parameter, and is used to set the object maximum number field in
an API Configuration table. The value is an allocation unit size. When
RTEMS is required to grow the object table it is grown by this
size. The kernel will return the object memory back to the RTEMS Workspace
when an object is destroyed. The kernel will only return an allocated
block of objects to the RTEMS Workspace if at least half the allocation
size of free objects remain allocated. RTEMS always keeps one
allocation block of objects allocated. Here is an example of using
@code{rtems_resource_unlimited}:

@example
#define CONFIGURE_MAXIMUM_TASKS rtems_resource_unlimited(5)
@end example

@findex rtems_resource_is_unlimited
@findex rtems_resource_maximum_per_allocation
Object maximum specifications can be evaluated with the
@code{rtems_resource_is_unlimited} and
@code{rtems_resource_maximum_per_allocation} macros.

@c
@c === Unlimited Object Instances ===
@c
@subsection Unlimited Object Instances

To ease the burden of developers who are porting new software RTEMS
also provides the capability to make all object classes listed above
operate in unlimited mode in a simple manner. The application developer
is only responsible for enabling unlimited objects and specifying the
allocation size.

@c
@c === CONFIGURE_OBJECTS_UNLIMITED ===
@c
@subsection Enable Unlimited Object Instances

@findex CONFIGURE_OBJECTS_UNLIMITED

@table @b
@item CONSTANT:
@code{CONFIGURE_OBJECTS_UNLIMITED}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_OBJECTS_UNLIMITED} enables @code{rtems_resource_unlimited}
mode for Classic API and POSIX API objects that do not already have a
specific maximum limit defined.

@subheading NOTES:
When using unlimited objects, it is common practice to also specify
@code{CONFIGURE_UNIFIED_WORK_AREAS} so the system operates with a single
pool of memory for both RTEMS and application memory allocations.

@c
@c === CONFIGURE_OBJECTS_ALLOCATION_SIZE ===
@c
@subsection Specify Unlimited Objects Allocation Size

@table @b
@item CONSTANT:
@code{CONFIGURE_OBJECTS_ALLOCATION_SIZE}

@item DATA TYPE:
integer

@item RANGE:
undefined or positive

@item DEFAULT VALUE:
If not defined and @code{CONFIGURE_OBJECTS_UNLIMITED} is defined, the
default value is eight (8).

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_OBJECTS_ALLOCATION_SIZE} provides an
allocation size to use for @code{rtems_resource_unlimited} when using
@code{CONFIGURE_OBJECTS_UNLIMITED}.

@subheading NOTES:
By allowing users to declare all resources as being unlimited
the user can avoid identifying and limiting the resources used.
@code{CONFIGURE_OBJECTS_UNLIMITED} does not support varying the allocation
sizes for different objects; users who want that much control can define
the @code{rtems_resource_unlimited} macros themselves.

@example
#define CONFIGURE_OBJECTS_UNLIMITED
#define CONFIGURE_OBJECTS_ALLOCATION_SIZE 5
@end example

@c
@c === Classic API Configuration ===
@c
@section Classic API Configuration

This section defines the Classic API related system configuration
parameters supported by @code{<rtems/confdefs.h>}.

@c
@c === CONFIGURE_MAXIMUM_TASKS ===
@c
@subsection Specify Maximum Classic API Tasks

@findex CONFIGURE_MAXIMUM_TASKS

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_TASKS}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_TASKS} is the maximum number of Classic API
Tasks that can be concurrently active.

@subheading NOTES:
This object class can be configured in unlimited allocation mode.

This calculations for the required memory in the RTEMS Workspace
for tasks assume that each task has a minimum stack size and
has floating point support enabled.  The configuration parameter
@code{CONFIGURE_EXTRA_TASK_STACKS} is used to specify task stack
requirements @b{ABOVE} the minimum size required.  See
@ref{Configuring a System Reserve Task/Thread Stack Memory Above Minimum}
for more information about @code{CONFIGURE_EXTRA_TASK_STACKS}.

The maximumm number of POSIX threads is specified by
@code{CONFIGURE_MAXIMUM_POSIX_THREADS}.
@c XXX - Add xref to CONFIGURE_MAXIMUM_POSIX_THREADS.

A future enhancement to @code{<rtems/confdefs.h>} could be to eliminate
the assumption that all tasks have floating point enabled. This would
require the addition of a new configuration parameter to specify the
number of tasks which enable floating point support.

@c
@c === CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS ===
@c
@subsection Disable Classic API Notepads

@findex CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS

@table @b
@item CONSTANT:
@code{CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
By default, this is not defined and Classic API Notepads are supported.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS} should be defined if the
user does not want to have support for Classic API Notepads in their
application.

@subheading NOTES:
Disabling Classic API Notepads saves the allocation of sixteen (16)
thirty-two bit integers. This saves sixty-four bytes per task/thread
plus the allocation overhead. Notepads are rarely used in applications
and this can save significant memory in a low RAM system.

@c
@c === CONFIGURE_MAXIMUM_TIMERS ===
@c
@subsection Specify Maximum Classic API Timers

@findex CONFIGURE_MAXIMUM_TIMERS

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_TIMERS}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_TIMERS} is the maximum number of Classic API
Timers that can be concurrently active.

@subheading NOTES:
This object class can be configured in unlimited allocation mode.

@c
@c === CONFIGURE_MAXIMUM_SEMAPHORES ===
@c
@subsection Specify Maximum Classic API Semaphores

@findex CONFIGURE_MAXIMUM_SEMAPHORES

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_SEMAPHORES}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_SEMAPHORES} is the maximum number of Classic
API Semaphores that can be concurrently active.

@subheading NOTES:
This object class can be configured in unlimited allocation mode.

@c
@c === CONFIGURE_MAXIMUM_MESSAGE_QUEUES ===
@c
@subsection Specify Maximum Classic API Message Queues

@findex CONFIGURE_MAXIMUM_MESSAGE_QUEUES

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_MESSAGE_QUEUES}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_MESSAGE_QUEUES} is the maximum number of Classic
API Message Queues that can be concurrently active.

@subheading NOTES:
This object class can be configured in unlimited allocation mode.

@c
@c === CONFIGURE_MAXIMUM_BARRIERS ===
@c
@subsection Specify Maximum Classic API Barriers

@findex CONFIGURE_MAXIMUM_BARRIERS

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_BARRIERS}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_BARRIERS} is the maximum number of Classic
API Barriers that can be concurrently active.

@subheading NOTES:
This object class can be configured in unlimited allocation mode.

@c
@c === CONFIGURE_MAXIMUM_PERIODS ===
@c
@subsection Specify Maximum Classic API Periods

@findex CONFIGURE_MAXIMUM_PERIODS

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_PERIODS}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_PERIODS} is the maximum number of Classic
API Periods that can be concurrently active.

@subheading NOTES:
This object class can be configured in unlimited allocation mode.

@c
@c === CONFIGURE_MAXIMUM_PARTITIONS ===
@c
@subsection Specify Maximum Classic API Partitions

@findex CONFIGURE_MAXIMUM_PARTITIONS

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_PARTITIONS}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_PARTITIONS} is the maximum number of Classic
API Partitions that can be concurrently active.

@subheading NOTES:
This object class can be configured in unlimited allocation mode.

@c
@c === CONFIGURE_MAXIMUM_REGIONS ===
@c
@subsection Specify Maximum Classic API Regions

@findex CONFIGURE_MAXIMUM_REGIONS

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_REGIONS}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_REGIONS} is the maximum number of Classic
API Regions that can be concurrently active.

@subheading NOTES:
None.

@c
@c === CONFIGURE_MAXIMUM_PORTS ===
@c
@subsection Specify Maximum Classic API Ports

@findex CONFIGURE_MAXIMUM_PORTS

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_PORTS}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_PORTS} is the maximum number of Classic
API Ports that can be concurrently active.

@subheading NOTES:
This object class can be configured in unlimited allocation mode.

@c
@c === CONFIGURE_MAXIMUM_USER_EXTENSIONS ===
@c
@subsection Specify Maximum Classic API User Extensions

@findex CONFIGURE_MAXIMUM_USER_EXTENSIONS

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_USER_EXTENSIONS}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_USER_EXTENSIONS} is the maximum number of Classic
API User Extensions that can be concurrently active.

@subheading NOTES:
This object class can be configured in unlimited allocation mode.

@c
@c === Classic API Initialization Task Configuration ===
@c
@section Classic API Initialization Tasks Table Configuration

The @code{<rtems/confdefs.h>} configuration system can automatically
generate an Initialization Tasks Table named
@code{Initialization_tasks} with a single entry.  The following
parameters control the generation of that table.

@c
@c === CONFIGURE_RTEMS_INIT_TASKS_TABLE ===
@c
@subsection Instantiate Classic API Initialization Task Table

@findex CONFIGURE_RTEMS_INIT_TASKS_TABLE

@table @b
@item CONSTANT:
@code{CONFIGURE_RTEMS_INIT_TASKS_TABLE}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_RTEMS_INIT_TASKS_TABLE} is defined if the user wishes
to use a Classic RTEMS API Initialization Task Table. The table built by
@code{<rtems/confdefs.h>} specifies the parameters for a single task. This
is sufficient for applications which initialization the system from a
single task.

By default, this field is not defined as the user MUST select their own
API for initialization tasks.

@subheading NOTES:
The application may choose to use the initialization tasks or threads
table from another API.

A compile time error will be generated if the user does not configure
any initialization tasks or threads.

@c
@c === CONFIGURE_INIT_TASK_ENTRY_POINT ===
@c
@subsection Specifying Classic API Initialization Task Entry Point

@findex CONFIGURE_INIT_TASK_ENTRY_POINT

@table @b
@item CONSTANT:
@code{CONFIGURE_INIT_TASK_ENTRY_POINT}

@item DATA TYPE:
rtems_task_entry

@item RANGE:
valid method pointer

@item DEFAULT VALUE:
By default the value is @code{Init}.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_INIT_TASK_ENTRY_POINT} is the entry point (a.k.a. function
name) of the single initialization task defined by the Classic API
Initialization Tasks Table.

@subheading NOTES:
The user must implement the method @code{Init} or the method name provided
in this configuration parameter.

@c
@c === CONFIGURE_INIT_TASK_NAME ===
@c
@subsection Specifying Classic API Initialization Task Name

@findex CONFIGURE_INIT_TASK_NAME

@table @b
@item CONSTANT:
@code{CONFIGURE_INIT_TASK_NAME}

@item DATA TYPE:
rtems_name

@item RANGE:
any value

@item DEFAULT VALUE:
By default the value is @code{rtems_build_name( 'U', 'I', '1', ' ' )}.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_INIT_TASK_NAME} is the name of the single initialization
task defined by the Classic API Initialization Tasks Table.

@subheading NOTES:
None.

@c
@c === CONFIGURE_INIT_TASK_STACK_SIZE ===
@c
@subsection Specifying Classic API Initialization Task Stack Size

@findex CONFIGURE_INIT_TASK_STACK_SIZE

@table @b
@item CONSTANT:
@code{CONFIGURE_INIT_TASK_STACK_SIZE}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
By default value is the configured minimum stack size.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_INIT_TASK_STACK_SIZE} is the stack size of the single
initialization task defined by the Classic API Initialization Tasks Table.

@subheading NOTES:
If the stack size specified is greater than the configured minimum,
it must be accounted for in @code{CONFIGURE_EXTRA_TASK_STACKS}.
See @ref{Configuring a System Reserve Task/Thread Stack Memory Above Minimum}
for more information about @code{CONFIGURE_EXTRA_TASK_STACKS}.

@c
@c === CONFIGURE_INIT_TASK_PRIORITY ===
@c
@subsection Specifying Classic API Initialization Task Priority

@findex CONFIGURE_INIT_TASK_PRIORITY

@table @b
@item CONSTANT:
@code{CONFIGURE_INIT_TASK_PRIORITY}

@item DATA TYPE:
rtems_task_priority

@item RANGE:
1 to CONFIGURE_MAXIMUM_PRIORITY

@item DEFAULT VALUE:
By default the value is one (1) which is the highest priority in the
Classic API.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_INIT_TASK_PRIORITY} is the initial priority of the single
initialization task defined by the Classic API Initialization Tasks Table.

@subheading NOTES:
None.

@c
@c === CONFIGURE_INIT_TASK_ATTRIBUTES ===
@c
@subsection Specifying Classic API Initialization Task Attributes

@findex CONFIGURE_INIT_TASK_ATTRIBUTES

@table @b
@item CONSTANT:
@code{CONFIGURE_INIT_TASK_ATTRIBUTES}


@item DATA TYPE:
rtems_attributes

@item RANGE:
valid task attribute sets

@item DEFAULT VALUE:
By default the tvalue is @code{RTEMS_DEFAULT_ATTRIBUTES}.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_INIT_TASK_ATTRIBUTES} is the task attributes of the single
initialization task defined by the Classic API Initialization Tasks Table.

@subheading NOTES:
None.

@c
@c === CONFIGURE_INIT_TASK_INITIAL_MODES ===
@c
@subsection Specifying Classic API Initialization Task Modes

@findex CONFIGURE_INIT_TASK_INITIAL_MODES

@table @b
@item CONSTANT:
@code{CONFIGURE_INIT_TASK_INITIAL_MODES}

@item DATA TYPE:
rtems_mode

@item RANGE:
valid task mode sets

@item DEFAULT VALUE:
By default the value is @code{RTEMS_NO_PREEMPT}.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_INIT_TASK_INITIAL_MODES} is the initial execution mode of
the single initialization task defined by the Classic API Initialization
Tasks Table.

@subheading NOTES:
None.

@c
@c === CONFIGURE_INIT_TASK_ARGUMENTS ===
@c
@subsection Specifying Classic API Initialization Task Arguments

@findex CONFIGURE_INIT_TASK_ARGUMENTS

@table @b
@item CONSTANT:
@code{CONFIGURE_INIT_TASK_ARGUMENTS}

@item DATA TYPE:
rtems_task_argument

@item RANGE:
valid rtems_task_argument values

@item DEFAULT VALUE:
By default the value is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_INIT_TASK_ARGUMENTS} is the task argument of the single
initialization task defined by the Classic API Initialization Tasks Table.

@subheading NOTES:
None.

@c
@c === CONFIGURE_HAS_OWN_INIT_TASK_TABLE ===
@c
@subsection Not Using Generated Initialization Tasks Table

@findex CONFIGURE_HAS_OWN_INIT_TASK_TABLE

@table @b
@item CONSTANT:
@code{CONFIGURE_HAS_OWN_INIT_TASK_TABLE}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_HAS_OWN_INIT_TASK_TABLE} is defined if the user wishes
to define their own Classic API Initialization Tasks Table.  This table
should be named @code{Initialization_tasks}.

@subheading NOTES:
This is a seldom used configuration parameter. The most likely use case
is when an application desires to have more than one initialization task.

@c
@c === POSIX API Configuration ===
@c
@section POSIX API Configuration

The parameters in this section are used to configure resources
for the RTEMS POSIX API.  They are only relevant if the POSIX API
is enabled at configure time using the @code{--enable-posix} option.

@c
@c === CONFIGURE_MAXIMUM_POSIX_THREADS ===
@c
@subsection Specify Maximum POSIX API Threads

@findex CONFIGURE_MAXIMUM_POSIX_THREADS

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_POSIX_THREADS}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_POSIX_THREADS} is the maximum number of POSIX API
Threads that can be concurrently active.

@subheading NOTES:
This object class can be configured in unlimited allocation mode.

This calculations for the required memory in the RTEMS Workspace
for threads assume that each thread has a minimum stack size and
has floating point support enabled.  The configuration parameter
@code{CONFIGURE_EXTRA_TASK_STACKS} is used to specify thread stack
requirements @b{ABOVE} the minimum size required.
See @ref{Configuring a System Reserve Task/Thread Stack Memory Above Minimum}
for more information about @code{CONFIGURE_EXTRA_TASK_STACKS}.

The maximum number of Classic API Tasks is specified by
@code{CONFIGURE_MAXIMUM_TASKS}.

All POSIX threads have floating point enabled.

@c XXX - Add xref to CONFIGURE_MAXIMUM_TASKS.

@c
@c === CONFIGURE_MAXIMUM_POSIX_MUTEXES ===
@c
@subsection Specify Maximum POSIX API Mutexes

@findex CONFIGURE_MAXIMUM_POSIX_MUTEXES

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_POSIX_MUTEXES}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_POSIX_MUTEXES} is the maximum number of POSIX
API Mutexes that can be concurrently active.

@subheading NOTES:
This object class can be configured in unlimited allocation mode.

@c
@c === CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES ===
@c
@subsection Specify Maximum POSIX API Condition Variables

@findex CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES} is the maximum number
of POSIX API Condition Variables that can be concurrently active.

@subheading NOTES:
This object class can be configured in unlimited allocation mode.

@c
@c === CONFIGURE_MAXIMUM_POSIX_KEYS ===
@c
@subsection Specify Maximum POSIX API Keys

@findex CONFIGURE_MAXIMUM_POSIX_KEYS

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_POSIX_KEYS}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_POSIX_KEYS} is the maximum number of POSIX
API Keys that can be concurrently active.

@subheading NOTES:
This object class can be configured in unlimited allocation mode.

@c XXX - Key pairs

@c
@c === CONFIGURE_MAXIMUM_POSIX_TIMERS ===
@c
@subsection Specify Maximum POSIX API Timers

@findex CONFIGURE_MAXIMUM_POSIX_TIMERS

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_POSIX_TIMERS}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_POSIX_TIMERS} is the maximum number of POSIX
API Timers that can be concurrently active.

@subheading NOTES:
This object class can be configured in unlimited allocation mode.

@c
@c === CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS ===
@c
@subsection Specify Maximum POSIX API Queued Signals

@findex CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS} is the maximum number of POSIX
API Queued Signals that can be concurrently active.

@subheading NOTES:
None.

@c
@c === CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES ===
@c
@subsection Specify Maximum POSIX API Message Queues

@findex CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES} is the maximum number of POSIX
API Message Queues that can be concurrently active.

@subheading NOTES:
This object class can be configured in unlimited allocation mode.

@c XXX - memory for buffers note

@c
@c === CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS ===
@c
@subsection Specify Maximum POSIX API Message Queue Descriptors

@findex CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS}

@item DATA TYPE:
integer

@item RANGE:
greater than or equal to @code{CONFIGURE_MAXIMUM_POSIX_MESSAGES_QUEUES}

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS} is the maximum
number of POSIX API Message Queue Descriptors that can be concurrently
active.

@subheading NOTES:
This object class can be configured in unlimited allocation mode.

@code{CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS} should be
greater than or equal to @code{CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES}.

@c
@c === CONFIGURE_MAXIMUM_POSIX_SEMAPHORES ===
@c
@subsection Specify Maximum POSIX API Semaphores

@findex CONFIGURE_MAXIMUM_POSIX_SEMAPHORES

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_POSIX_SEMAPHORES}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_POSIX_SEMAPHORES} is the maximum number of POSIX
API Semaphores that can be concurrently active.

@subheading NOTES:
None.

@c
@c === CONFIGURE_MAXIMUM_POSIX_BARRIERS ===
@c
@subsection Specify Maximum POSIX API Barriers

@findex CONFIGURE_MAXIMUM_POSIX_BARRIERS

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_POSIX_BARRIERS}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_POSIX_BARRIERS} is the maximum number of POSIX
API Barriers that can be concurrently active.

@subheading NOTES:
This object class can be configured in unlimited allocation mode.

@c
@c === CONFIGURE_MAXIMUM_POSIX_SPINLOCKS ===
@c
@subsection Specify Maximum POSIX API Spinlocks

@findex CONFIGURE_MAXIMUM_POSIX_SPINLOCKS

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_POSIX_SPINLOCKS}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_POSIX_SPINLOCKS} is the maximum number of POSIX
API Spinlocks that can be concurrently active.

@subheading NOTES:
This object class can be configured in unlimited allocation mode.

@c
@c === CONFIGURE_MAXIMUM_POSIX_RWLOCKS ===
@c
@subsection Specify Maximum POSIX API Read/Write Locks

@findex CONFIGURE_MAXIMUM_POSIX_RWLOCKS

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_POSIX_RWLOCKS}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default for this field is 0.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_POSIX_RWLOCKS} is the maximum number of POSIX
API Read/Write Locks that can be concurrently active.

@subheading NOTES:
This object class can be configured in unlimited allocation mode.

@c
@c === POSIX Initialization Threads Table Configuration ===
@c
@section POSIX Initialization Threads Table Configuration

The @code{<rtems/confdefs.h>} configuration system can automatically
generate a POSIX Initialization Threads Table named
@code{POSIX_Initialization_threads} with a single entry.  The following
parameters control the generation of that table.

@c
@c === CONFIGURE_POSIX_INIT_THREAD_TABLE ===
@c
@subsection Instantiate POSIX API Initialization Thread Table

@findex CONFIGURE_POSIX_INIT_THREAD_TABLE

@table @b
@item CONSTANT:
@findex CONFIGURE_POSIX_INIT_THREAD_TABLE

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
By default, this field is not defined as the user MUST select their own
API for initialization tasks.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_POSIX_INIT_THREAD_TABLE} is defined if the user wishes
to use a POSIX API Initialization Threads Table.  The table built
by @code{<rtems/confdefs.h>} specifies the parameters for a single
thread. This is sufficient for applications which initialization the
system from a
single task.

By default, this field is not defined as the user MUST select their own
API for initialization tasks.

@subheading NOTES:
The application may choose to use the initialization tasks or threads
table from another API.

A compile time error will be generated if the user does not configure
any initialization tasks or threads.

@c
@c === CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT ===
@c
@subsection Specifying POSIX API Initialization Thread Entry Point

@findex CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT

@table @b
@item CONSTANT:
@code{CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT}

@item DATA TYPE:
void *(*entry_point)(void *)

@item RANGE:
valid method pointer

@item DEFAULT VALUE:
By default the value is @code{POSIX_Init}.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT} is the entry point
(a.k.a. function name) of the single initialization thread defined by
the POSIX API Initialization Threads Table.

@subheading NOTES:
The user must implement the method @code{POSIX_Init} or the method name
provided in this configuration parameter.

@c
@c === CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE ===
@c
@subsection Specifying POSIX API Initialization Thread Stack Size

@findex CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE

@table @b
@item CONSTANT:
@code{CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
By default value is twice the configured minimum stack size.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE} is the stack size of the
single initialization thread defined by the POSIX API Initialization
Threads Table.

@subheading NOTES:
If the stack size specified is greater than the configured minimum,
it must be accounted for in @code{CONFIGURE_EXTRA_TASK_STACKS}.
See @ref{Configuring a System Reserve Task/Thread Stack Memory Above Minimum}
for more information about @code{CONFIGURE_EXTRA_TASK_STACKS}.

@c
@c === CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE ===
@c
@subsection Not Using Generated POSIX Initialization Threads Table

@findex CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE

@table @b
@item CONSTANT:
@code{CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE} is defined if the
user wishes to define their own POSIX API Initialization Threads Table.
This table should be named @code{POSIX_Initialization_threads}.

@subheading NOTES:
This is a seldom used configuration parameter. The most likely use case
is when an application desires to have more than one initialization task.

@c
@c === Basic System Information ===
@c
@section Basic System Information

This section defines the general system configuration parameters supported by
@code{<rtems/confdefs.h>}.

@c
@c === CONFIGURE_UNIFIED_WORK_AREAS ===
@c
@subsection Separate or Unified Work Areas

@findex CONFIGURE_UNIFIED_WORK_AREAS
@cindex unified work areas
@cindex separate work areas
@cindex RTEMS Workspace
@cindex C Program Heap

@table @b
@item CONSTANT:
@code{CONFIGURE_UNIFIED_WORK_AREAS}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
By default, this is undefined which specifies that the C Program Heap
and the RTEMS Workspace will be separate.

@end table

@subheading DESCRIPTION:
When defined, the C Program Heap and the RTEMS Workspace will be one pool
of memory.

When not defined, there will be separate memory pools for the RTEMS
Workspace and C Program Heap.

@subheading NOTES:
Having separate pools does have some advantages in the event a task blows
a stack or writes outside its memory area. However, in low memory systems
the overhead of the two pools plus the potential for unused memory in
either pool is very undesirable.

In high memory environments, this is desirable when you want to use the
RTEMS "unlimited" objects option.  You will be able to create objects
until you run out of all available memory rather then just until you
run out of RTEMS Workspace.

@c
@c === CONFIGURE_MICROSECONDS_PER_TICK ===
@c
@subsection Length of Each Clock Tick

@findex CONFIGURE_MICROSECONDS_PER_TICK
@cindex tick quantum

@table @b
@item CONSTANT:
@code{CONFIGURE_MICROSECONDS_PER_TICK}

@item DATA TYPE:
integer

@item RANGE:
non-zero positive values

@item DEFAULT VALUE:
When not defined, the clock tick quantum is configured to be 10,000
microseconds which is ten (10) milliseconds.

@end table

@subheading DESCRIPTION:
This constant is  used to specify the length of time between clock ticks.

When the clock tick quantum value is too low, the system will spend so
much time processing clock ticks that it does not have processing time
available to perform application work. In this case, the system will
become unresponsive.

The lowest practical time quantum varies widely based upon the speed
of the target hardware and the architectural overhead associated with
interrupts. In general terms, you do not want to configure it lower than
is needed for the application.

The clock tick quantum should be selected such that it all blocking and
delay times in the application are evenly divisible by it. Otherwise,
rounding errors will be introduced which may negatively impact the
application.

@subheading NOTES:
This configuration parameter has no impact if the Clock Tick Device
driver is not configured.

There may be BSP specific limits on the resolution or maximum value of
a clock tick quantum.

@c
@c === CONFIGURE_TICKS_PER_TIMESLICE ===
@c
@subsection Specifying Timeslicing Quantum

@findex CONFIGURE_TICKS_PER_TIMESLICE
@cindex ticks per timeslice

@table @b
@item CONSTANT:
@code{CONFIGURE_TICKS_PER_TIMESLICE}


@item DATA TYPE:
integer

@item RANGE:
non-zero positive values

@item DEFAULT VALUE:
If unspecified, this parameter defaults to fifty (50).

@end table

@subheading DESCRIPTION:
This configuration parameter specifies the length of the timeslice
quantum in ticks for each task.

@subheading NOTES:
This configuration parameter has no impact if the Clock Tick Device
driver is not configured.

@c
@c === CONFIGURE_MAXIMUM_PRIORITY ===
@c
@subsection Specifying the Number of Thread Priority Levels

@findex CONFIGURE_MAXIMUM_PRIORITY
@cindex maximum priority
@cindex number of priority levels

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_PRIORITY}

@item DATA TYPE:
integer

@item RANGE:
Valid values for this configuration parameter must be one (1) less than
than a power of two (2) between 4 and 256 inclusively.  In other words,
valid values are 3, 7, 31, 63, 127, and 255.

@item DEFAULT VALUE:
By default, RTEMS must support 256 priority levels to be compliant with
various standards. These priorities range from zero (0) to 255.  Thus,
the default value for this field is 255.

@end table

@subheading DESCRIPTION:
This configuration parameter specified the maximum numeric priority
of any task in the system and one less that the number of priority levels
in the system.

Reducing the number of priorities in the system reduces the amount of
memory allocated from the RTEMS Workspace.

@subheading NOTES:
The numerically greatest priority is the logically lowest priority in
the system and will thus be used by the IDLE task.

Priority zero (0) is reserved for internal use by RTEMS and is not
available to applications.

With some schedulers, reducing the number of priorities can reduce the
amount of memory used by the scheduler. For example, the Deterministic
Priority Scheduler (DPS) used by default uses three pointers of storage
per priority level. Reducing the number of priorities from 256 levels
to sixteen (16) can reduce memory usage by about three (3) kilobytes.

@c
@c === CONFIGURE_MINIMUM_TASK_STACK_SIZE ===
@c
@subsection Specifying the Minimum Task Size

@findex CONFIGURE_MINIMUM_TASK_STACK_SIZE
@cindex minimum task stack size

@table @b
@item CONSTANT:
@code{CONFIGURE_MINIMUM_TASK_STACK_SIZE}

@item DATA TYPE:
integer

@item RANGE:
non-zero positive integer

@item DEFAULT VALUE:
When not defined by the application, this is set to the recommended
minimum stack size for this processor.

@end table

@subheading DESCRIPTION:
The configuration parameter is set to the number of bytes the application
wants the minimum stack size to be for every task or thread in the system.

Adjusting this parameter should be done with caution. Examining the actual
usage using the Stack Checker Usage Reporting facility is recommended.

@subheading NOTES:
This parameter can be used to lower the minimum from that
recommended. This can be used in low memory systems to reduce memory
consumption for stacks. However, this must be done with caution as it
could increase the possibility of a blown task stack.

This parameter can be used to increase the minimum from that
recommended. This can be used in higher memory systems to reduce the
risk of stack overflow without performing analysis on actual consumption.

@c
@c === CONFIGURE_INTERRUPT_STACK_SIZE ===
@c
@subsection Configuring the Size of the Interrupt Stack

@findex CONFIGURE_INTERRUPT_STACK_SIZE
@cindex interrupt stack size

@table @b
@item CONSTANT:
@code{CONFIGURE_INTERRUPT_STACK_SIZE}

@item DATA TYPE:
integer

@item RANGE:
non-zero positive integer

@item DEFAULT VALUE:
If not specified, the interrupt stack will be of minimum size.
The default value is the configured minimum task stack size.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_INTERRUPT_STACK_SIZE} is set to the size of the
interrupt stack.  The interrupt stack size is often set by the BSP but
since this memory may be allocated from the RTEMS Workspace, it must be
accounted for.

@subheading NOTES:
In some BSPs, changing this constant does NOT change the
size of the interrupt stack, only the amount of memory
reserved for it.

Patches which result in this constant only being used in memory
calculations when the interrupt stack is intended to be allocated
from the RTEMS Workspace would be welcomed by the RTEMS Project.

@c
@c === CONFIGURE_EXTRA_TASK_STACKS ===
@c
@subsection Reserve Task/Thread Stack Memory Above Minimum

@findex CONFIGURE_EXTRA_TASK_STACKS
@cindex memory for task tasks

@table @b
@item CONSTANT:
@code{CONFIGURE_EXTRA_TASK_STACKS}

@item DATA TYPE:
integer

@item RANGE:
Undefined or positive

@item DEFAULT VALUE:
When this is not defined, the default value is 0.

@end table

@subheading DESCRIPTION:
This configuration parameter is set to the number of bytes the
applications wishes to add to the task stack requirements calculated
by @code{<rtems/confdefs.h>}.

@subheading NOTES:
This parameter is very important.  If the application creates tasks with
stacks larger then the minimum, then that memory is NOT accounted for
by @code{<rtems/confdefs.h>}.

@c
@c === CONFIGURE_ZERO_WORKSPACE_AUTOMATICALLY ===
@c
@subsection Automatically Zeroing the RTEMS Workspace and C Program Heap

@findex CONFIGURE_ZERO_WORKSPACE_AUTOMATICALLY
@cindex clear C Program Heap
@cindex clear RTEMS Workspace
@cindex zero C Program Heap
@cindex zero RTEMS Workspace

@table @b
@item CONSTANT:
@code{CONFIGURE_ZERO_WORKSPACE_AUTOMATICALLY}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
Unless overridden by the BSP, this is not defined by default.  The default
is @b{NOT} to zero out the RTEMS Workspace or C Program Heap.

@end table

@subheading DESCRIPTION:
This macro indicates whether RTEMS should zero the RTEMS Workspace and
C Program Heap as part of its initialization.  If defined, the memory
regions are zeroed.  Otherwise, they are not.

@subheading NOTES:
Zeroing memory can add significantly to system boot time. It is not
necessary for RTEMS but is often assumed by support libraries.

@c
@c === CONFIGURE_STACK_CHECKER_ENABLED ===
@c
@subsection Enable The Task Stack Usage Checker

@findex CONFIGURE_STACK_CHECKER_ENABLED

@table @b
@item CONSTANT:
@code{CONFIGURED_STACK_CHECKER_ENABLED}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
By default, this is not defined and thus stack checking is disabled.

@end table

@subheading DESCRIPTION:
This configuration parameter is defined when the application wishes to
enable run-time stack bounds checking.


@subheading NOTES:
In 4.9 and older, this configuration parameter was named
@code{STACK_CHECKER_ON}.

This increases the time required to create tasks as well as adding
overhead to each context switch.

@c
@c === CONFIGURE_INITIAL_EXTENSIONS ===
@c
@subsection Specify Application Specific User Extensions

@findex CONFIGURE_INITIAL_EXTENSIONS

@table @b
@item CONSTANT:
@code{CONFIGURE_INITIAL_EXTENSIONS}

@item DATA TYPE:
List of @code{rtems_extensions_table} entries

@item RANGE:
Undefined or a list of one or more user extensions.

@item DEFAULT VALUE:
This value is not defined by default.

@end table

@subheading DESCRIPTION:
If @code{CONFIGURE_INITIAL_EXTENSIONS} is defined by the application,
then this application specific set of initial extensions will be placed
in the initial extension table.

@subheading NOTES:
None.

@c
@c === Custom Stack Allocator ===
@c
@section Configuring Custom Task Stack Allocation

RTEMS allows the application or BSP to define its own allocation and
deallocation methods for task stacks. This can be used to place task
stacks in special areas of memory or to utilize a Memory Management Unit
so that stack overflows are detected in hardware.

@c
@c === CONFIGURE_TASK_STACK_ALLOCATOR_INIT ===
@c
@subsection Custom Task Stack Allocator Initialization

@findex CONFIGURE_TASK_STACK_ALLOCATOR_INIT

@table @b
@item CONSTANT:
@code{CONFIGURE_TASK_STACK_ALLOCATOR_INIT}

@item DATA TYPE:
method pointer

@item RANGE:
NULL or valid pointer to a method

@item DEFAULT VALUE:
The default value for this field is NULL which indicates that
task stacks will be allocated from the RTEMS Workspace.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_TASK_STACK_ALLOCATOR_INIT} configures the initialization
method for an application or BSP specific task stack allocation
implementation.

@subheading NOTES:
A correctly configured system must configure the following to be consistent:

@itemize @bullet
@item @code{CONFIGURE_TASK_STACK_ALLOCATOR_INIT}
@item @code{CONFIGURE_TASK_STACK_ALLOCATOR}
@item @code{CONFIGURE_TASK_STACK_DEALLOCATOR}
@end itemize

@c
@c === CONFIGURE_TASK_STACK_ALLOCATOR ===
@c
@subsection Custom Task Stack Allocator

@findex CONFIGURE_TASK_STACK_ALLOCATOR

@cindex task stack allocator

@table @b
@item CONSTANT:
@code{CONFIGURE_TASK_STACK_ALLOCATOR}

@item DATA TYPE:
method pointer

@item RANGE:
NULL or valid method pointer

@item DEFAULT VALUE:
The default value for this field is NULL which indicates that
task stacks will be allocated from the RTEMS Workspace.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_TASK_STACK_ALLOCATOR} may point to a user provided
routine to allocate task stacks.

@subheading NOTES:
A correctly configured system must configure the following to be consistent:

@itemize @bullet
@item @code{CONFIGURE_TASK_STACK_ALLOCATOR_INIT}
@item @code{CONFIGURE_TASK_STACK_ALLOCATOR}
@item @code{CONFIGURE_TASK_STACK_DEALLOCATOR}
@end itemize

@c
@c === CONFIGURE_TASK_STACK_DEALLOCATOR ===
@c
@subsection Custom Task Stack Deallocator

@findex CONFIGURE_TASK_STACK_DEALLOCATOR
@cindex task stack deallocator

@table @b
@item CONSTANT:
@code{CONFIGURE_TASK_STACK_DEALLOCATOR}

@item DATA TYPE:
method pointer

@item RANGE:
undefined or valid pointer

@item DEFAULT VALUE:
The default value for this field is NULL which indicates that
task stacks will be allocated from the RTEMS Workspace.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_TASK_STACK_DEALLOCATOR} may point to a user provided
routine to free task stacks.

@subheading NOTES:
A correctly configured system must configure the following to be consistent:

@itemize @bullet
@item @code{CONFIGURE_TASK_STACK_ALLOCATOR_INIT}
@item @code{CONFIGURE_TASK_STACK_ALLOCATOR}
@item @code{CONFIGURE_TASK_STACK_DEALLOCATOR}
@end itemize

@c
@c === Classic API Message Buffers ===
@c
@section Configuring Memory for Classic API Message Buffers

This section describes the configuration parameters related to specifying
the amount of memory reserved for Classic API Message Buffers.

@c
@c === CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE ===
@c
@subsection Calculate Memory for a Single Classic Message API Message Queue

@findex CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE
@cindex memory for a single message queue's buffers

@table @b
@item CONSTANT:
@code{CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
This macro is only used as input to

@end table

@subheading DESCRIPTION:
This is a helper macro which is used to assist in computing the total
amount of memory required for message buffers.  Each message queue will
have its own configuration with maximum message size and maximum number
of pending messages.

The interface for this macro is as follows:

@example
CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE(max_messages, size_per)
@end example

Where @code{max_messages} is the maximum number of pending messages
and @code{size_per} is the size in bytes of the user message.

@subheading NOTES:
This macro is only used in support of @code{CONFIGURE_MESSAGE_BUFFER_MEMORY}.

@c
@c === CONFIGURE_MESSAGE_BUFFER_MEMORY ===
@c
@subsection Reserve Memory for All Classic Message API Message Queues

@findex CONFIGURE_MESSAGE_BUFFER_MEMORY
@cindex configure message queue buffer memory

@table @b
@item CONSTANT:
@code{CONFIGURE_MESSAGE_BUFFER_MEMORY}

@item DATA TYPE:
integer summation macro

@item RANGE:
undefined (zero) or calculation resulting in a positive integer

@item DEFAULT VALUE:
By default, this is not defined and zero (0) memory is reserved.

@end table

@subheading DESCRIPTION:
This macro is set to the number of bytes the application requires to be
reserved for pending Classic API Message Queue buffers.

@subheading NOTES:
The following illustrates how the help macro
@code{CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE} can be used to assist in
calculating the message buffer memory required.  In this example, there
are two message queues used in this application.  The first message
queue has maximum of 24 pending messages with the message structure
defined by the type @code{one_message_type}.  The other message queue
has maximum of 500 pending messages with the message structure defined
by the type @code{other_message_type}.

@example
@group
#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
 (CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( \
    24, sizeof(one_message_type) + \
  CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( \
    500, sizeof(other_message_type) \
 )
@end group
@end example

@c
@c === Seldom Used Configuration Parameters ===
@c
@section Seldom Used Configuration Parameters

This section describes configuration parameters supported by
@code{<rtems/confdefs.h>} which are seldom used by applications. These
parameters tend to be oriented to debugging system configurations
and providing work-arounds when the memory estimated by
@code{<rtems/confdefs.h>} is incorrect.

@c
@c === CONFIGURE_MEMORY_OVERHEAD ===
@c
@subsection Specify Memory Overhead

@findex CONFIGURE_MEMORY_OVERHEAD

@table @b
@item CONSTANT:
@code{CONFIGURE_MEMORY_OVERHEAD}

@item DATA TYPE:
undefined or integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
The default value is 0.

@end table

@subheading DESCRIPTION:
Thie parameter is set to the number of kilobytes the application wishes
to add to the requirements calculated by @code{<rtems/confdefs.h>}.

@subheading NOTES:
This configuration parameter should only be used when it is suspected that
a bug in @code{<rtems/confdefs.h>} has resulted in an underestimation.
Typically the memory allocation will be too low when an application does
not account for all message queue buffers or task stacks.

@c
@c === CONFIGURE_HAS_OWN_CONFIGURATION_TABLE ===
@c
@subsection Do Not Generate Configuration Information

@findex CONFIGURE_HAS_OWN_CONFIGURATION_TABLE

@table @b
@item CONSTANT:
@code{CONFIGURE_HAS_OWN_CONFIGURATION_TABLE}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
This configuration parameter should only be defined if the application
is providing their own complete set of configuration tables.

@subheading NOTES:
None.

@c
@c === CONFIGURE_EXECUTIVE_RAM_WORK_AREA ===
@c
@subsection Specify Location of RTEMS Workspace

@findex CONFIGURE_EXECUTIVE_RAM_WORK_AREA

@table @b
@item CONSTANT:
@code{CONFIGURE_EXECUTIVE_RAM_WORK_AREA}

@item DATA TYPE:
pointer

@item RANGE:
NULL or valid pointer

@item DEFAULT VALUE:
By default, this value is not defined indicating that the BSP is to determine
the location of the RTEMS Workspace.

@end table

@subheading DESCRIPTION:
This configuration parameter is the base address of the RTEMS Workspace.

@subheading NOTES:
The BSP is responsible for setting this address. It is highly unlikely
that an application could do this portably and reliably.

@c
@c === C Library Support Configuration ===
@c
@section C Library Support Configuration

This section defines the file system and IO library
related configuration parameters supported by
@code{<rtems/confdefs.h>}.

@c
@c === CONFIGURE_MALLOC_STATISTICS ===
@c
@subsection Enable Malloc Family Statistics

@findex CONFIGURE_MALLOC_STATISTICS


@table @b
@item CONSTANT:
@code{CONFIGURE_MALLOC_STATISTICS}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This is undefined by default and Malloc Statistics are disabled.

@end table

@subheading DESCRIPTION:
This configuration parameter is defined when the application wishes to
enable the gathering of more detailed statistics on the C Malloc Family
of routines.

@subheading NOTES:
None.

@c
@c === CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS ===
@c
@subsection Specify Maximum Number of File Descriptors

@findex CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS
@cindex maximum file descriptors

@table @b
@item CONSTANT:
@code{CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS}

@item DATA TYPE:
integer

@item RANGE:
Zero or positive

@item DEFAULT VALUE:
If not defined, the default value is either zero (0) or three if
@code{CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER} is defined. Three file
descriptors allows RTEMS to support standard input, output, and error
I/O streams on @code{/dev/console}.

@end table

@subheading DESCRIPTION:
This configuration parameter is set to the maximum number of files that
can be concurrently open.

@subheading NOTES:
In addition to the actual file descriptor data structures, the RTEMS
Libio Support library requires a Classic API semaphore for each file
descriptor as well as one to manage the set. Thus this configuration
parameter implicitly impacts the configured number of Classic API
semaphores configured for the application.

@c
@c === CONFIGURE_TERMIOS_DISABLED ===
@c
@subsection Disable POSIX Termios Support

@findex CONFIGURE_TERMIOS_DISABLED

@table @b
@item CONSTANT:
@code{CONFIGURE_TERMIOS_DISABLED}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
By default, this is not defined and resources are reserved for the
termios functionality.

@end table

@subheading DESCRIPTION:
This configuration parameter is defined if the software implementing
POSIX termios functionality is not going to be used by this application.

@subheading NOTES:
The termios support library should not be included in an application
executable unless it is directly referenced by the application or a
device driver.

@c
@c === CONFIGURE_NUMBER_OF_TERMIOS_PORTS ===
@c
@subsection Specify Maximum Termios Ports

@findex CONFIGURE_NUMBER_OF_TERMIOS_PORTS

@table @b
@item CONSTANT:
@code{CONFIGURE_NUMBER_OF_TERMIOS_PORTS}

@item DATA TYPE:
integer

@item RANGE:
zero or positive integer

@item DEFAULT VALUE:
By default, this is set to 1 so a console port can be used.

@end table

@subheading DESCRIPTION:
This configuration parameter is set to the number of ports using the
termios functionality.  Each concurrently active termios port requires
resources.

@subheading NOTES:
If the application will be using serial ports
including, but not limited to, the Console Device
(e.g. @code{CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER}), then it is
highly likely that this configuration parameter should NOT be is defined.

@c
@c === File System Configuration Parameters ===
@c
@section File System Configuration Parameters

This section defines File System related configuration parameters.

@c
@c === CONFIGURE_HAS_OWN_MOUNT_TABLE ===
@c
@subsection Providing Application Specific Mount Table

@findex CONFIGURE_HAS_OWN_MOUNT_TABLE

@table @b
@item CONSTANT:
@code{CONFIGURE_HAS_OWN_MOUNT_TABLE}

@item DATA TYPE:
Undefined or an array of type @code{rtems_filesystem_mount_table_t}.

@item RANGE:
Undefined or an array of type @code{rtems_filesystem_mount_table_t}.

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
This configuration parameter is defined when the application
provides their own filesystem mount table.  The mount table is an
array of @code{rtems_filesystem_mount_table_t} entries pointed
to by the global variable @code{rtems_filesystem_mount_table}.
The number of entries in this table is in an integer variable named
@code{rtems_filesystem_mount_table_t}.

@c XXX - is the variable name for the count right?

@subheading NOTES:
None.
@c XXX - Please provide an example

@c
@c === CONFIGURE_USE_MINIIMFS_AS_BASE_SYSTEM ===
@c
@subsection Configure miniIMFS as Root File System

@findex CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM

@table @b
@item CONSTANT:
@code{CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:

This value is not defined by default. If no other root file system
configuration parameters are specified, the IMFS will be used as the
root file system.

@end table

@subheading DESCRIPTION:
This configuration parameter is defined if the application wishes to use
the reduced functionality miniIMFS as the root filesystem. This reduced
version of the full IMFS does not include the capability to mount other
file system types, but it does support directories, device nodes, and
symbolic links.

@subheading NOTES:
The miniIMFS nodes and is smaller in executable code size than the full IMFS.

@c
@c === CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM ===
@c
@subsection Configure devFS as Root File System

@findex CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM

@table @b
@item CONSTANT:
@code{CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This value is not defined by default. If no other root file system
configuration parameters are specified, the IMFS will be used as the
root file system.

@end table

@subheading DESCRIPTION:
This configuration parameter is defined if the application wishes to
use the device-only filesytem as the root file system.

@subheading NOTES:
The device-only filesystem supports only device nodes and is smaller in
executable code size than the full IMFS and miniIMFS.

The devFS is comparable in functionality to the pseudo-filesystem name
space provided before RTEMS release 4.5.0.

@c
@c === CONFIGURE_APPLICATION_DISABLE_FILESYSTEM ===
@c
@subsection Disable File System Support

@findex CONFIGURE_APPLICATION_DISABLE_FILESYSTEM

@table @b
@item CONSTANT:

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This value is not defined by default. If no other root file system
configuration parameters are specified, the IMFS will be used as the
root file system.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_APPLICATION_DISABLE_FILESYSTEM}

@subheading NOTES:
This configuration parameter is defined if the application dose not
intend to use any kind of filesystem support. This include the device
infrastructure necessary to support @code{printf()}.

@c
@c === BSP Specific Settings ===
@c
@section BSP Specific Settings

This section describes BSP specific configuration settings used by
@code{<rtems/confdefs.h>}.  The BSP specific configuration settings are
defined in @code{<bsp.h>}.

@c
@c === Disable BSP Settings ===
@c
@subsection Disable BSP Configuration Settings

@findex CONFIGURE_DISABLE_BSP_SETTINGS

@table @b
@item CONSTANT:
@code{CONFIGURE_DISABLE_BSP_SETTINGS}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
All BSP specific configuration settings can be disabled by the application
with the @code{CONFIGURE_DISABLE_BSP_SETTINGS} option.

@subheading NOTES:
None.

@c
@c === CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK ===
@c
@subsection Specify BSP Supports sbrk()

@findex CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK

@table @b
@item CONSTANT:
@code{CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This configuration is undefined by default.

@end table

@subheading DESCRIPTION:
This configuration parameter is defined by a BSP to indicate that it
does not allocate all available memory to the C Program Heap used by
the Malloc Family of routines.

If defined, when @code{malloc()} is unable to allocate memory, it will
call the BSP supplied @code{sbrk()} to obtain more memory.

@subheading NOTES:
This parameter should not be defined by the application. Only the BSP
knows how it allocates memory to the C Program Heap.

@c
@c === BSP_IDLE_TASK_BODY ===
@c
@subsection Specify BSP Specific Idle Task

@findex BSP_IDLE_TASK_BODY

@table @b
@item CONSTANT:
@code{BSP_IDLE_TASK_BODY}

@item DATA TYPE:
Pointer to method.

@item RANGE:
Null or pointer to method.

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
If @code{BSP_IDLE_TASK_BODY} is defined by the BSP and
@code{CONFIGURE_IDLE_TASK_BODY} is not defined by the application,
then this BSP specific idle task body will be used.

@subheading NOTES:
As it has knowledge of the specific CPU model, system controller logic,
and peripheral buses, a BSP specific IDLE task may be capable of turning
components off to save power during extended periods of no task activity

@c
@c === BSP_IDLE_TASK_STACK_SIZE ===
@c
@subsection Specify BSP Suggested Value for IDLE Task Stack Size

@findex BSP_IDLE_TASK_STACK_SIZE

@table @b
@item CONSTANT:
@code{BSP_IDLE_TASK_STACK_SIZE}

@item DATA TYPE:
integer

@item RANGE:
undefined or positive integer

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
If @code{BSP_IDLE_TASK_STACK_SIZE} is defined by the BSP and
@code{CONFIGURE_IDLE_TASK_STACK_SIZE} is not defined by the application,
then this BSP suggested idle task stack size will be used.


@subheading NOTES:
The order of precedence for configuring the IDLE task stack size is:

@itemize @bullet
@item RTEMS default minimum stack size.
@item If defined, then @code{CONFIGURE_MINIMUM_TASK_STACK_SIZE}.
@item If defined, then the BSP specific @code{BSP_IDLE_TASK_SIZE}.
@item If defined, then the application specified
@code{CONFIGURE_IDLE_TASK_SIZE}.
@end itemize

@c XXX - add cross references to other related values.

@c
@c === BSP_INITIAL_EXTENSION ===
@c
@subsection Specify BSP Specific User Extensions

@findex BSP_INITIAL_EXTENSION

@table @b
@item CONSTANT:
@code{BSP_INITIAL_EXTENSION}

@item DATA TYPE:
List of @code{rtems_extensions_table} entries

@item RANGE:
Undefined or a list of one or more user extensions.

@item DEFAULT VALUE:
This value is not defined by default.

@end table

@subheading DESCRIPTION:
If @code{BSP_INITIAL_EXTENSION} is defined by the BSP, then this BSP
specific initial extension will be placed as the last entry in the initial
extension table.

@subheading NOTES:
None.

@c
@c === BSP_INTERRUPT_STACK_SIZE ===
@c
@subsection Specifying BSP Specific Interrupt Stack Size

@findex BSP_INTERRUPT_STACK_SIZE

@table @b
@item CONSTANT:
@code{BSP_INTERRUPT_STACK_SIZE}

@item DATA TYPE:

@item RANGE:

@item DEFAULT VALUE:

@end table

@subheading DESCRIPTION:
If @code{BSP_INTERRUPT_STACK_SIZE} is defined by the BSP and
@code{CONFIGURE_INTERRUPT_STACK_SIZE} is not defined by the application,
then this BSP specific interrupt stack size will be used.

@subheading NOTES:
None.

@c
@c === BSP_MAXIMUM_DEVICES ===
@c
@subsection Specifying BSP Specific Maximum Devices

@findex BSP_MAXIMUM_DEVICES

@table @b
@item CONSTANT:
@code{BSP_MAXIMUM_DEVICES}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
By default, this is not defined.

@end table

@subheading DESCRIPTION:
If @code{BSP_MAXIMUM_DEVICES} is defined by the BSP and
@code{CONFIGURE_MAXIMUM_DEVICES} is not defined by the application,
then this BSP specific maximum device count will be used.  This option
is specific to the device file system (devFS) and should not be confused
with the @code{CONFIGURE_MAXIMUM_DRIVERS} option.

@subheading NOTES:
This parameter only impacts the devFS and thus
is only used by @code{<rtems/confdefs.h>} when
@code{CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM} is specified.

@c
@c === BSP_ZERO_WORKSPACE_AUTOMATICALLY ===
@c
@subsection BSP Recommends RTEMS Workspace be Cleared

@findex BSP_ZERO_WORKSPACE_AUTOMATICALLY

@table @b
@item CONSTANT:
@code{BSP_ZERO_WORKSPACE_AUTOMATICALLY}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
If @code{BSP_ZERO_WORKSPACE_AUTOMATICALLY} is defined by the BSP and
@code{CONFIGURE_ZERO_WORKSPACE_AUTOMATICALLY} is not defined by the
application, then the workspace will be zeroed automatically.

@subheading NOTES:
Zeroing memory can add significantly to system boot time. It is not
necessary for RTEMS but is often assumed by support libraries.

@c
@c === CONFIGURE_BSP_PREREQUISITE_DRIVERS ===
@c
@subsection Specify BSP Prerequisite Drivers

@findex CONFIGURE_BSP_PREREQUISITE_DRIVERS

@table @b
@item CONSTANT:
@code{CONFIGURE_BSP_PREREQUISITE_DRIVERS}

@item DATA TYPE:
array of device drivers

@item RANGE:
Undefined or array of device drivers

@item DEFAULT VALUE:
By default, this is not defined.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_BSP_PREREQUISITE_DRIVERS} is defined if the BSP has device
drivers it needs to include in the Device Driver Table.  This should be
defined to the set of device driver entries that will be placed in the
table at the @b{FRONT} of the Device Driver Table and initialized before
any other drivers @b{INCLUDING} any application prerequisite drivers.

@subheading NOTES:
@code{CONFIGURE_BSP_PREREQUISITE_DRIVERS} is typically used by BSPs
to configure common infrastructure such as bus controllers or probe
for devices.


@c
@c === Idle Task Configuration ===
@c
@section Idle Task Configuration

This section defines the IDLE task related configuration parameters
supported by @code{<rtems/confdefs.h>}.

@c
@c === CONFIGURE_IDLE_TASK_BODY ===
@c
@subsection Specify Application Specific Idle Task Body

@findex CONFIGURE_IDLE_TASK_BODY

@table @b
@item CONSTANT:
@code{CONFIGURE_IDLE_TASK_BODY}

@item DATA TYPE:
method pointer.

@item RANGE:
Undefined or method pointer.

@item DEFAULT VALUE:
By default, this is not defined.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_IDLE_TASK_BODY} is set to the method name corresponding
to the application specific IDLE thread body.  If not specified, the
BSP or RTEMS default IDLE thread body will be used.

@subheading NOTES:
None.

@c
@c === CONFIGURE_IDLE_TASK_STACK_SIZE ===
@c
@subsection Specify Idle Task Stack Size

@findex CONFIGURE_IDLE_TASK_STACK_SIZE

@table @b
@item CONSTANT:
@code{CONFIGURE_IDLE_TASK_STACK_SIZE}

@item DATA TYPE:
integer

@item RANGE:
undefined or positive

@item DEFAULT VALUE:
If not specified, the IDLE task will have a stack of the configured
minimum stack size.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_IDLE_TASK_STACK_SIZE} is set to the
desired stack size for the IDLE task.

@subheading NOTES:
None.

@c
@c === CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION ===
@c
@subsection Specify Idle Task Performs Application Initialization

@findex CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION

@table @b
@item CONSTANT:
@code{CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
By default, this is not the mode of operation and the user is assumed
to provide one or more initialization tasks.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION} is set to
indicate that the user has configured @b{NO} user initialization tasks
or threads and that the user provided IDLE task will perform application
initialization and then transform itself into an IDLE task.

@subheading NOTES:
If you use this option be careful, the user IDLE task @b{CANNOT} block
at all during the initialization sequence.  Further, once application
initialization is complete, it must make itself preemptible and enter
an IDLE body loop.

The IDLE task must run at the lowest priority of all tasks in the system.

@c
@c === Scheduler Algorithm Configuration ===
@c
@section Scheduler Algorithm Configuration

This section defines the configuration parameters related to selecting a
scheduling algorithm for an application.  For the schedulers built into
RTEMS, the configuration is straightforward.  All that is required is
to define the configuration macro which specifies which scheduler you
want for in your application.  The currently available schedulers are:

The pluggable scheduler interface also enables the user to provide their
own scheduling algorithm.  If you choose to do this, you must define
multiple configuration macros.

@c
@c === CONFIGURE_SCHEDULER_PRIORITY ===
@c
@subsection Use Deterministic Priority Scheduler

@findex CONFIGURE_SCHEDULER_PRIORITY

@table @b
@item CONSTANT:
@code{CONFIGURE_SCHEDULER_PRIORITY}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This is the default scheduler and specifying this configuration parameter
is redundant.

@end table

@subheading DESCRIPTION:
The Deterministic Priority Scheduler is the default scheduler in RTEMS
for single core applications and is designed for predictable performance
under the highest loads.  It can block or unblock a thread in a constant
amount of time.  This scheduler requires a variable amount of memory
based upon the number of priorities configured in the system.

@subheading NOTES:
This scheduler may be explicitly selected by defining
@code{CONFIGURE_SCHEDULER_PRIORITY} although this is equivalent to the
default behavior.

@c
@c === CONFIGURE_SCHEDULER_SIMPLE ===
@c
@subsection Use Simple Priority Scheduler

@findex CONFIGURE_SCHEDULER_SIMPLE

@table @b
@item CONSTANT:
@code{CONFIGURE_SCHEDULER_SIMPLE}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
When defined, the Simple Priority Scheduler is used at the thread
scheduling algorithm. This is an alternative scheduler in RTEMS.
It is designed to provide the same task scheduling behaviour as the
Deterministic Priority Scheduler while being simpler in implementation
and uses less memory for data management.  It maintains a single sorted
list of all ready threads.  Thus blocking or unblocking a thread is not
a constant time operation with this scheduler.

This scheduler may be explicitly selected by defining
@code{CONFIGURE_SCHEDULER_SIMPLE}.

@subheading NOTES:
This scheduler is appropriate for use in small systems where RAM is limited.

@c
@c === CONFIGURE_SCHEDULER_EDF ===
@c
@subsection Use Earliest Deadline First Scheduler

@findex CONFIGURE_SCHEDULER_EDF

@table @b
@item CONSTANT:
@code{CONFIGURE_SCHEDULER_EDF}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
The Earliest Deadline First Scheduler (EDF) is an alternative scheduler in
RTEMS for single core applications. The EDF schedules tasks with dynamic
priorities equal to deadlines. The deadlines are declared using only
Rate Monotonic manager which handles periodic behavior.  Period is always
equal to deadline. If a task does not have any deadline declared or the
deadline is cancelled, the task is considered a background task which is
scheduled in case no deadline-driven tasks are ready to run.  Moreover,
multiple background tasks are scheduled according their priority assigned
upon initialization. All ready tasks reside in a single ready queue.

This scheduler may be explicitly selected by defining
@code{CONFIGURE_SCHEDULER_EDF}.

@subheading NOTES:
None.


@c
@c === CONFIGURE_SCHEDULER_CBS ===
@c
@subsection Use Constant Bandwidth Server Scheduler

@findex CONFIGURE_SCHEDULER_CBS

@table @b
@item CONSTANT:
@code{CONFIGURE_SCHEDULER_CBS}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
The Constant Bandwidth Server Scheduler (CBS) is an alternative scheduler
in RTEMS for single core applications. The CBS is a budget aware extension
of EDF scheduler. The goal of this scheduler is to ensure temporal
isolation of tasks. The CBS is equipped with a set of additional rules
and provides with an extensive API.

This scheduler may be explicitly selected by defining
@code{CONFIGURE_SCHEDULER_CBS}.
@c XXX - add cross reference to API chapter

@subheading NOTES:
None.

@c
@c === CONFIGURE_SCHEDULER_SIMPLE_SMP ===
@c
@subsection Use Simple SMP Priority Scheduler

@findex CONFIGURE_SCHEDULER_SIMPLE_SMP

@table @b
@item CONSTANT:
@code{CONFIGURE_SCHEDULER_SIMPLE_SMP}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
The Simple SMP Priority Scheduler is derived from the Simple Priority
Scheduler but is capable of scheduling threads across multiple cores.
It is designed to provide the same task scheduling behaviour as the
Deterministic Priority Scheduler while distributing threads across
multiple cores.  Being based upon the Simple Priority Scheduler, it also
maintains a single sorted list of all ready threads.  Thus blocking or
unblocking a thread is not a constant time operation with this scheduler.

In addition, when allocating threads to cores, the algorithm is not
constant time. This algorithm was not designed with efficiency as a
primary design goal.  Its primary design goal was to provide an SMP-aware
scheduling algorithm that is simple to understand.

In a configuration with SMP enabled at configure time, it may be
explicitly selected by defining @code{CONFIGURE_SCHEDULER_SIMPLE_SMP}.

@subheading NOTES:
This scheduler is only available when RTEMS is configured with SMP
support enabled.

This scheduler is currently the default in SMP configurations and is
only selected when @code{CONFIGURE_SMP_APPLICATION} is defined.

@c
@c === Configuring a User Scheduler ===
@c
@subsection Configuring a User Provided Scheduler

@findex CONFIGURE_SCHEDULER_USER

@table @b
@item CONSTANT:
@code{CONFIGURE_SCHEDULER_USER}

@item DATA TYPE:
Entry points for scheduler

@item RANGE:
Undefined or scheduler entry set

@item DEFAULT VALUE:

@end table

@subheading DESCRIPTION:
RTEMS allows the application to provide its own task/thread
scheduling algorithm. In order to do this, one must define
@code{CONFIGURE_SCHEDULER_USER} to indicate the application provides its
own scheduling algorithm. If @code{CONFIGURE_SCHEDULER_USER} is defined
then the following additional macros must be defined:

@itemize @bullet
@item @code{CONFIGURE_MEMORY_FOR_SCHEDULER} must be defined with the
amount of memory required as a base amount for the scheduler.

@item @code{CONFIGURE_MEMORY_PER_TASK_FOR_SCHEDULER(_tasks)} must be
defined as a formula which computes the amount of memory required based
upon the number of tasks configured.

@end itemize

@subheading NOTES:
At this time, the mechanics and requirements for writing a
new scheduler are evolving and not fully documented.  It is
recommended that you look at the existing Deterministic Priority
Scheduler in @code{cpukit/score/src/schedulerpriority*.c} for
guidance.  For guidance on the configuration macros, please examine
@code{cpukit/sapi/include/confdefs.h} for how these are defined for the
Deterministic Priority Scheduler.

@c
@c === SMP Specific Configuration Parameters ===
@c
@section SMP Specific Configuration Parameters

When RTEMS is configured to support SMP target systems, there are other
configuration parameters which apply.

@c XXX - add --enable-smp

@c
@c === CONFIGURE_SMP_APPLICATION ===
@c
@subsection Specify Application Uses Multiple Cores (is SMP)

@findex CONFIGURE_SMP_APPLICATION

@table @b
@item CONSTANT:
@code{CONFIGURE_SMP_APPLICATION}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_SMP_APPLICATION} must be defined if the application is
to make use of multiple CPU cores in an SMP target system.

@subheading NOTES:
None.

@c
@c === CONFIGURE_SMP_MAXIMUM_PROCESSORS ===
@c
@subsection Specify Maximum Processors in SMP System

@findex CONFIGURE_SMP_MAXIMUM_PROCESSORS

@table @b
@item CONSTANT:
@code{CONFIGURE_SMP_MAXIMUM_PROCESSORS}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_SMP_MAXIMUM_PROCESSORS} must be set to the number of
CPU cores in the SMP configuration.

@subheading NOTES:
If there are more cores available than configured, the rest will be
ignored.

@c
@c === Device Driver Table ===
@c
@section Device Driver Table

This section defines the configuration parameters related
to the automatic generation of a Device Driver Table.  As
@code{<rtems/confdefs.h>} only is aware of a small set of
standard device drivers, the generated Device Driver
Table is suitable for simple applications with no
custom device drivers.

Note that network device drivers are not configured in the Device Driver Table.

@c
@c === CONFIGURE_HAS_OWN_DEVICE_DRIVER_TABLE ===
@c
@subsection Specifying Application Defined Device Driver Table

@findex CONFIGURE_HAS_OWN_DEVICE_DRIVER_TABLE

@table @b
@item CONSTANT:
@code{CONFIGURE_HAS_OWN_DEVICE_DRIVER_TABLE}

@item DATA TYPE:
Array of device drivers.

@item RANGE:
Undefined or array of device drivers.

@item DEFAULT VALUE:
By default, this is not defined indicating the @code{<rtems/confdefs.h>}
is providing the device driver table.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_HAS_OWN_DEVICE_DRIVER_TABLE} is defined if the application
wishes to provide their own Device Driver Table.

The table must be an array of @code{rtems_driver_address_table} entries
named @code{Device_drivers}.

@subheading NOTES:
It is expected that there the application would only rarely need to do this.

@c
@c === CONFIGURE_MAXIMUM_DRIVERS ===
@c
@subsection Specifying the Maximum Number of Device Drivers

@findex CONFIGURE_MAXIMUM_DRIVERS

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_DRIVERS}

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
By default, this is set to the number of device drivers configured
using the @code{CONFIGURE_APPLICATIONS_NEEDS_XXX_DRIVER} configuration
parameters.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_DRIVERS} is defined as the number of device
drivers per node.

@subheading NOTES:
If the application will dynamically install device drivers, then this
configuration parameter must be larger than the number of statically
configured device drivers. Drivers configured using the
@code{CONFIGURE_APPLICATIONS_NEEDS_XXX_DRIVER} configuration parameters
are statically installed.

@c
@c === CONFIGURE_MAXIMUM_DEVICES ===
@c
@subsection Specifying Maximum Devices

@findex CONFIGURE_MAXIMUM_DEVICES

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_DEVICES}

@item DATA TYPE:
integer

@item RANGE:
undefined or positive integer.

@item DEFAULT VALUE:
Unless @code{BSP_MAXIMUM_DEVICES} is set by the BSP, the default value
for this is set to 4.  If overridden by the BSP the value is set to the
value specified by the BSP.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_DEVICES} is defined to the number of
individual devices that may be registered in the system.

@subheading NOTES:
This parameter only impacts the devFS and thus
is only used by @code{<rtems/confdefs.h>} when
@code{CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM} is specified.

@c
@c === CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER ===
@c
@subsection Enable Console Device Driver

@findex CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER

@table @b
@item CONSTANT:
@item @code{CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
By default, this is not defined.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER} is defined if the
application wishes to include the Console Device Driver.

@subheading NOTES:
This device driver is responsible for providing standard input and output
using @i{/dev/console}.

BSPs should be constructed in a manner that allows @code{printk()}
to work properly without the need for the console driver to be configured.

@c
@c === CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER ===
@c
@subsection Enable Clock Driver

@findex CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER

@table @b
@item CONSTANT:
@code{CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
By default, this is not defined.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER} is defined if the
application wishes to include the Clock Device Driver.

@subheading NOTES:
This device driver is responsible for providing a regular
interrupt which invokes the @code{rtems_clock_tick} directive.

If neither the Clock Driver not Benchmark Timer is enabled and
the configuration parameter
@code{CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER} is not defined,
then a compile time error will occur.

@c
@c === CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER ===
@c
@subsection Enable the Benchmark Timer Driver

@findex CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER

@table @b
@item CONSTANT:
@code{CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
By default, this is not defined.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER} is defined if the
application wishes to include the Timer Driver.  This device driver is
used to benchmark execution times by the RTEMS Timing Test Suites.

@subheading NOTES:
If neither the Clock Driver not Benchmark Timer is enabled and
the configuration parameter
@code{CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER} is not defined,
then a compile time error will occur.

@c
@c === CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER ===
@c
@subsection Specify Clock and Benchmark Timer Drivers Are Not Needed

@findex CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER

@table @b
@item CONSTANT:
@code{CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER} is defined when
the application does @b{NOT} want the Clock Device Driver and is @b{NOT}
using the Timer Driver.  The inclusion or exclusion of the Clock Driver
must be explicit in user applications.

@subheading NOTES:
This configuration parameter is intended to prevent the common user error
of using the Hello World example as the baseline for an application and
leaving out a clock tick source.

@c
@c === CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER ===
@c
@subsection Enable Real-Time Clock Driver

@findex CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER

@table @b
@item CONSTANT:
@code{CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
By default, this is not defined.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER} is defined if the
application wishes to include the Real-Time Clock Driver.

@subheading NOTES:
Most BSPs do not include support for a real-time clock. This is because
many boards do not include the required hardware.

If this is defined and the BSP does not have this device driver, then
the user will get a link time error for an undefined symbol.

@c
@c === CONFIGURE_APPLICATION_NEEDS_WATCHDOG_DRIVER ===
@c
@subsection Enable the Watchdog Device Driver

@findex CONFIGURE_APPLICATION_NEEDS_WATCHDOG_DRIVER

@table @b
@item CONSTANT:
@code{CONFIGURE_APPLICATION_NEEDS_WATCHDOG_DRIVER}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
By default, this is not defined.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_APPLICATION_NEEDS_WATCHDOG_DRIVER}
is defined if the application wishes to include the Watchdog Driver.

@subheading NOTES:
Most BSPs do not include support for a watchdog device driver. This is
because many boards do not include the required hardware.

If this is defined and the BSP does not have this device driver, then
the user will get a link time error for an undefined symbol.

@c
@c === CONFIGURE_APPLICATION_NEEDS_FRAME_BUFFER_DRIVER ===
@c
@subsection Enable the Graphics Frame Buffer Device Driver

@findex CONFIGURE_APPLICATION_NEEDS_FRAME_BUFFER_DRIVER

@table @b
@item CONSTANT:
@code{CONFIGURE_APPLICATION_NEEDS_FRAME_BUFFER_DRIVER}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
By default, this is not defined.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_APPLICATION_NEEDS_FRAME_BUFFER_DRIVER} is defined
if the application wishes to include the BSP's Frame Buffer Device Driver.

@subheading NOTES:
Most BSPs do not include support for a Frame Buffer Device Driver. This is
because many boards do not include the required hardware.

If this is defined and the BSP does not have this device driver, then
the user will get a link time error for an undefined symbol.

@c
@c === CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER ===
@c
@subsection Enable Stub Device Driver

@findex CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER

@table @b
@item CONSTANT:
@code{CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
By default, this is not defined.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER} is defined if the
application wishes to include the Stub Device Driver.

@subheading NOTES:
This device driver simply provides entry points that return successful
and is primarily a test fixture. It is supported by all BSPs.

@c
@c === CONFIGURE_APPLICATION_PREREQUISITE_DRIVERS ===
@c
@subsection Specify Application Prerequisite Device Drivers

@findex CONFIGURE_APPLICATION_PREREQUISITE_DRIVERS

@table @b
@item CONSTANT:
@code{CONFIGURE_APPLICATION_PREREQUISITE_DRIVERS}

@item DATA TYPE:
device driver entry structures

@item RANGE:
Undefined or set of device driver entry structures

@item DEFAULT VALUE:
By default,this is not defined.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_APPLICATION_PREREQUISITE_DRIVERS} is defined if the
application has device drivers it needs to include in the Device Driver
Table.  This should be defined to the set of device driver entries that
will be placed in the table at the @b{FRONT} of the Device Driver Table
and initialized before any other drivers @b{EXCEPT} any BSP prerequisite
drivers.

@subheading NOTES:
In some cases, it is used by System On Chip BSPs to support peripheral
buses beyond those normally found on the System On Chip. For example,
this is used by one RTEMS system which has implemented a SPARC/ERC32
based board with VMEBus. The VMEBus Controller initialization is performed
by a device driver configured via this configuration parameter.

@c XXX Add example

@c
@c === CONFIGURE_APPLICATION_EXTRA_DRIVERS ===
@c
@subsection Specify Extra Application Device Drivers

@findex CONFIGURE_APPLICATION_EXTRA_DRIVERS

@table @b
@item CONSTANT:
@code{CONFIGURE_APPLICATION_EXTRA_DRIVERS}

@item DATA TYPE:
device driver entry structures

@item RANGE:
Undefined or set of device driver entry structures

@item DEFAULT VALUE:
By default,this is not defined.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_APPLICATION_EXTRA_DRIVERS} is defined if the
application has device drivers it needs to include in the Device Driver
Table.  This should be defined to the set of device driver entries that
will be placed in the table at the @b{END} of the Device Driver Table.

@subheading NOTES:
None.

@c
@c === CONFIGURE_APPLICATION_NEEDS_NULL_DRIVER ===
@c
@subsection Enable /dev/null Device Driver

@findex CONFIGURE_APPLICATION_NEEDS_NULL_DRIVER
@cindex /dev/null

@table @b
@item CONSTANT:
@code{CONFIGURE_APPLICATION_NEEDS_NULL_DRIVER}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
By default,this is not defined.

@end table

@subheading DESCRIPTION:
This configuration variable is specified to enable @i{/dev/null}
device driver.

@subheading NOTES:
This device driver is supported by all BSPs.

@c
@c === CONFIGURE_APPLICATION_NEEDS_ZERO_DRIVER ===
@c
@subsection Enable /dev/zero Device Driver

@findex CONFIGURE_APPLICATION_NEEDS_ZERO_DRIVER
@cindex /dev/zero

@table @b
@item CONSTANT:
@code{CONFIGURE_APPLICATION_NEEDS_ZERO_DRIVER}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
By default,this is not defined.

@end table

@subheading DESCRIPTION:
This configuration variable is specified to enable @i{/dev/zero}
device driver.

@subheading NOTES:
This device driver is supported by all BSPs.

@c
@c === Multiprocessing Configuration ===
@c
@section Multiprocessing Configuration

This section defines the multiprocessing related system configuration
parameters supported by @code{<rtems/confdefs.h>}.  They are only used
if the Multiprocessing Support (distinct from the SMP support) is enabled
at configure time using the @code{--enable-multiprocessing} option.

Additionally, this class of Configuration Constants are only applicable if
@code{CONFIGURE_MP_APPLICATION} is defined.

@c
@c === CONFIGURE_MP_APPLICATION ===
@c
@subsection Specify Application Will Use Multiprocessing

@findex CONFIGURE_MP_APPLICATION

@table @b
@item CONSTANT:
@code{CONFIGURE_MP_APPLICATION}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
This configuration parameter must be defined to indicate
that the application intends to be part of a multiprocessing
configuration. Additional configuration parameters are assumed to be
provided.

@subheading NOTES:
This has no impact unless RTEMS was configured and built using the
@code{--enable-multiprocessing} option.

@c
@c === CONFIGURE_MP_NODE_NUMBER ===
@c
@subsection Configure Node Number in Multiprocessor Configuration

@findex CONFIGURE_MP_NODE_NUMBER

@table @b
@item CONSTANT:
@code{CONFIGURE_MP_NODE_NUMBER}

@item DATA TYPE:
integer

@item RANGE:
positive integer

@item DEFAULT VALUE:
If not defined, it is set to @code{NODE_NUMBER} which is assumed to be
set by the compilation environment.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MP_NODE_NUMBER} is the node number of
this node in a multiprocessor system.

@subheading NOTES:
In the RTEMS Multiprocessing Test Suite, the node number is derived from
the Makefile variable @code{NODE_NUMBER}. The same code is compiled with
the @code{NODE_NUMBER} set to different values. The test programs behave
differently based upon their node number.


@c
@c === CONFIGURE_MP_MAXIMUM_NODES ===
@c
@subsection Configure Maximum Node in Multiprocessor Configuration

@findex CONFIGURE_MP_MAXIMUM_NODES

@table @b
@item CONSTANT:
@code{CONFIGURE_MP_MAXIMUM_NODES}

@item DATA TYPE:
integer

@item RANGE:
positive

@item DEFAULT VALUE:
The default is two (2).

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MP_MAXIMUM_NODES} is the maximum number of nodes in a
multiprocessor system.

@subheading NOTES:
None.

@c
@c === CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS ===
@c
@subsection Configure Maximum Global Objects in Multiprocessor Configuration

@findex CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS

@table @b
@item CONSTANT:
@code{CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS}

@item DATA TYPE:
integer

@item RANGE:
positive

@item DEFAULT VALUE:
The default is 32.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MP_MAXIMUM_GLOBAL_OBJECTS} is the maximum number of
concurrently active global objects in a multiprocessor system.

@subheading NOTES:
This value corresponds to the total number of objects which can be
created with the @code{RTEMS_GLOBAL} attribute.

@c
@c === CONFIGURE_MP_MAXIMUM_PROXIES ===
@c
@subsection Configure Maximum Proxies in Multiprocessor Configuration

@findex CONFIGURE_MP_MAXIMUM_PROXIES

@table @b
@item CONSTANT:
@code{CONFIGURE_MP_MAXIMUM_PROXIES}

@item DATA TYPE:
integer

@item RANGE:
undefined or positive

@item DEFAULT VALUE:
The default is 32.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MP_MAXIMUM_PROXIES} is the maximum number of concurrently
active thread/task proxies on this node in a multiprocessor system.

@subheading NOTES:
Since a proxy is used to represent a remote task/thread which is blocking on
this node. This configuration parameter reflects the maximum number of
remote tasks/threads which can be blocked on objects on this node.

@c XXX - add xref to proxy discussion in MP chapter

@c
@c === CONFIGURE_MP_MPCI_TABLE_POINTER ===
@c
@subsection Configure MPCI in Multiprocessor Configuration

@findex CONFIGURE_MP_MPCI_TABLE_POINTER

@table @b
@item CONSTANT:
@code{CONFIGURE_MP_MPCI_TABLE_POINTER}

@item DATA TYPE:
pointer to @code{rtems_mpci_table}

@item RANGE:
undefined or valid pointer

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MP_MPCI_TABLE_POINTER} is the pointer to the
MPCI Configuration Table.  The default value of this field is
@code{&MPCI_table}.

@subheading NOTES:
RTEMS provides a Shared Memory MPCI Device Driver which can be used on
any Multiprocessor System assuming the BSP provides the proper set of
supporting methods.

@c
@c === CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE ===
@c
@subsection Do Not Generate Multiprocessor Configuration Table

@findex CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE

@table @b
@item CONSTANT:
@code{CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE} is defined if the
application wishes to provide their own Multiprocessing Configuration
Table.  The generated table is named @code{Multiprocessing_configuration}.

@subheading NOTES:
This is a configuration parameter which is very unlikely to be used by
an application. If you find yourself wanting to use it in an application,
please reconsider and discuss this on the RTEMS Users mailing list.

@c
@c === Ada Tasks ===
@c
@section Ada Tasks

This section defines the system configuration parameters supported
by @code{<rtems/confdefs.h>} related to configuring RTEMS to support
a task using Ada tasking with GNAT/RTEMS.

These configuration parameters are only available when RTEMS is built with
the @code{--enable-ada} configure option and the application specifies
@code{CONFIGURE_GNAT_RTEMS}.

Additionally RTEMS includes an Ada language binding to the Classic
API which has a test suite. This test suite is enabled only when
@code{--enable-tests} and @code{--enable-expada} are specified on the
configure command.

@c
@c === CONFIGURE_GNAT_RTEMS ===
@c
@subsection Specify Application Includes Ada Code

@findex CONFIGURE_GNAT_RTEMS

@table @b
@item CONSTANT:
@code{CONFIGURE_GNAT_RTEMS}

@item DATA TYPE:
Boolean feature macro.

@item RANGE:
Defined or undefined.

@item DEFAULT VALUE:
This is not defined by default.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_GNAT_RTEMS} is defined to inform RTEMS that the GNAT
Ada run-time is to be used by the application.

@subheading NOTES:
This configuration parameter is critical as it makes
@code{<rtems/confdefs.h>} configure the resources (POSIX API Threads,
Mutexes, Condition Variables, and Keys) used implicitly by the GNAT
run-time.

@c
@c === CONFIGURE_MAXIMUM_ADA_TASKS ===
@c
@subsection Specify the Maximum Number of Ada Tasks.

@findex CONFIGURE_MAXIMUM_ADA_TASKS

@table @b
@item CONSTANT:
@code{CONFIGURE_MAXIMUM_ADA_TASKS}

@item DATA TYPE:
integer

@item RANGE:
undefined or positive

@item DEFAULT VALUE:
By default, when @code{CONFIGURE_GNAT_RTEMS} is defined, this is set to 20.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_ADA_TASKS} is the number of Ada tasks that can
be concurrently active in the system.

@subheading NOTES:
None.

@c
@c === CONFIGURE_MAXIMUM_FAKE_ADA_TASKS ===
@c
@subsection Specify the Maximum Fake Ada Tasks

@findex CONFIGURE_MAXIMUM_FAKE_ADA_TASKS

@table @b
@item CONSTANT:
@findex CONFIGURE_MAXIMUM_FAKE_ADA_TASKS

@item DATA TYPE:
integer

@item RANGE:
zero or positive

@item DEFAULT VALUE:
By default, this is undefined which implies zero (0) @i{fake} Ada Tasks.

@end table

@subheading DESCRIPTION:
@code{CONFIGURE_MAXIMUM_FAKE_ADA_TASKS} is the number of @i{fake} Ada tasks
that can be concurrently active in the system.  A @i{fake} Ada task is
a non-Ada task that makes calls back into Ada code and thus implicitly
uses the Ada run-time.

@subheading NOTES:
None.

@c
@c === Configuration Data Structures ===
@c
@section Configuration Data Structures

It is recommended that applications be configured using
@code{<rtems/confdefs.h>} as it is simpler and insulates applications
from changes in the underlying data structures.  However, it is sometimes
important to understand the data structures that are automatically filled
in by the configuration parameters.  This section describes the primary
configuration data structures.

If the user wishes to see the details of a particular data structure,
they are are advised to look at the source code. After all, that is one
of the advantages of RTEMS.