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

	* tests/cache.c : Fix compiler warning about variable set but not used.
	[ Bugzilla 1001865 ]

2012-04-25  Ilija Kocho <ilijak@siva.com.mk>

	* include/hal_stub.h, src/hal_stub.c, src/thread-packets.c:
	NUMREGS replaced by HAL_STUB_REGISTERS_SIZE in thread-packets.c
	[Bugzilla 1001558]

2012-03-14  Grant Edwards <grant.b.edwards@gmail.com>

	* src/generic-stub.c (process_query): Fix compiler warning about
	variable that is set but not used (only used in conditionally
	compiled code). [ Bugzilla 1001535 ]

2012-03-09  Sergei Gavrikov  <sergei.gavrikov@gmail.com>

	* src/hal_if.c (hal_ctrlc_check): Fix compiler warning about
	variable that is set but not used (isr_ret has been removed).

2011-01-13  John Dallaway  <john@dallaway.org.uk>

	* cdl/hal.cdl: Add a CDL interface to control whether interrupt
	state must be saved. [ Bugzilla 1001111 ]
	* cdl/debugging.cdl: Implement the new interface within GDB Ctrl-C
	break options.
	* src/hal_if.c: Make declaration of the hal_saved_interrupt_state
	variable conditional on an implementation of the new CDL interface.

2010-11-20  John Dallaway  <john@dallaway.org.uk>

	* cdl/hal.cdl: Suppress -fprofile-arcs (which implies -lgcov) when
	generating extras.o.

2010-10-09  John Dallaway  <john@dallaway.org.uk>

	* doc/porting.sgml: Delete references to the memory layout editor.

2009-02-02  Bart Veer  <bartv@ecoscentric.com>

	* cdl/hal.cdl: add CYGBLD_GLOBAL_WARNFLAGS, as part of global
	compiler flags update.

2008-11-21  Bart Veer  <bartv@ecoscentric.com>

	* include/hal_if.h (CYGNUM_CALL_IF_available_x): fix typo in
	previous patch.

2008-11-20  Bart Veer  <bartv@ecoscentric.com>

	* cdl/hal.cdl, include/hal_if.h, src/hal_if.c: expunge
	CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_CACHE and the corresponding code.

2008-05-20  Jonathan Larmour  <jifl@eCosCentric.com>

	* src/thread-packets.c (threadmatch): Silence pointer signedness
	warning.
	(threadref_to_int): Ditto.
	* src/generic-stub.c (__mem2hex): Ditto.
	(__mem2hex_safe): Ditto.
	(__hex2mem): Ditto.
	(__hex2mem_safe): Ditto.
	* src/hal_if.c (delay_us): Ditto.
	* include/hal_stub.h (CYG_HAL_GDB_LEAVE_CRITICAL_IO_REGION):
	Instead of using a local variable to avoid compiler reordering
	when taking the address of a label, instead call an external function.
	(NB making the variable volatile isn't sufficient).

2008-05-13  Chris Zimman  <czimman@bloomberg.com>

	* cdl/hal.cdl: Work around problem with current ARM EABI tools by
	using /dev/null as linker script. Should be safe with other tools.

2007-11-27  Bart Veer  <bartv@ecoscentric.com>

	* src/hal_if.c (delay_us): use HAL_DELAY_US() rather than the
	fancy implementation if the port cannot provide HAL_CLOCK_READ()

2007-09-27  Grant Edwards <grante@visi.com>

        * include/hal_endian.h (SWAP16): Fix "return value" so
        that it only returns data in lower 16 bits instead of 24.

2006-05-09  Andrew Lunn  <andrew.lunn@ascom.ch>

	* src/hal_if.c (cyg_hal_diag_mangler_gdb_flush): Fix compiler
	warning about signed/unsigned.

2006-04-19  Alexander Neundorf <alexander.neundorf@jenoptik.com

	* include/hal_if.h, src/hal_if.c: add a VV call for modifying
        the FIS table from eCos applications

2005-06-27  Andrew Lunn  <andrew.lunn@ascom.ch>

	* include/hal_tables.h (CYG_HAL_TABLE_{QUALIFIED_}ENTRY): added
	CYGBLD_ATTRIB_USED so that gcc 3.4.4 does not discard entries
	which are not refereced explicitly. Problem reported by
	Oliver Munz.
	
2005-06-26  Bart Veer  <bartv@ecoscentric.com>

	* doc/hal.sgml: make HAL_DELAY_US() mandatory and define it to be
	thread-safe.

2005-05-19  Peter Korsgaard  <jacmet@sunsite.dk>

	* doc/porting.sgml: Changed dead sourceware.cygnus.com links to
	ecos.sourceware.org.

2005-04-27  Enrico Piria <epiria@libero.it>

	* src/hal_if.c Added missing declarations of tries when compiling
	with CYGNUM_HAL_DEBUG_GDB_PROTOCOL_RETRIES != 0.

2005-02-17  Jonathan Larmour  <jifl@eCosCentric.com>

	* cdl/common.cdl: Add CYGBLD_HAL_LINKER_GROUPED_LIBS to allow
	CDL setting of libraries used for GROUP() directive in linker
	script.

2004-11-20  Andrew Lunn  <andrew.lunn@ascom.ch>

	* tests/intr.c: Make the ISR call the DSR to make sure this works
	correctly.

2004-08-22  Gary Thomas  <gary@mlbassoc.com>

	* doc/porting.sgml: Replace [very misleading dated] comments
	about CygMon and platforms which use/need GDB stubs.

2004-08-12  Jani Monoses <jani@iv.ro>

	* include/hal_if.h: Make monitor locking work with CYGPKG_LWIP.

2004-05-19  John Newlin <jnewlin@stretchinc.com>

	* src/hal_stub.c:
	(cyg_hal_gdb_interrupt) 
	(cyg_hal_gdb_remove_break): Changed both to use
	_read_mem_safe/__write_mem_safe for inserting a breakpoint, and
	restoring the original instruction.
	The Xtensa architecture (and others maybe?) can have unaligned
	instructions, which caused unaligned load/store exception.
	
2004-04-22  Jani Monoses <jani@iv.ro>

	 * cdl/hal.cdl :
	 Invoke tail with stricter syntax that works in latest coreutils. 

2004-02-23  Jonathan Larmour  <jifl@eCosCentric.com>

	* cdl/debugging.cdl (CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS): Included
	stubs should always mean saving full context both on interrupts
	and context swaps, so make it explicit.

2004-01-05  Gary Thomas  <gary@mlbassoc.com>

	* include/hal_if.h: Minor fixup - new 'fconfig' functions broke 
	existing uses of CYGACC_CALL_IF_FLASH_CFG_OP.  Added a new macro
	CYGACC_CALL_IF_FLASH_CFG_OP2 which handles new API and a wrapper
	to handle the old way (backwards compatability).

2003-12-21  Gary Thomas  <gary@mlbassoc.com>

	* src/hal_if.c (flash_config_op): 
	* include/hal_if.h: New expanded functions for RedBoot 'fconfig'
	database.

2003-09-04  Patrick Doyle  <wpd@dtccom.com>

	* include/hal_if.h: 
	* src/hal_if.c (flash_fis_op): Added support for the rest of the
	FIS operations.

2003-08-06  Bob Koninckx <bob.koninckx@mech.kuleuven.ac.be>

	* src/drv_api.c: Added definition of cyg_interrupt_post_dsr() for
	use in those HALs that need it.

	* include/hal_arbiter.h (hal_call_isr): Removed ifdef on
	CYGFUN_HAL_COMMON_KERNEL_SUPPORT around test and call to
	cyg_interrupt_post_dsr().

2003-07-21  Nick Garnett  <nickg@balti.calivar.com>

	* doc/hal.sgml: Reorganized description of clock and timer related
	stuff into their own section and added a piece about how to change
	the clock frequency.

2003-06-25  Nick Garnett  <nickg@balti.calivar.com>

	* src/hal_if.c (delay_us): The first test against
	CYGNUM_KERNEL_COUNTERS_RTC_PERIOD is now against the period
	divided by two. By the time we get to this test we know that usecs
	can never be > usec_per_period/2 so we can double the range of
	period values that we can handle without overflow and use the more
	efficient approximation. The second test is not changed since we
	cannot make the same assumptions about the elapsed count.

2003-06-24  Jonathan Larmour  <jifl@eCosCentric.com>

	* src/generic-stub.c (crc32): Fix crctable option name typo.

	* src/hal_if.c (hal_if_init): Remove kill_by_reset.
	(kill_by_reset): Remove, unused.
	(reset): ifdef test on HAL_PLATFORM_RESET and assert on reset failure.

	* cdl/interrupts.cdl (CYGNUM_HAL_COMMON_INTERRUPTS_STACK_SIZE): No
	reason to forbid people setting this quite small.
	
2003-06-19  Nick Garnett  <nickg@balti.calivar.com>

	* src/hal_if.c (delay_us): Reorganized to cope with high frequency
	timers by eliminating a source of arithmetic overflow. 

2003-05-06  Mark Salter  <msalter@redhat.com>

	* src/hal_stub.c (handle_exception_exit): Call sys_profile_reset from
	here. Setup to return through return_from_stub() when appropriate.
	(return_from_stub): New function to call CYGACC_CALL_IF_MONITOR_RETURN
	from thread context.

	* src/generic-stub.c (__handle_exception): Call exit_vec if
	hal_syscall_handler returns negative number.

2003-04-08  Mark Salter  <msalter@redhat.com>

	* src/hal_misc.c (hal_default_isr): Allow HAL to override default
	GDB vector matching test.

2003-04-08  Yoshinori Sato  <qzb04471@nifty.ne.jp>
2003-04-08  Jonathan Larmour  <jifl@eCosCentric.com>

	* cdl/debugging.cdl: Allow CRC to be allocated in ROM as well as RAM.
	* src/generic-stub.c: as above.

2003-04-02  Gary Thomas  <gary@mlbassoc.com>

	* src/generic-stub.c: 
	* include/generic-stub.h: Cleanup when program args are not
	supported (remove some unused static storage).

2003-03-03  Knud Woehler <knud.woehler@microplex.de>

	* src/hal_if.c:
	* include/hal_if.h: Add CYGNUM_CALL_IF_FLASH_FIS_OP. FIS read
	via the virtual vector table.
	
2003-02-24  Jonathan Larmour  <jifl@eCosCentric.com>

	* cdl/hal.cdl: Fix doc links.

	* doc/hal.sgml: hal-common-current-doc-porting-sgml entity ->
	hal-common-porting-sgml in line with other docs.

2003-02-13  Mark Salter  <msalter@redhat.com>

	* src/gdb-fileio.h (FILEIO_O_BINARY): New flag.
	(FILEIO_O_TEXT): New flag.

2003-01-31  Mark Salter  <msalter@redhat.com>

	* include/hal_if.h: Add CYGNUM_CALL_IF_MONITOR_RETURN.

2002-12-04  Gary Thomas  <gthomas@ecoscentric.com>

	* cdl/hal.cdl: RAM applications should not claim (reset) version
	string by default.

2002-12-03  Gary Thomas  <gthomas@ecoscentric.com>

	* src/hal_if.c (hal_if_init): 
	* include/hal_if.h: 
	* cdl/hal.cdl: Allow monitor (RedBoot) version string to be exported
	via the virtual vector table.

2002-11-13  Gary Thomas  <gthomas@ecoscentric.com>

	* cdl/hal.cdl: Add CDL control over DATA cache startup mode.

2002-09-11  Mark Salter  <msalter@redhat.com>

	* include/hal_if.h: Add __COMMCTL_ENABLE_LINE_FLUSH and
	__COMMCTL_DISABLE_LINE_FLUSH.

2002-08-29  Mark Salter  <msalter@redhat.com>

	* include/generic-stub.h: Add defines for Z packet types.
	* src/bplist-dynamic.c: Add support for deferred hardware breakpoint
	and watchpoint insertion/deletion. This gets around gdb problem where
	gdb tries accessing watched memory before removing watchpoint.
	* src/generic-stub.c (__process_packet): Ditto.
	* include/hal_stub.h: Ditto.

2002-05-23  Jesper Skov  <jskov@redhat.com>

	* cdl/hal.cdl: Don't build tests that are not applicable with the
	current configuration.
	Added CYGINT_HAL_TESTS_NO_CACHES which allows cache tests to be
	suppressed.

2002-05-13  Jesper Skov  <jskov@redhat.com>

	* cdl/hal.cdl: Removed
	CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT_NOT_GUARANTEED option and its
	dependencies.

2002-05-02  Nick Garnett  <nickg@redhat.com>

	* doc/hal.sgml: Added description of HAL_DELAY_US().

	* doc/porting.sgml: Expanded section on architecture porting.

2002-04-30  Jonathan Larmour  <jlarmour@redhat.com>

	* src/gdb-fileio.c (cyg_hal_gdbfileio_process_F_packet): Reset
	retcode/errno/ctrlc status every F packet.

2002-04-23  Jesper Skov  <jskov@redhat.com>

	* doc/porting.sgml: Fix some typos.

2002-04-22  Jonathan Larmour  <jlarmour@redhat.com>

	* include/generic-stub.h: Prototype __getpacket().
	* src/generic-stub.c: Rename getpacket() -> __getpacket(),
	remcomInBuffer -> __remcomInBuffer, and
	remcomOutBuffer -> __remcomOutBuffer throughout file, and export
	them (i.e. not file local).
	(__process_packet): Handle $F packets file I/O protocol responses.

	* src/gdb-fileio.c: New file to implement file I/O operations over
	the GDB remote protocol.
	* src/gdb-fileio.h: New file. Header for above.

2002-03-15  Nick Garnett  <nickg@redhat.com>

	* doc/porting.sgml: Platform HAL porting guide tidied up and
	expanded somewhat. Some work also done on variant
	guide. Architecture guided needs a lot more work.

	* doc/hal.sgml: Changed explicit section tags to recursive section
	tags to make any future restructuring easier.

2002-03-14  Nick Garnett  <nickg@redhat.com>

	* src/hal_stub.c: Add calls to HAL memory access check macros in
	memory access functions.

	* include/hal_stub.h: Added default definitions for HAL memory access
	check macros.

2002-03-06  Nick Garnett  <nickg@redhat.com>

	* tests/cache.c: Changed tests so that zero sized caches and HALs
	that define HAL_DCACHE_PURGE_ALL() don't cause this test to throw
	a compilation error.

2002-02-28  Jesper Skov  <jskov@redhat.com>

	* src/generic-stub.c (__handle_exception): Pay attention to return
	value from hal_syscall_handler.

2002-02-21  Mark Salter  <msalter@redhat.com>

	* src/hal_if.c (cyg_hal_diag_mangler_gdb_flush): Don't do anything
	if buffer is empty.

2002-02-20  Nick Garnett  <nickg@redhat.com>

	* doc/hal.sgml: Updated and tidied. Now includes porting guide
	from a separate file.

	* doc/porting.sgml: Added this file to contain the porting guide
	section of the HAL document. This is currently largely a
	conversion of Jesper's porting guide from the website.
	Unfortunately I have had no time to do much more than include it
	wholesale, with only minor edits. There are some notes at the end
	of the file describing what I would like to do.

2002-02-18  Nick Garnett  <nickg@redhat.com>

	* doc/hal.sgml: Restructured most of this document and rewrote
	large chunks of the basic HAL description stuff. Only the skeleton
	of the porting guided is currently done. This checkin in mostly
	for safety and to let others read the current state.

2002-02-06  Mark Salter  <msalter@redhat.com>

	* src/hal_if.c (cyg_hal_diag_mangler_gdb_control): Add flush support.
	(cyg_hal_diag_mangler_gdb_flush): New function to flush mangler output.
	(cyg_hal_diag_mangler_gdb_putc): Use new function to flush output.

2002-01-30  Hugo Tyson  <hmt@redhat.com>

	* include/hal_if.h (CYGNUM_FLASH_CFG_OP_CONFIG_INT): New defines for
	getting Flash Config options out of RedBoot using VV call
	CYGACC_CALL_IF_FLASH_CFG_OP().  These need to be kept uptodate
	with (or must override) those in RedBoot's flash_config.h
	Previously only used for getting an ESA.

2002-01-25  Hugo Tyson  <hmt@redhat.com>

	* src/generic-stub.c (__process_packet): If detach or kill, call
	sys_profile_reset() if BSP_SYSCALLS_GPROF are enabled, to clear
	out any dangerous state there.  Such as a callback function
	pointer into application code.

2002-01-23  Jonathan Larmour  <jlarmour@redhat.com>

	* include/drv_api.h: Add cyg_drv_interrupt_mask/unmask_intunsafe
	* src/drv_api.c: Ditto. And modify 
	 cyg_drv_interrupt_mask/unmask to be interrupt safe.
	
2002-01-21  Mark Salter  <msalter@redhat.com>

	* include/hal_spd.h: New file. Definitions for SDRAM module SPD.

2002-01-18  Jesper Skov  <jskov@redhat.com>

	* src/hal_stub.c (__build_t_packet): don't declare extend_val
	twice.

2001-12-12  Jesper Skov  <jskov@redhat.com>

	* include/hal_stub.h: Add goto to the used label.
	* src/hal_misc.c: Added (dummy) got for label used in
	CYGARC_HAL_GET_RETURN_ADDRESS_BACKUP.

2001-12-05  Jonathan Larmour  <jlarmour@redhat.com>

	* src/dbg-threads-syscall.c (dbg_thread_syscall): Don't bother to
	deref a func ptr. The opcode could theoretically be 0x0!

2001-12-04  Richard Sandiford  <rsandifo@redhat.com>

	* src/generic-stub.c (__add_char_to_packet): Reverse check for
	end of buffer and end of packet to fix potential buffer overrun.

2001-12-01  Jonathan Larmour  <jlarmour@redhat.com>

	* src/dbg-threads-syscall.c (dbg_thread_syscall): check for
	NULL dbg_syscall_ptr.

	* cdl/hal.cdl: require CYGPKG_INFRA since all HALs do!

2001-11-29  Hugo Tyson  <hmt@redhat.com>

	* src/hal_stub.c: Enable HAL_STUB_HW_SEND_STOP_REASON_TEXT for
	XScale architectures per Mark's request; XScale GDB needs to know
	what's happening with watchpoints (= work around previous change)

2001-11-29  Hugo Tyson  <hmt@redhat.com>

	* src/hal_stub.c: Condition out sending the reason for hardware
	watchpoint stop in the stop packet as $T05watch:01234568;... most
	GDBs do not understand it and in fact object to it.

2001-11-23  Nick Garnett  <nickg@redhat.com>

	* src/generic-stub.c (__process_packet): Fixed bogosity in
	handling of 'r' packet. It tried to send two replies, messing up
	the protocol and confusing GDB.

2001-11-02  Hugo Tyson  <hmt@redhat.com>

	* include/hal_stub.h (CYG_HAL_GDB_LEAVE_CRITICAL_IO_REGION):
	Permit this too to be defined externally ie. in a platform HAL.

2001-10-25  Gary Thomas  <gthomas@redhat.com>

	* cdl/hal.cdl: 
	* cdl/debugging.cdl: Reorg CDL a little so that GDB stub routines
	are only compiled when needed (instead of being compiled "empty").

2001-10-24  Gary Thomas  <gthomas@redhat.com>

	* cdl/hal.cdl: Add 'basic' test.

	* tests/basic.c: New test of some minimal HAL functionality.

2001-10-18  Gary Thomas  <gthomas@redhat.com>

	* src/hal_if.c (cyg_hal_diag_mangler_gdb_putc): 
	* cdl/debugging.cdl: CYGNUM_HAL_DEBUG_GDB_PROTOCOL_RETRIES is now
	defined as CDL 'data' flavor (tested via #if vs. #ifdef)

2001-10-17  Jesper Skov  <jskov@redhat.com>

	* src/generic-stub.c: Prefixed local version of memcpy and memset
	with _.

2001-10-17  Gary Thomas  <gthomas@redhat.com>

	* cdl/debugging.cdl: 
	* src/hal_if.c (cyg_hal_diag_mangler_gdb_putc): Make retry/abort optional,
	only attemped if CYGNUM_HAL_DEBUG_GDB_PROTOCOL_RETRIES is configured to
	be non-zero (default now 0).

2001-10-16  Jesper Skov  <jskov@redhat.com>

	* include/hal_stub.h: Allow ISOINFRA/LIBC to provide string
	functions.

2001-10-16  Gary Thomas  <gthomas@redhat.com>

	* include/generic-stub.h: Add prototypes for breakpoint_list functions.

2001-10-15  David Howells  <dhowells@redhat.com>

	* include/hal_stub.h: put semicolon between goto-label and close curly.

2001-10-12  Mark Salter  <msalter@redhat.com>

	* src/thread-packets.c: Don't specify array sizes in extern decls.

	* src/hal_stub.c: Use HAL_STUB_REGISTERS_SIZE to set number of elements
	in register save areas. Default to NUMREGS if not defined by HAL.
	Allow HALs to provide specialized get_register()/put_register().

	* src/generic-stub.c (stub_format_registers): Support 'p' packet.
	(__process_packet): Rearrange ifdefs so error is sent for unsupported
	Z packet types.
	(process_query): Add hook for HAL specific queries.
	(process_set): Add hook for HAL specific sets.

	* include/generic-stub.h: Add extern decls to quiet compiler warnings.

2001-10-11  Gary Thomas  <gthomas@redhat.com>

	* include/generic-stub.h: 
	* src/generic-stub.c: Improve error handling more.  Make sure that
	packets are consumed, even if they are going to be tossed (overflow).
	This keeps TCP based connections going, even when the data is bad.
	(getpacket): Only send NAK in case of overflow.

2001-10-09  Jesper Skov  <jskov@redhat.com>

	* src/hal_if.c (flash_config_op): Protect with
	CYGARC_HAL_SAVE_GP.

2001-10-04  Jesper Skov  <jskov@redhat.com>

	* include/hal_endian.h: Added.
	Fix typo.

2001-10-03  Jonathan Larmour  <jlarmour@redhat.com>

	* include/hal_tables.h (CYG_HAL_TABLE_BEGIN): Use plain "object"
	because	some (only some though) MIPS tools complain with %object.
	(CYG_HAL_TABLE_END): Ditto.

2001-10-02  Jonathan Larmour  <jlarmour@redhat.com>

	* include/hal_tables.h (CYG_HAL_TABLE_BEGIN): Use %object syntax
	rather than @object since @ is a comment character on ARM. gas
	accepts either syntax.
	(CYG_HAL_TABLE_END): Ditto.

2001-10-01  Gary Thomas  <gthomas@redhat.com>

	* src/generic-stub.c (getpacket): Send back error response (E01) if
	packet received which overflows buffers.  GDB doesn't always do much
	with this error, but at least it keeps the protocol moving.

2001-09-26  Gary Thomas  <gthomas@redhat.com>

	* cdl/common.cdl: New interface CYGINT_HAL_SUPPORTS_MMU_TABLES which
	indicates if the HAL supports MMU tables (few do).

2001-09-25  Gary Thomas  <gthomas@redhat.com>

	* cdl/common.cdl (CYGSEM_HAL_INSTALL_MMU_TABLES): Change to be
	default for ROM startup.

2001-09-20  Jesper Skov  <jskov@redhat.com>

	* tests/vaargs.c (cyg_start): Call CYG_TEST_INIT.

2001-09-10  Nick Garnett  <nickg@redhat.com>

	* include/hal_stub.h (strlen): Changed return type to size_t from
	int so it matches <string.h>. For some reason the compiler has
	suddenly started complaining about the type mismatch. Strange.

2001-09-07  Nick Garnett  <nickg@redhat.com>

	* src/hal_stub.c (put_register): Added kludge for VR4300 targets
	to sign extent the PC when it is being set. This is due to the
	age of the VR4300 toolchain and the fact that the VR4300 is the
	only target to do full 64bit register saves/restores.

2001-09-07  Jesper Skov  <jskov@redhat.com>

	* include/hal_if.h: Fix typo in below change.

2001-09-07  Jonathan Larmour  <jlarmour@redhat.com>

	* include/hal_if.h (CYGACC_CALL_IF_DBG_SYSCALL): Define and call
	with correct arguments.

2001-08-24  Mark Salter  <msalter@redhat.com>

	* src/generic-stub.c (__process_packet): Add support for 'D' packet.
	(__process_packet): Check for impossible mem write length.

2001-08-17  Jonathan Larmour  <jlarmour@redhat.com>

	* cdl/hal.cdl: Add CYGINT_HAL_VIRTUAL_VECTOR_COMM_BAUD_SUPPORT
	interface.

2001-08-16  Gary Thomas  <gthomas@redhat.com>

	* cdl/hal.cdl: Add CDL options to control GDB protocol retries.

2001-08-14  Gary Thomas  <gthomas@redhat.com>

	* src/hal_if.c (cyg_hal_diag_mangler_gdb_putc): Use timeout
	functions to allow for retries.  This should improve the case
	where [for whatever reason] the host GDB misses or ignores 
	a $O packet - it will get resent after a reasonable timeout.

2001-08-03  Gary Thomas  <gthomas@redhat.com>
2001-08-03  Jesper Skov  <jskov@redhat.com>

	* include/hal_if.h: Use inline functions for calls - allowing
	interrupts to be disabled while services are called
	[CYGACC_COMM_IF_CONTROL is an exception since it's using variable
	arguments - so it's still a macro].
	Pruned unused IF vectors: ICTRL_TABLE, EXC_TABLE, DBG_VECTOR,
	CPU_DATA, BOARD_DATA, SYSINFO, SET_SERIAL_BAUD.
	Note: this should fix bug CR 902745-CR.

	* cdl/hal.cdl: Removed CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_ICTRL.
	* src/hal_if.c (hal_if_init): Removed initialization of
	ICTRL_TABLE, EXC_TABLE, CPU_DATA and BOARD_DATA entries.

2001-08-03  Nick Garnett  <nickg@redhat.com>

        Imported from a development branch:
	
	2001-07-11  Nick Garnett  <nickg@redhat.com>

		* include/drv_api.h: 
		* src/drv_api.c:
		Added API for controlling routing of interrupts to CPUs in SMP
		configurations.

	2001-06-29  Nick Garnett  <nickg@cygnus.co.uk>

		* include/drv_api.h: 
		* src/drv_api.c:
		Added API for using spinlocks.

2001-08-03  Jesper Skov  <jskov@redhat.com>

	* tests/vaargs.c: Added.
	* cdl/hal.cdl: Added CYGPKG_HAL_BUILD_COMPILER_TESTS to allow cpp1
	and vaargs tests to be compiled conditionally.

2001-07-27  Jesper Skov  <jskov@redhat.com>

	* tests/intr.c: Set up interrupt ISR using driver API so it works
	properly in chained mode in the presence of arbiters.

	* src/drv_api.c (chain_isr): Call default ISR when
	appropriate. Return ISR return value.

	* include/hal_arbiter.h (hal_call_isr): Added version to be used
	with interrupt chaining.

2001-07-24  Mark Salter  <msalter@redhat.com>

	* cdl/hal.cdl (CYGINT_HAL_PLF_IF_IDE): New interface which
	indicates platform supports IDE controller I/F macros.

2001-06-29  Jonathan Larmour  <jlarmour@redhat.com>

	* cdl/hal.cdl (CYGPKG_HAL_TESTS): Remove redundant .c extension

2001-06-29  Jesper Skov  <jskov@redhat.com>

	* include/hal_misc.h: Moved arbiter helper to
	* include/hal_arbiter.h: this file to avoid header file inclusion
	order problems.

2001-06-28  Jesper Skov  <jskov@redhat.com>

	* include/hal_misc.h (hal_call_isr): Added. Used by ISR arbiters.

2001-06-22  Gary Thomas  <gthomas@redhat.com>

	* src/generic-stub.c (BUFMAX): Define as platform specific, thus
	reducing memory requirements.
	(__process_packet): Eliminate program arguments support until eCos
	makes use of them (more memory savings).

2001-06-22  Mark Salter  <msalter@redhat.com>

	* src/hal_stub.c (__do_copy_mem): Add goto statement to prevent
	compiler from moving instructions across 'err' label.

2001-06-14  Jonathan Larmour  <jlarmour@redhat.com>

	* src/generic-stub.c (__process_packet): Don't reset the board
	straight away with a 'r' packet. Let a 'k' packet do it instead.

	* src/hal_stub.c (__install_traps): Remove redundant comment.

2001-06-11  Jonathan Larmour  <jlarmour@redhat.com>

	* src/hal_if.c (delay_us): Revert below change of 2001-05-17

2001-06-05  Hugo Tyson  <hmt@redhat.com>

	* src/hal_if.c (cyg_hal_diag_mangler_gdb_putc): The nesting of
	CYGARC_HAL_SAVE_GP() and the instant-out if sending a carriage
	return "\r" was wrong - it scrambled the gp for the caller!  Since
	the return-test is trivial, I simply re-ordered rather than making
	the exit clause complex with a restore in it.

2001-05-17  Jonathan Larmour  <jlarmour@redhat.com>

	* src/hal_if.c (delay_us): Warn if using default

2001-05-14  Jonathan Larmour  <jlarmour@redhat.com>

	* cdl/interrupts.cdl (CYGNUM_HAL_COMMON_INTERRUPTS_STACK_SIZE):
	Default stack size to 32K for non-kernel configs, and describe
	why.

2001-05-07  Gary Thomas  <gthomas@redhat.com>

	* src/hal_if.c (hal_ctrlc_check): Only return 'true' if the ISR/DSR
	actually processes a ^C.  Otherwise, interrupts/date can be lost on
	a shared channel (like an ethernet device).

2001-04-30  Gary Thomas  <gthomas@redhat.com>

	* cdl/hal.cdl: Add configury to control initial cache behaviour.

2001-04-30  Hugo Tyson  <hmt@redhat.com>

	* cdl/hal.cdl: Add tests/cpp1.c to the tests list.

	* tests/cpp1.c: New test, to test for regressions in the tools.
	This one is for a CPP bug in the XScale tools where '+' binds too
	strongly following a ')' because it is mistaken for unary plus.

2001-04-25  Bart Veer  <bartv@redhat.com>

	* tests/cache.c:
	Fix test for cache presence.

	* src/drv_api.c (cyg_drv_interrupt_detach):
	Added missing indirection.

2001-03-28  Jonathan Larmour  <jlarmour@redhat.com>

	* include/dbg-threads-api.h: Add dbg_thread_id() function prototype.

2001-03-21  Mark Salter  <msalter@redhat.com>

	* src/hal_if.c (hal_if_init): Add explicit typecast when setting 
	version. Needed when sizeof(int) < sizeof(CYG_ADDRWORD).

2001-03-21  Jesper Skov  <jskov@redhat.com>

	* src/hal_if.c (hal_if_init): Added warning about debugging.

2001-03-20  Jonathan Larmour  <jlarmour@redhat.com>

	* include/hal_if.h: Add argument names to __call_if_flash_cfg_op_fn_t

2001-03-16  Mark Salter  <msalter@redhat.com>

	* src/hal_stub.c (__build_t_packet): Add hook for adding arch-specific
	registers to T packet.
	(handle_exception_cleanup): Skip orig_registers past breakpoint so we
	return to original context rather than hit breakpoint again.

2001-03-16  Hugo Tyson  <hmt@redhat.com>

	* include/hal_if.h: Define types and slots and macros themed with
	the phrase CALL_IF_FLASH_CFG_OP following the pattern of what's
	there for the other slots.  Thus CYGNUM_CALL_IF_FLASH_CFG_OP,
	CYGACC_CALL_IF_FLASH_CFG_OP(...) and __call_if_flash_cfg_op_fn_t
	are all newly defined.  Also CYGNUM_CALL_IF_FLASH_CFG_GET which is
	the only operation supported in this initial version.

	Also changed many typedef'd function pointers to not include the
	pointerness; that way the type can be used to validate the
	correctness of arguments in the called function.

	* src/hal_stub.c (__reset): Minor change to reset function
	handling; pointerness of typedef removed.

	* src/hal_if.c (flash_config_op): New function to call flash ops
	in RedBoot.  This is so that RedBoot can manage ethernet addresses
	for you, and the application can get at the data "cleanly".
	(hal_if_init): Install flash_config_op() in the table if defined.

2001-03-12  Mark Salter  <msalter@redhat.com>

	* src/hal_misc.c (cyg_hal_user_break): Use macro to find PC
	in saved regs.

	* src/generic-stub.c: Add support for harvard memories.
	* src/bplist-dynamic.c: Ditto.
	* include/generic-stub.h: Ditto.
	* include/hal_stub.h: Add dummy harvard memory macros for
	princeton memory systems.

2001-03-12  Jesper Skov  <jskov@redhat.com>

	* src/drv_api.c (cyg_drv_interrupt_detach): Fix missing intr->
	change.

2001-03-08  Jesper Skov  <jskov@redhat.com>

	* cdl/hal.cdl: Change sense of
	CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT_GUARANTEED to new
	CYGINT_HAL_VIRTUAL_VECTOR_SUPPORT_NOT_GUARANTEED.

2001-03-07  Jesper Skov  <jskov@redhat.com>

	* src/drv_api.c: Use macro to provide symbol alias.

2001-03-05  Jesper Skov  <jskov@redhat.com>

	* src/hal_if.c (hal_if_diag_init): Ensure the function only
	executes once.

2001-03-02  Gary Thomas  <gthomas@redhat.com>

	* cdl/hal.cdl: 
	* include/hal_if.h: 
	* src/hal_if.c (hal_if_init): 
	Support platform specific initializations.

2001-02-26  Mark Salter  <msalter@redhat.com>

	* src/generic-stub.c (__process_packet): Change 'k' packet to cause
	return to original context. Change 'r' packet to respond with empty
	packet before resetting board.

	* src/hal_stub.c (handle_exception_exit): New function. Restores
	original context saved when stub was entered for the first time.
	(handle_exception_cleanup): Save original context.
	(__install_traps): Set __process_exit_vec to handle_exception_exit.

2001-02-09  Jesper Skov  <jskov@redhat.com>

	* cdl/debugging.cdl: Make CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT and 
	CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT options have sensible defaults.

2001-02-08  Jesper Skov  <jskov@redhat.com>

	* cdl/hal.cdl: Added CYGSEM_HAL_VIRTUAL_VECTOR_INHERIT_CONSOLE and
	CHANNEL_CONFIGURABLE options.
	* cdl/common.cdl: Added CYGDBG_HAL_DIAG_TO_DEBUG_CHAN option.
	* src/hal_if.c: Changes to respect new options. Always do platform
	driver init from CLAIM_COMMS code.
	* src/hal_stub.c: Leave channel setup to CLAIM_COMMS code.

	* src/hal_if.c: Added null mangler that gets called via the
	virtual vector console comms entry and just forwards IO to the
	debug comms entries.  This differs from setting the console
	channel to the same as the debug channel in that console output
	will go to the debug channel even if the debug channel is changed.

2001-02-07  Jesper Skov  <jskov@redhat.com>

	* include/hal_if.h: Allow architecture to override COMM and CALL
	accessor macros.

2001-02-03  Gary Thomas  <gthomas@redhat.com>

	* src/bplist-dynamic.c (__set_breakpoint, __remove_breakpoint): 
	Fix error introduced below when no breakpoint list defined.

2001-02-02  Mark Salter  <msalter@redhat.com>

	* src/generic-stub.c: __set_breakpoint and __remove_breakpoint now
	take a length argument.

	* src/bplist-dynamic.c: Support breakpoint length. Use 
	HAL_BREAKINST_ADDR macro (if defined) to get actual breakpoint based
	on breakpoint length.

	* include/hal_stub.h: Add len argument to __set_breakpoint and
	__remove_breakpoint.

2001-02-01  Jesper Skov  <jskov@redhat.com>

	* src/drv_api.c: Make it build with chaining.

	* include/hal_if.h: Introduce macros for legal version range and
	special hacked version number used by ctrlc magic.
	* src/hal_if.c (hal_ctrlc_isr_init): Be more careful with how the
	version number is checked (and trashed) by the ctrlc init code.
	* src/hal_misc.c (hal_default_isr): Same.

	* src/hal_stub.c: Moved mangling code to hal_if.c
	* src/hal_if.c: New policies for when and how to initialize the
	IO channels. Mangler code now set up by diag_init to allow for
	mangling when no stub is included.

	* include/hal_if.h: Added COMM version in upper 16 bits of version
	word. Removed CYGPRI_HAL_IMPLEMENTS_IF_SERVICES.
	* src/hal_misc.c: Use masks when checking vv versions.

	* cdl/hal.cdl: Add new options for selecting which parts of the
	virtual vector table to initialize.
	* src/hal_if.c: Matching granularity in initialization code.
	Extra checking of services before using these.
	
	* cdl/debugging.cdl: Require channel initialization when enabling
	stubs.

2001-01-31  Jesper Skov  <jskov@redhat.com>

	* cdl/common.cdl: Get rid of CYGDBG_HAL_DIAG_DISABLE_GDB_PROTOCOL
	options. They are replaced by the CYGSEM_HAL_DIAG_MANGLER option.

2001-01-31  Hugo Tyson  <hmt@redhat.com>

	* include/hal_if.h: Make it possible to build logical ether driver
	even without virtual vectors present, by defining a dummy
	HAL_CTRLC_CHECK in that case; other code invokes it if debugging
	per se is enabled.

2001-01-26  Jesper Skov  <jskov@redhat.com>

	* src/hal_stub.c (__reset): Rename HAL_STUB_PLATFORM_RESETx macros
	to HAL_PLATFORM_RESETx.
	* src/hal_if.c (reset): Same.

2001-01-15  Nick Garnett  <nickg@cygnus.co.uk>

	* src/drv_api.c: Initialized isr_disable_counter to 1 so that it
	indicates that interrupts are initially disabled.

2000-12-15  Gary Thomas  <gthomas@redhat.com>

	* src/generic-stub.c: Define 'version' string to be a weak
	symbol that can be easily overridden (e.g. by RedBoot).

2000-12-11  Gary Thomas  <gthomas@redhat.com>

	* src/hal_if.c: Remove unnecessary (polluting) include file.

	* include/hal_stub.h: Support platform/variant supplied
	include files.  <cyg/hal/plf_XXX.h> can now be layered
	as <cyg/hal/var_XXX.h> which includes <cyg/hal/plf_XXX.h>.

2000-12-06  Jesper Skov  <jskov@redhat.com>

	* src/hal_if.c (delay_us): Ensure proper _GP save/restore.
	Reduce number of loops in fall-back code.

2000-12-05  Drew Moseley  <dmoseley@redhat.com>

	* src/hal_stub.c (__build_t_packet): Handle
	CYGARC_REGSIZE_DIFFERS_FROM_TARGET_REGISTER_T with Little Endian
	target.

	* include/hal_misc.h: Added BIT and SZ_ defines.

2000-11-22  Mark Salter  <msalter@redhat.com>

	* src/hal_misc.c (hal_default_isr): Version check only when
	CYGSEM_HAL_ROM_MONITOR not defined.

2000-11-20  Mark Salter  <msalter@redhat.com>

	* src/hal_stub.c (hal_flush_output): New function to flush debug
	comm interface.

	* src/generic-stub.c (__process_packet): Use hal_flush_output when
	killing or continuing.

	* include/hal_stub.h: Add declaration for hal_flush_output().

	* include/hal_if.h (__COMMCTL_FLUSH_OUTPUT): New comm control cmd.

2000-11-17  Jesper Skov  <jskov@redhat.com>

	* src/hal_if.c (delay_us): Add dummy loop.
	Duh! Take usecs argment into account.

2000-11-06  Mark Salter  <msalter@redhat.com>

	* src/generic-stub.c (__handle_exception): Add support for GNUPro bsp
	syscall handling.

	* src/board.h: Include pkgconf/redboot.h for CYGSEM_REDBOOT_BSP_SYSCALLS.

2000-11-06  Jesper Skov  <jskov@redhat.com>

	* src/hal_if.c (hal_if_diag_write_char): Clear interrupt flag before
	setting breakpoint.

2000-11-04  Mark Salter  <msalter@redhat.com>

	* src/hal_stub.c (__build_t_packet): Report reason and data
	address if stopped by hw watchpoint.

	* src/generic-stub.c (__process_packet): Remove experimental
	support for type 5 Z packet.

	* include/hal_stub.h: Define HAL_STUB_STOP_* reasons returned
	by HAL_IS_STOPPED_BY_HARDWARE.

2000-10-27  Mark Salter  <msalter@redhat.com>

	* src/generic-stub.c: Fixed preprocessor warning.

2000-10-27  Gary Thomas  <gthomas@redhat.com>

	* src/generic-stub.c (__process_packet): Remove warnings when
	hardware breakpoint support (Z packet) not enabled.

2000-10-26  Mark Salter  <msalter@redhat.com>

	* src/generic-stub.c (__process_packet): Add Z packet support.

	* src/bplist-dynamic.c: Include <pkgconf/hal.h> to pick up
	CYGNUM_HAL_BREAKPOINT_LIST_SIZE.

2000-10-24  Jesper Skov  <jskov@redhat.com>

	* src/generic-stub.c (__process_packet): Disable buffer size
	z-packet.

2000-10-23  Jesper Skov  <jskov@redhat.com>

	* src/hal_stub.c: Made __mem_fault_handler pointer volatile.

2000-10-20  Jonathan Larmour  <jlarmour@redhat.com>

	* include/drv_api.h (cyg_interrupt): Make dsr_count volatile to
	prevent compilers optimizing accesses in the wrong place.

2000-10-20  Jesper Skov  <jskov@redhat.com>

	* include/drv_api.h: Correct location of volatile keyword.
	* src/drv_api.c: Same.

2000-10-19  Gary Thomas  <gthomas@redhat.com>

	* src/generic-stub.c (__process_packet): Add RedBoot identifier
	in maintenance 'd' packet reply.

2000-10-18  Jesper Skov  <jskov@redhat.com>

	* include/hal_if.h (CYGPRI_HAL_IMPLEMENTS_IF_SERVICES): Set for
	all non-RAM startup types.

2000-10-13  Jonathan Larmour  <jlarmour@redhat.com>

	* src/stubrom/stubrom.c (cyg_start): Remove unnecessary call to
	initialize_stub()

2000-09-11  Jonathan Larmour  <jlarmour@redhat.com>

	* include/hal_tables.h (CYG_HAL_TABLE_EXTRA): Use new definition of
	CYGBLD_ATTRIB_SECTION, and fix the string name up better.
	(CYG_HAL_TABLE_ENTRY): Ditto
	(CYG_HAL_TABLE_QUALIFIED_ENTRY): Ditto

2000-09-07  Jonathan Larmour  <jlarmour@redhat.com>

	* include/hal_tables.h: Fix non-standard use of paste operator to
	remove warnings with recent gcc

2000-09-04  Jonathan Larmour  <jlarmour@redhat.com>

	* include/hal_tables.h (CYG_HAL_TABLE_END): Use CYGARC_P2ALIGNMENT
	to align label
	(CYG_HAL_TABLE_TYPE): Define

2000-09-01  Jonathan Larmour  <jlarmour@redhat.com>

        * src/hal_stub.c (__build_t_packet): Ensure sign extension applies
        in the higher word, not the lower.
	(__build_t_packet): Don't need to conditionalize on
	CYGARC_REGSIZE_DIFFERS_FROM_TARGET_REGISTER_T as there should be no
	problems with the current code.
	* src/generic-stub.c (stub_format_registers): Likewise

	* include/hal_if.h (CYGACC_COMM_IF_CONTROL): Remove warning due to
	unnecessary use of cpp paste operator

2000-08-28  Gary Thomas  <gthomas@redhat.com>

	* src/hal_if.c: 
	* include/hal_if.h (hal_ctrlc_check): Define new routine to be
	called by interrupt handlers (DSRs) which may be using hardware
	shared with a debug channel.  In particular, network adaptors 
	need to call this function to see if a ^C has occurred on the
	network debug connection.

2000-08-24  Gary Thomas  <gthomas@redhat.com>

	* include/hal_tables.h: Need descriminated tables (for proper sorting).

2000-08-14  Drew Moseley  <dmoseley@redhat.com>

	* src/hal_if.c: Added an extern declaration for
	cyg_hal_plf_comms_init.	

	* src/bplist-dynamic.c: Only use breakpoint lists when building
	stubs.

2000-08-10  Drew Moseley  <dmoseley@redhat.com>

	* include/generic-stub.h: Added support for register validity
	checking.
	* src/generic-stub.c: Ditto.
	* src/hal_stub.c: Ditto.

	* include/drv_api.h: Added cyg_code_t.

2000-08-03  Gary Thomas  <gthomas@redhat.com>

	* include/hal_if.h (CYGNUM_CALL_IF_DBG_DATA): Move to avoid
	conflict.

2000-07-26  Gary Thomas  <gthomas@redhat.com>

	* src/hal_stub.c (cyg_hal_gdb_diag_putc): Ignore any characters
	other than the protocol chars of ACK/NAK/^C.

	* src/hal_if.c (hal_if_diag_init): Only reset console channel
	if user has configured a non-default choice.

2000-07-24  Drew Moseley  <dmoseley@redhat.com>

	* src/bplist-dynamic.c (__install_breakpoint_list): Call
	HAL_ICACHE_SYNC() rather than HAL_ICACHE_INVALIDATE_ALL().

2000-07-21  Drew Moseley  <dmoseley@cygnus.com>

	* src/hal_stub.c: Cleanup of #define's.

	* src/generic-stub.c: Rearrange the linkage between Cygmon and HAL so
	that Cygmon needs HAL but not vice-versa.  ie HAL no longer calls
	any Cygmon functions.
	* src/hal_misc.c: Ditto.

	* src/bplist-dynamic.c: Use HAL macros rather than Cygmon
	functions for flushing the cache.
	Also handle the case where target_register_t is not defined.

2000-07-21  Gary Thomas  <gthomas@redhat.com>

	* src/hal_if.c (CYGNUM_HAL_VIRTUAL_VECTOR_NUM_CHANNELS): Define to allow
	the number of channels to be extended by "AUX" packages.

2000-07-20  Drew Moseley  <dmoseley@redhat.com>

	* src/generic-stub.c (stub_format_registers): Make the previous patch
	effective only if CYGARC_REGSIZE_DIFFERS_FROM_TARGET_REGISTER_T is
	defined so as to not affect any other targets.
	* src/hal_stub.c: Ditto.

2000-07-19  Drew Moseley  <dmoseley@redhat.com>

	* src/generic-stub.c (stub_format_registers): Handle the case
	where GDB is expecting registers larger than we are storing.  ie
	MIPS gdb expects 64 bit registers even if we are on a 32 bit
	architecture.  Also, handle the sign-extension correctly if
	necessary.
	* src/hal_stub.c (__build_t_packet): Ditto.

2000-07-18  Jesper Skov  <jskov@redhat.com>

	* src/hal_misc.c (hal_default_isr): 
	Version gets hacked by hal_if_init - check for the hacked value.

2000-07-18  Jesper Skov  <jskov@redhat.com>

	* src/hal_stub.c (__mem_fault_handler): Made volatile.
	
2000-07-14  Drew Moseley  <dmoseley@redhat.com>

	* src/generic-stub.c: Cleanups for better coexistence with Cygmon.
	* include/generic-stub.h: Ditto.
	* include/hal_if.h: Ditto.
	* include/hal_stub.h: Ditto.
	* src/hal_stub.c: Ditto.

	* cdl/hal.cdl: Compile bplist-dynamic.c.

	* src/bplist-dynamic.c: New file for supporting breakpoints in the HAL.

2000-07-14  Gary Thomas  <gthomas@redhat.com>

	* src/hal_if.c (delay_us): Use HAL_DELAY_US() if defined.

2000-07-07  Jesper Skov  <jskov@redhat.com>

	* src/hal_stub.c (initHardware): Fix #endif location.

	* src/hal_if.c (hal_ctrlc_isr_init): Added hack to work around a
	silly but critical problem.

	* src/hal_stub.c: Removed some CygMon conditional exclusions.

	* src/hal_if.c (hal_ctrlc_isr_init): Don't enable interrupts when
	configured as ROM monitor.

2000-07-05  Jesper Skov  <jskov@redhat.com>

	* cdl/debugging.cdl: Only allow CTRLC support if there's stubs or
	a ROM monitor to handle it. (Haruki Kashiwaya (kashiwaya at redhat
	dot com)).

2000-06-30  Jesper Skov  <jskov@redhat.com>

	* include/hal_if.h: Make CYGACC macros call functions. May have to
	add some _GET macros at some time if anyone needs to access the
	function pointers.

	* src/hal_stub.c: 
	* src/hal_misc.c:
	* src/hal_if.c:
	Matching changes of CYGACC clients.
	
2000-06-29  Jesper Skov  <jskov@redhat.com>

	* src/hal_stub.c (cyg_hal_gdb_diag_putc): Check console interrupt
	flag and breakpoint if set.

2000-06-28  Jesper Skov  <jskov@redhat.com>

	* src/hal_stub.c (cyg_hal_gdb_diag_putc): Don't try to set
	breakpoints in ROM startup - just disable interrupts. Also, use
	procs table function to disable device interrupts.

	* include/hal_if.h: Mark vector/comms arrays volatile to avoid
	compiler confusion.

	* include/dbg-threads-api.h: Fix C/C++ declaration issues.

	* src/hal_stub.c: Moved stub platform init call below vector table
	setup.

	* src/hal_misc.c:
	* src/hal_if.c:
	* include/hal_if.h: DBG_ISR_VECTOR and SET_TIMEOUT functions added
	to comms table. Added DELAY_US function to vector table. Made
	switching of debug channel dis/enable Ctrl-c interrupts as
	well. Made ctrlc_isr code use new vector entries. All this amounts
	to a properly switchable debug channel.

2000-06-21  Jesper Skov  <jskov@redhat.com>

	* src/hal_stub.c: Fixed clients of vector procs tables to pass
	in the correct arguments. Hook O-packetizer up on procs slot
	reserved for IO mangler. Install mangler when necessary.

	* src/hal_if.c: Extended set procs functions to allow temporarily
	switching console procs in a safe manner. Removed debug and
	console wrappers - all IO happens via drivers hooked up in tables
	rather than through hardwired macros. Proper initialization of
	console proc entry. Fixed clients of vector procs tables to pass
	in the correct arguments. Stub now does its own vector table
	initialization. Added special procs slot for IO manglers.

	* include/hal_if.h: Define special IDs used by the set procs
	functions. PROCS_HANDLED removed since the procs table will now
	always service any port.

2000-06-21  Nick Garnett  <nickg@cygnus.co.uk>

	* include/hal_stub.h: Added underscore to breakinst().

	* include/hal_tables.h:
	Added this file to contain macros for defining datatables in a
	systematic and extensible way.

2000-06-19  Gary Thomas  <gthomas@redhat.com>

	* cdl/hal.cdl: Revert change below - GUARANTEED can exist
	with STUBS defined.

2000-06-18  Gary Thomas  <gthomas@redhat.com>

	* cdl/hal.cdl: Use of virtual vector functions for diagnostic
	output must be disabled when building with stubs.  Note: this
	lets stubs be built for platforms with guaranteed virtual 
	vector support.

2000-06-16  Jesper Skov  <jskov@redhat.com>

	* include/hal_if.h: All vector-dependant features hidden when
	config option not enabled.

	* src/hal_if.c (hal_if_init): Fix warning.

2000-06-15  Jesper Skov  <jskov@redhat.com>

	* include/hal_if.h: Added console-include decision logic.

2000-06-15  Nick Garnett  <nickg@cygnus.co.uk>

	* src/drv_api.c: 
	* include/drv_api.h: Added boolean result to cyg_drv_cond_wait()
	to match change to the kernel and KAPI functionality.

2000-06-14  Jesper Skov  <jskov@redhat.com>

	* src/hal_stub.c: Added O-packetizer used by GDB stubs for virtual
	vector table configs.

	* src/hal_misc.c (hal_default_isr): Check Ctrlc for both CTRLC
	or BREAK options.

	* src/hal_if.c:
	* include/hal_if.h: 
	Define console wrappers when necessary. Platform HALs can use
	these by providing raw IO functions and some config data.

2000-06-09  Jesper Skov  <jskov@redhat.com>

	* src/hal_if.c: Implemented most of the remaining services. Some
	just don't have an eCos equivalent at the moment.

	* cdl/hal.cdl: Allow virtual_vector options to have sensible
	default values depending on when the platform HAL port was
	written.

	* src/hal_misc.c (cyg_hal_user_break): Also expect CygMon to
	provide the breakpoint service.

	* src/stubrom/stubrom.c (cyg_start): Reverted change. Now handled
	by hal_if_init.

	* cdl/hal.cdl: Added option for controlling use of diag services
	in the virtual vector table.

2000-06-08  Jesper Skov  <jskov@redhat.com>

	* src/stubrom/stubrom.c: Call hal_diag_init to ensure IF table
	entries related to diag IO get initialized.

	* src/hal_stub.c (cyg_hal_gdb_interrupt): save/restore GP so it
	can be used by MIPS platforms.
	Use reset function in ROM if available.

	* src/hal_misc.c: 
	* include/hal_misc.h: Functions shared between HALs. More
	functions are likely to be moved here if appropriate.

	* src/hal_if.c: Interfacing related functions: table init code and
	function wrappers.

	* include/hal_if.h: ROM/RAM calling interface table
	definitions. The layout is a combination of libbsp and vectors
	already in use by some eCos platforms.
	

	* cdl/hal.cdl: Added CYGxxx_HAL_VIRTUAL_VECTOR_SUPPORT
	options. These are used to control whether a platform uses the new
	ROM/RAM calling interface. All platforms will be converted to use
	this, but piecemeal over a period of time, thus the requirement
	for selecting behavior.

2000-06-04  Gary Thomas  <gthomas@redhat.com>

	* cdl/hal.cdl: Support variant 'pkgconf' headers.  This will allow
	[variant] common symbols to be defined, rather than duplicating 
	them over all platforms using that variant.

2000-05-25  Jesper Skov  <jskov@redhat.com>

	* cdl/debugging.cdl: Allow thread support to included for ROM
	monitor builds.

2000-05-22  Jesper Skov  <jskov@redhat.com>

	* cdl/debugging.cdl: Allow platform to prevent CTRLC inclusion.

2000-04-12  Jesper Skov  <jskov@redhat.com>

	* cdl/debugging.cdl: Don't let interfaces define anything.

2000-04-07  Jesper Skov  <jskov@redhat.com>

	* cdl/hal.cdl: Fix dependencies for stub.

2000-03-28  Jesper Skov  <jskov@redhat.com>

	* src/generic-stub.c (__process_packet): Added 'z' packet reply.

2000-03-28  John Dallaway  <jld@cygnus.co.uk>

	* cdl/hal.cdl:

	Adjust documentation URLs.

2000-03-24  Jesper Skov  <jskov@redhat.com>

	* include/hal_stub.h: Fixed a bad function name. Made it opssible
	for archs to define CYG_HAL_GDB_ENTER_CRITICAL_IO_REGION.

2000-03-20  Jesper Skov  <jskov@redhat.com>

	* cdl/debugging.cdl: Preclude USE_MONITOR when including stubs.

2000-03-01  Gary Thomas  <gthomas@cygnus.co.uk>

	* cdl/common.cdl: 
	Define CYGINT_HAL_DIAG_DISABLE_GDB_PROTOCOL_SUPPORTED as an
	'interface' so implementations can be properly specified.

2000-02-29  Gary Thomas  <gthomas@cygnus.co.uk>

	* cdl/common.cdl: Option to disable GDB protocol now supported
	by QUICC based PowerPC systems.

2000-02-29  Jonathan Larmour  <jlarmour@redhat.co.uk>

	* include/generic-stub.h: Make header C++ safe

2000-02-16  Jesper Skov  <jskov@redhat.com>

	* include/hal_stub.h: fixed endian definitions.

2000-02-10  Jesper Skov  <jskov@redhat.com>

	* include/pkgconf/hal.h: Added CYGSEM_HAL_ROM_MONITOR
	* src/hal_stub.c (initHardware): CYG_HAL_STARTUP_STUBS ->
	CYGSEM_HAL_ROM_MONITOR.
	Removed HAL_STUB_PLATFORM_STUBS_INIT.

2000-02-09  Jesper Skov  <jskov@redhat.com>

	* cdl/hal.cdl: Added remaining build dependencies.

2000-02-04  Jesper Skov  <jskov@redhat.com>

	* cdl/hal.cdl: Fix test list display.

2000-02-03  Jesper Skov  <jskov@redhat.com>

	* include/pkgconf/hal.h: CYG_HAL_POWERPC_x->CYGPKG_...

2000-02-03  Jesper Skov  <jskov@redhat.com>

	* cdl/debugging.cdl: Use interfaces for stub capabilities instead
	of exclude list.
	* cdl/hal.cdl: Add extra dependencies to common stub build rule.
	
2000-02-02  Jesper Skov  <jskov@redhat.com>

	* cdl/hal.cdl: Added HAL tests.

2000-01-31 Simon FitzMaurice  <sdf@cygnus.co.uk>
  * cdl/hal.cdl:

  Adjust help URLs in line with new doc layout.

2000-01-28 Simon FitzMaurice  <sdf@cygnus.co.uk>
  * cdl/hal.cdl:

  Adjust help URLs in line with new doc layout.

2000-01-27  Jesper Skov  <jskov@redhat.com>

	* cdl/hal.cdl: Added simple build rules for common stub.

2000-01-26  Jonathan Larmour  <jlarmour@redhat.co.uk>

	* src/hal_stub.c (__reset): Replace CYGDAT_CYGMON_ENABLE
	dependency with just CYGPKG_CYGMON
	(initHardware): Likewise
	(__set_baud_rate): Likewise
	(putDebugChar): Likewise

2000-01-17  John Dallaway  <jld@cygnus.co.uk>

	* cdl/common.cdl,
	  cdl/debugging.cdl:

	Modify the default_value attribute for
	CYGFUN_HAL_COMMON_KERNEL_SUPPORT, CYGPKG_HAL_EXCEPTIONS
	and CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT to do the right
	thing in the absence of the eCos kernel package.

1999-12-22  John Dallaway  <jld@cygnus.co.uk>

	* cdl/hal.cdl:

	Add CFLAGS to the custom rule for extras.o to accommodate
	arm big-endian targets.

1999-12-21  Jonathan Larmour  <jlarmour@cygnus.co.uk>

	* include/pkgconf/hal.h: Rename all CYG_HAL_USE_ROM_MONITOR_GDB_STUBS
	-> CYGSEM_HAL_USE_ROM_MONITOR_GDB_stubs
	Rename all CYG_HAL_USE_ROM_MONITOR_CYGMON -> 
	CYGSEM_HAL_USE_ROM_MONITOR_CygMon
	Rename all CYG_HAL_USE_ROM_MONITOR -> CYGSEM_HAL_USE_ROM_MONITOR
	Don't need to define CYG_HAL_SH_SH7708 any more

	* cdl/hal.cdl: Add CYGPKG_HAL_ROM_MONITOR container package for
	platforms to put ROM-monitor related options into
	Move all ROM-monitor related options into individual platform CDL

1999-12-02  John Dallaway  <jld@cygnus.co.uk>

	* cdl/hal.cdl:

	Use '$<' to reference custom rule dependency.

1999-12-01  John Dallaway  <jld@cygnus.co.uk>

	* cdl/hal.cdl:

	Use the <PREFIX> token in custom rules.

1999-11-29  John Dallaway  <jld@cygnus.co.uk>

	* cdl/hal.cdl:

	Use wildcard in the custom rule for extras.o to
	accommodate 'make -n'.

1999-11-23  Simon Fitzmaurice <sdf@cygnus.co.uk>
	* cdl\common.cdl: Correct example of illiteracy

1999-11-20  Gary Thomas  <gthomas@cygnus.co.uk>
	
	* cdl/common.cdl: Add MMU tables options.

	* include/pkgconf/hal.h (CYGSEM_HAL_INSTALL_MMU_TABLES): 
	(CYGSEM_HAL_STATIC_MMU_TABLES): New options to control MMU table
	flavour and placement.

1999-11-15  Jonathan Larmour  <jlarmour@cygnus.co.uk>

	* include/dbg-threads-api.h, include/generic-stub.h,
	include/hal_stub.h: Add comments to explain these header files should
	not be included by user programs

1999-11-09  Gary Thomas  <gthomas@cygnus.co.uk>

	* cdl/common.cdl: Add CYGDBG_HAL_DIAG_DISABLE_GDB_PROTOCOL.
	
	* include/pkgconf/hal.h (CYGDBG_HAL_DIAG_DISABLE_GDB_PROTOCOL): 
	New option which [explicitly] controls use of GDB protocol
	for diagnostic I/O.

1999-11-03  Jesper Skov  <jskov@cygnus.co.uk>

	* cdl/hal.cdl: More crud out + mn10300 fixes.

1999-11-02  Jesper Skov  <jskov@cygnus.co.uk>

	* cdl/hal.cdl: Cleaned out some of the CPU config entries.

1999-10-29  Gary Thomas  <gthomas@cygnus.co.uk>

	* tests/PKGconf.mak: Add cache tests for Cirrus Logic boards.

1999-10-29  Jesper Skov  <jskov@cygnus.co.uk>

	* tests/cache.c: Made safe for targets with no cache.

	* tests/PKGconf.mak: Don't build cache test for ARM unless
	explicitly enabled.

1999-10-28  Jesper Skov  <jskov@cygnus.co.uk>

	* tests/cache.c: Fix array size.

1999-10-27  Gary Thomas  <gthomas@cygnus.co.uk>

	* src/hal_stub.c: Fix typo (CYGDAT_CYGMON_ENABLE).  Also need
	to include <pkgconf/cygmon.h>

1999-10-27  Gary Thomas  <gthomas@cygnus.co.uk>

	* src/hal_stub.c: Add explicit enable for CygMon package.

1999-10-27  Hugo Tyson  <hmt@cygnus.co.uk>

	* src/hal_stub.c (cyg_hal_gdb_interrupt): Bugfix to previous: ^Cs
	were being ignored when received by the diag output code, because
	there was already a break in place.  Solution is to let
	cyg_hal_gdb_interrupt() override any previous break, and tidy up
	state of course.

1999-10-26  Hugo Tyson  <hmt@cygnus.co.uk>

	* include/hal_stub.h (CYG_HAL_GDB_ENTER_CRITICAL_IO_REGION): Place
	the break at the address of a label within the calling context
	[normally hal_diag_write_char()]; this is neater and more
	portable; it's supported for more targets.  Also use
	cyg_hal_place_break() to place it, define that, &c.

	* src/hal_stub.c (cyg_hal_gdb_place_break): New routine to
	specially handle the inline breakpoint.  It basically does the
	same as cyg_hal_gdb_interrupt(), except on some platforms where
	you must do different things to set a bp from a non-interrupt
	context.

1999-10-25  Gary Thomas  <gthomas@cygnus.co.uk>

	* src/hal_stub.c (putDebugChar, getDebugChar): When building with
	CygMon, these functions are defined by CygMon.

1999-10-26  John Dallaway  <jld@cygnus.co.uk>

	* cdl/hal.cdl:

	Modify custom make rule to specify file paths relative
	to the package version directory.

1999-10-22  Hugo Tyson  <hmt@cygnus.co.uk>

	* include/hal_stub.h (CYG_HAL_GDB_ENTER_CRITICAL_IO_REGION):
	(CYG_HAL_GDB_LEAVE_CRITICAL_IO_REGION): new macros to be invoked
	in hal_diag routines to make atomic the code that outputs a
	complete GDB $O packet.  This is required so that watching
	variables (which is implemented by stepping) and stepping itself
	does not try to ss through that $O output code.  CASE 102327.

	* src/hal_stub.c (cyg_hal_gdb_break_is_set): new routine to query
	whether a break is set: used by step in the stubs to decide to
	continue instead, because we are in a critical region.
	(cyg_hal_gdb_running_step): communication between generic stub and
	here: if set, a step has been converted into a continue, so we do
	NOT obey cyg_hal_gdb_remove_break until it is cleared, in
	handle_exception_cleanup().

	* src/generic-stub.c (__process_packet): If there is a break set
	by the hal_stub.c, convert a step to continue, and set
	cyg_hal_gdb_running_step to say we did so.

1999-10-22  Jesper Skov  <jskov@cygnus.co.uk>
        Case 102379
	* src/generic-stub.c (__handle_exception): Flush and clear caches
	after cleaning up after single-stepping.

	(memcpy, memset): Added to prevent stub hanging if user puts
	breakpoints in either function.

1999-10-19  Nick Garnett  <nickg@cygnus.co.uk>

	* include/pkgconf/hal.h: Added monitor configury for Brother
	board.
	
1999-10-10  Gary Thomas  <gthomas@cygnus.co.uk>

	* src/thread-packets.c (stub_pkt_currthread): Fix typo in comment.

	* src/generic-stub.c: Reorg to expose register get/set functions.

1999-10-08  Simon Fitzmaurice <sdf@cygnus.co.uk>
	* cdl\interrupts.cdl: Quoted '[' and ']' (significant in TCL and thus CDL)

1999-10-08  Jesper Skov  <jskov@cygnus.co.uk>

	* cdl/interrupts.cdl: Added
	CYGIMP_HAL_COMMON_INTERRUPTS_IGNORE_SPURIOUS.

1999-09-22  Simon FitzMaurice <sdf@cygnus.co.uk>

	* cdl\hal.cdl : add priority field to "extras.o" rule

1999-09-21  Gary Thomas  <gthomas@cygnus.co.uk>

	* src/thread-packets.c: Fix some typos in comments.

1999-09-15  Jesper Skov  <jskov@cygnus.co.uk>

	* src/hal_stub.c: Override generic GDB interrupt functions for
	ARM. Need them to be thumb aware. 

1999-09-13  Gary Thomas  <gthomas@cygnus.co.uk>

	* include/pkgconf/hal.h: Add new config option to allow spurious
	interrupts to be ignored by the HAL.

	* src/generic-stub.c (__process_packet): Build in version string
	(date/time) for stubs in ROM to be returned via 'd' packet.

1999-09-09  Jonathan Larmour  <jlarmour@cygnus.co.uk>

	* include/pkgconf/hal.h (CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS): Rename
	CYGPKG_HAL_MN10300_SIM to CYGPKG_HAL_MN10300_AM31_SIM

1999-09-07  Nick Garnett  <nickg@cygnus.co.uk>

	* src/dbg-threads-syscall.c (dbg_currthread_id): Fixed to return
	zero if dbg_currthread() returns false. Previously it could have
	returned a random value which would have made GDB think there had
	been a thread switch when there hadn't. It was particularly prone
	to do this in configurations where the kernel was absent.

1999-09-01  Gary Thomas  <gthomas@cygnus.co.uk>

	* include/pkgconf/hal.h: Always include target and platform package
	include (pkgconf) files.

1999-08-26  Jonathan Larmour  <jlarmour@cygnus.co.uk>

	* src/generic-stub.c (__hex2mem_helper):
	Use target_register_t when casting to address type, rather than long
	Since the compiler can choose arbitrary alignment of unions, force
	to use byte array only
	Restore use of loop termination test for *hexMemSrc, just in case
	since that's how it used to be
	Increment destination, not source at end of loop
	
	(__mem2hex_helper):
	Use target_register_t when casting to address type, rather than long.
	Since the compiler can choose arbitrary alignment of unions, force
	to use byte array only. Therefore use single __read_mem_safe() call
	
	* src/hal_stub.c (__do_copy_mem): Reassign back from dst/src at start
	of each	"if" clause in case we go round the loop again.

1999-08-24  Gary Thomas  <gthomas@cygnus.co.uk>

	* src/hal_stub.c (__do_copy_mem): Move temp variables to top of
	function - potentially safer if there is an error.

1999-08-23  Jonathan Larmour  <jlarmour@cygnus.co.uk>

	* src/generic-stub.c (__process_packet): For 'g' and 'G' packets,
	when the register size differs from sizeof(target_register_t) we must
	adjust according to the endianness 

	* include/hal_stub.h: Ensure __LITTLE_ENDIAN__ is defined on
	little-endian targets

	* src/hal_stub.c (__build_t_packet): Use the correct register sizes
	for PC and SP rather than assuming they are the same as target_register_t

1999-08-23  Gary Thomas  <gthomas@cygnus.co.uk>

	* include/generic-stub.h: Change prototypes for internal functions.

	* src/hal_stub.c (__do_copy_mem): 
	* src/generic-stub.c (__mem2hex_helper): Rework to perform aligned,
	multi-byte operations when conditions allow.  This should handle
	most "hardware register" access cases.  Note: there currently is
	no good way to force GDB to require/use such accesses.

1999-08-17  Jonathan Larmour  <jlarmour@cygnus.co.uk>

	* tests/intr.c (cyg_start): Use CYG_TEST_NA rather than a pass saying
	it's inapplicable

1999-08-16  Jonathan Larmour  <jlarmour@cygnus.co.uk>

	* include/pkgconf/hal.h: Rename CYG_HAL_MN10300_AM32_STDEVAL1 to
	CYG_HAL_MN10300_AM31_STDEVAL1

1999-08-13  Nick Garnett  <nickg@cygnus.co.uk>

	* src/hal_stub.c: Removed superfluous trace() extern.

1999-08-12  Nick Garnett  <nickg@cygnus.co.uk>	

	Imported following changes from AM33 branch:
	
    1999-07-27  Nick Garnett  <nickg@cygnus.co.uk>

	* src/hal_stub.c: Added support for 1 byte breakpoints.
	Removed	invalidates for cache flushes - I am not entirely sure why
	we have these here, since HAL_DCACHE_SYNC() should do what we
	need, and these invalidates are causing a problem on the MIPS and
	MN10300 targets.

	* include/pkgconf/hal.h: Added Monitor selection for AM33.

    1999-06-29  Nick Garnett  <nickg@cygnus.co.uk>

	* include/pkgconf/hal.h: Modified to match new MN10300 HAL
	organization.

1999-08-06  Jesper Skov  <jskov@cygnus.co.uk>

	* src/generic-stub.c (__process_packet): FLush and clear caches
	after call to __single_step.

1999-07-05  Jesper Skov  <jskov@cygnus.co.uk>

	* tests/intr.c: Don't use kernel's RTC definitions.

1999-07-02  Jesper Skov  <jskov@cygnus.co.uk>
        PR20157
	* tests/cache.c: Print stride values, preventing timeout on slow
	targets.

1999-06-28  Jesper Skov  <jskov@cygnus.co.uk>

	* include/pkgconf/hal.h (CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT):
	Fixed parent.

1999-06-24  Jonathan Larmour  <jlarmour@cygnus.co.uk>

	* include/pkgconf/hal.h: Clarify descriptions of
	CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT and
	CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT.

1999-06-17  Nick Garnett  <nickg@cygnus.co.uk>

	* include/pkgconf/hal.h: Added CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT
	to enable inclusion of ^C interrupt handler. Added CDL to control
	it.

1999-06-10  Hugo Tyson  <hmt@cygnus.co.uk>

	* include/pkgconf/hal.h: Add support for the PowerPC target MBX860
	platform, CYG_HAL_POWERPC_MBX.

1999-06-10  Gary Thomas  <gthomas@cygnus.co.uk>

	* src/hal_stub.c: Need to init register pointer.

1999-06-08  Jesper Skov  <jskov@cygnus.co.uk>

	* include/pkgconf/hal.h: Added CYG_HAL_ROM_MONITOR for EDK7708.

1999-05-31  Jesper Skov  <jskov@cygnus.co.uk>

	* src/hal_stub.c: Respect HAL_BREAKINST_SIZE setting.

1999-05-28  Jesper Skov  <jskov@cygnus.co.uk>

	* include/pkgconf/hal.h: Renamed SH platform package to edk7708.

1999-05-28  Nick Garnett  <nickg@cygnus.co.uk>

	* src/hal_stub.c (initHardware): Added call to
	HAL_STUB_PLATFORM_INIT if it is defined.

	* include/pkgconf/hal.h: Added a #undef for CYG_HAL_ROM_MONITOR,
	largely so that a stubrom permutation can define it.

1999-05-27  Nick Garnett  <nickg@cygnus.co.uk>

	* src/hal_stub.c: Do not call HAL_ICACHE_INVALIDATE_ALL() and
	HAL_DCACHE_INVALIDATE_ALL() in __instruction_cache() and
	__data_cache() for MIPS targets. These macros are simply
	duplicates.

1999-05-27  Jesper Skov  <jskov@cygnus.co.uk>

	* tests/cache.c:  Added handling of unified caches.

1999-05-25  Jonathan Larmour  <jlarmour@cygnus.co.uk>

	* tests/cache.c: Use HAL_DCACHE_SYNC if available

1999-05-24  Jesper Skov  <jskov@cygnus.co.uk>

	* include/pkgconf/hal.h: Added CPU specifier for EDK board.

1999-05-21  Jesper Skov  <jskov@cygnus.co.uk>

	* src/hal_stub.c (__install_traps): Set exit vector to __reset.

1999-05-21  Nick Garnett  <nickg@cygnus.co.uk>

	* include/pkgconf/hal.h: Switched VR4300 over to using GDB STUBS
	monitor from PMON.
	
1999-05-21  Jesper Skov  <jskov@cygnus.co.uk>

	* tests/intr.c: Get RTC values from CYGBLD_HAL_PLATFORM_H.
	Ensure there are fallback definitions.

	* src/hal_stub.c (handle_exception_cleanup): Added optional call
	of HAL_STUB_PLATFORM_STUBS_FIXUP macro.

1999-05-18  Jesper Skov  <jskov@cygnus.co.uk>

	* src/hal_stub.c (hal_output_gdb_string): Added missing ;

1999-05-13  Nick Garnett  <nickg@cygnus.co.uk>

	The following changes were all made on a branch and imported into
	the main trunk later.
	
    1999-05-11  Nick Garnett  <nickg@cygnus.co.uk>

	* include/pkgconf/hal.h:
	tidied up all MIPS targets to include CYGBLD_HAL_TARGET_H. This
	will eventually apply to all configurations.

    1999-05-06  Nick Garnett  <nickg@cygnus.co.uk>

	* src/PKGconf.mak (COMPILE): Added dbg-threads-syscall.c.

	* include/dbg-thread-syscall.h: 
	* src/dbg-threads-syscall.c:
	Files added to enable support for thread-awareness in GDB stub
	ROMs. The .h file has been moved from kernel/src/debug.

    1999-04-28  Nick Garnett  <nickg@cygnus.co.uk>

	* src/hal_stub.c (__build_t_packet): Changed sp variable to a
	non-pointer type to force it to be installed in the T packet with
	the right size.

	* src/drv_api.c: Added cyg_interrupt_call_pending_DSRs() to keep
	HAL happy in non-kernel configurations.

    1999-04-21  Nick Garnett  <nickg@cygnus.co.uk>

	* include/pkgconf/hal.h:
	Added VR4300 configury for ROM monitor use and inclusion of
	variant-specific configuration header. This needs some further
	tidying up.
	
1999-04-28  Bart Veer  <bartv@cygnus.co.uk>

	* src/PKGconf.mak:
	Use the new rules for generating libextras.a

1999-04-27  Jesper Skov  <jskov@cygnus.co.uk>

	* include/pkgconf/hal.h: GDB_BREAK support now available for ARM
	targets.

1999-04-16  Bart Veer  <bartv@cygnus.co.uk>

	* src/PKGconf.mak: 
	* src/dummy.c:
	New file that can always be added to libextras.a without
	affecting image sizes.

1999-04-14  Jonathan Larmour  <jlarmour@cygnus.co.uk>

	* include/hal_stub.h: 
	Make sure all functions have C linkage even in C++

1999-04-14  Jesper Skov  <jskov@cygnus.co.uk>
        PR 19845
	* src/generic-stub.c (__process_packet): Reset _register pointer
	to the exception state before attempting to set up single-step
	magic.

1999-04-14  Jesper Skov  <jskov@cygnus.co.uk>

	* include/hal_stub.h: Added declaration for __stub_copy_registers.

1999-04-14  Jesper Skov  <jskov@cygnus.co.uk>

	* src/hal_stub.c: Use HAL_xCACHE_IS_ENABLED if defined.

1999-04-09  Jesper Skov  <jskov@cygnus.co.uk>

	* src/hal_stub.c:
	Moved get_register and put_register here. Made them access the
	currently selected register set.

1999-03-22  Jonathan Larmour  <jlarmour@cygnus.co.uk>

	* include/dbg-threads-api.h: Update copyright

	* src/generic-stub.c: Change Cygnus Support->Cygnus Solutions

	* src/thread-packets.c: Update copyright

	* src/thread-pkts.h: Update copyright

1999-03-19  Nick Garnett  <nickg@cygnus.co.uk>

	* tests/cache.c: Added interrupt disable and enable to cache state
	change blocks, in line with similar changes to kcache1.

1999-03-17  Jesper Skov  <jskov@cygnus.co.uk>

	* src/hal_stub.c (hal_output_gdb_string): Use disable/restore
	macros to make sure it works even when interruptible() is a NOP
	function.

1999-03-10  Nick Garnett  <nickg@cygnus.co.uk>

	* include/pkgconf/hal.h:
	Changed include of hal_tx39_jmr3904.h to hal_tx39.h.

1999-03-05  Nick Garnett  <nickg@cygnus.co.uk>

	* include/drv_api.h: 
	* src/drv_api.c:
	Fixed some typos in non-kernel configuration support.

1999-03-04  Jesper Skov  <jskov@cygnus.co.uk>
        PR 19367
	* include/pkgconf/hal.h: Exclude GDB stubs on sparc.

1999-02-26  Jesper Skov  <jskov@cygnus.co.uk>

	* src/generic-stub.c: 
	* include/generic-stub.h: 
	Added binary download patches from libstub.
	
1999-02-25  Nick Garnett  <nickg@cygnus.co.uk>

	* include/drv_api.h:
	* src/drv_api.c: 
	Added these files to define driver API.

1999-02-23  Nick Garnett  <nickg@cygnus.co.uk>

	* include/pkgconf/hal.h:
	Added include of <pkgconf/hal_tx39_jmr3904.h> to get TX39 speed
	configuration options.

1999-02-20  Jonathan Larmour  <jlarmour@cygnus.co.uk>

	* tests/intr.c: 
	Rename CYGNUM_VECTOR_RTC -> CYGNUM_HAL_INTERRUPT_RTC in line with
	HAL changes

1999-02-17  Jesper Skov  <jskov@cygnus.co.uk>

	* src/hal_stub.c: 
	* src/generic-stub.c (__handle_exception): 
	Only include cyg_hal_gdb_break magic when stub is configured to
	handle GDB BREAK signals.

1999-02-17  Jesper Skov  <jskov@cygnus.co.uk>

	* src/generic-stub.c (__handle_exception): Moved special signal
	handling here to avoid duplication for all architectures.

1999-02-16  Jesper Skov  <jskov@cygnus.co.uk>

	* src/stubrom/stubrom.c: Changed set_debug_traps to initialize_stub.

	* include/hal_stub.h: [added]
	* include/generic-stub.h:
	* src/hal_stub.c:     [added]
	* src/board.h:        [added]
	* src/thread-pkts.h: 
	* src/thread-packets.c: 
	* src/generic-stub.c: 
	* src/PKGconf.mak: 
	Merged in latest libstub changes. Moved most eCos specific changes
	into hal_stub.[ch], reducing effort required for further
	merging/integration.

1999-02-05  Jesper Skov  <jskov@cygnus.co.uk>

	* include/pkgconf/hal.h: Cleaned up the MPC8xx configuration.

1999-01-29  Jesper Skov  <jskov@cygnus.co.uk>

	* include/pkgconf/hal.h: Added simple MPC8xx configuration.

1999-01-26  Hugo Tyson  <hmt@cygnus.co.uk>

	* tests/cache.c (time0): Waste much less time if running in a
	simulator.  Do only 40 loops instead of 4000.
	In consequence the nasty meddling with MAX_STRIDE depending on
	HAL_xxx_SIM package definitions can go.
	
1999-01-22  Jesper Skov  <jskov@cygnus.co.uk>

	* include/pkgconf/hal.h: Renamed CYG_HAL_POWERPC_FADS to
	CYGPKG_HAL_POWERPC_FADS.

1999-01-21  Jonathan Larmour  <jlarmour@cygnus.co.uk>

	* include/pkgconf/hal.h:
	Tidy up and update description
	Add new CYGSEM_HAL_STOP_CONSTRUCTORS_ON_FLAG option to allow default
	priority static constructors to be deferred
	Remove all traces of non-CYG_KERNEL_USE_INIT_PRIORITY code
	
1999-01-21  Jesper Skov  <jskov@cygnus.co.uk>
        Merge with FADS branch.
	
        1998-12-17  Jesper Skov  <jskov@cygnus.co.uk>

	* include/pkgconf/hal.h: Don't allow GDB BREAK support on FADS.
	Define _MPC860, not _MP860.

        1998-12-17  Jesper Skov  <jskov@cygnus.co.uk>

	* include/pkgconf/hal.h:
	Added FADS entry from Kevin Hester <KHester@opticworks.com>.

	1999-01-19  Hugo Tyson  <hmt@cygnus.co.uk>

	* include/pkgconf/hal.h: 
	Add CYG_KERNEL_USE_INIT_PRIORITY for SPARCLITE.

1999-01-18  Jesper Skov  <jskov@cygnus.co.uk>
        PR 18823
	* include/pkgconf/hal.h: Don't allow GDB stubs to be configured
	for Linux target.

1999-01-18  Jesper Skov  <jskov@cygnus.co.uk>
	PR 18822
	* include/pkgconf/hal.h: GDB_BREAK support not available for ARM
	targets.
	
1999-01-14  Gary Thomas  <gthomas@cygnus.co.uk>

	* src/stubrom/PKGconf.mak: Rename 'TESTS' to 'PROGS' due to 
	changes in 'makrules.prv'.

1999-01-14  Jesper Skov  <jskov@cygnus.co.uk>

	* src/stubrom/stubrom.c (cyg_start): Fix compiler warning.

	* include/dbg-threads-api.h: Include cyg_type.h to get externC
	definition.

1999-01-14  Nick Garnett  <nickg@cygnus.co.uk>

	* include/dbg-threads-api.h: Added prototype for dbg_scheduler().

1999-01-13  Gary Thomas  <gthomas@cygnus.co.uk>

	* src/generic-stub.c (__output_hex_value): Change buffer size
	[2048 was rather large] and make stack based.  Also don't
	allow for string to exceed buffer.

1999-01-13  Jesper Skov  <jskov@cygnus.co.uk>

	* src/generic-stub.c (strcpy): Terminate copied string.

1999-01-11  Jesper Skov  <jskov@cygnus.co.uk>

	* tests/intr.c (CYGNUM_KERNEL_COUNTERS_RTC_PERIOD): Added RTC data
	for Linux.

Wed Dec  9 14:07:30 GMT 1998  Chris Provenzano  <proven@cygnus.com>

	* include/pkgconf/hal.h: Compile the i386 linux target with
	CYG_KERNEL_USE_INIT_PRIORITY defined.

1999-01-04  Jesper Skov  <jskov@cygnus.co.uk>

	* src/generic-stub.c (interruptible): Cleaned up a bit.

1999-01-04  Jesper Skov  <jskov@cygnus.co.uk>
	PR 18572

	* tests/cache.c: Purge data cache before invalidating it.

1998-12-09  Gary Thomas  <gthomas@cygnus.co.uk>

	* src/generic-stub.c: Better handling of errors while stubs
	are accessing memory on behalf of GDB.  Requires support for
	GCC 'computed goto label' in top-level exception handler.

1998-12-09  Jesper Skov  <jskov@cygnus.co.uk>

	* include/pkgconf/hal.h: Removed the
	CYGARC_HAL_COMMON_EXPORT_CPU_MACROS option. Causing failures in
	permutation tests.

1998-12-07  Jesper Skov  <jskov@cygnus.co.uk>

	* src/generic-stub.c (process_exception): Send an acknowledge char
	on first entry so GDB doesn't timeout before resending its initial
	packet.

1998-11-26  Jesper Skov  <jskov@cygnus.co.uk>

	* include/pkgconf/hal.h: Added
	CYGARC_HAL_COMMON_EXPORT_CPU_MACROS.

1998-11-23  Jesper Skov  <jskov@cygnus.co.uk>

	* tests/cache.c: Only run with stride 1 on SIMs.

1998-11-23  Jesper Skov  <jskov@cygnus.co.uk>

	* include/pkgconf/hal.h: Define SIM as a 603 CPU.

1998-11-19  Jesper Skov  <jskov@cygnus.co.uk>

	* tests/intr.c:
	Make the test do nothing if kernel real-time clock is enabled.
	Added different timer constants for PPC SIM and HW.

1998-11-17  Jesper Skov  <jskov@cygnus.co.uk>

	* tests/intr.c: 
	* include/pkgconf/hal.h:
	Renamed CYG_HAL_POWERPC_MP860 to CYG_HAL_POWERPC_MPC860.
	
1998-11-04  Jesper Skov  <jskov@cygnus.co.uk>

	* include/pkgconf/hal.h: Made CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT a
	sub-option of CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS.

1998-11-16  Jesper Skov  <jskov@cygnus.co.uk>

	* include/pkgconf/hal.h: Allow GDB stubs to be configured for
	MN10300 HW. Allow GDB_BREAK for all but tx39.

1998-11-04  Jesper Skov  <jskov@cygnus.co.uk>

	* include/pkgconf/hal.h: Made CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT a
	sub-option of CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS.

1998-11-04  Jesper Skov  <jskov@cygnus.co.uk>

	* src/generic-stub.c (process_packet): Flush D cache before
	invalidating I cache.

1998-11-02  Jesper Skov  <jskov@cygnus.co.uk>

	* src/generic-stub.c (__handle_exception): Check for breakpoints
	set by GDB interrupt handler.

1998-10-25  Jesper Skov  <jskov@cygnus.co.uk>

	* src/thread-packets.c: Fixed closing #endif comment.

	* src/generic-stub.c: Fixed closing #endif comment.

1998-10-23  Jesper Skov  <jskov@cygnus.co.uk>

	* src/hal_common.c: Removed. We can't use weak default functions
	when they may conflict with strong functions in the library.

1998-10-23  Jesper Skov  <jskov@cygnus.co.uk>

	* include/generic-stub.h: Added __interruptible_control.

1998-10-23  Jesper Skov  <jskov@cygnus.co.uk>
        PR 17460, PR 17913

	* include/pkgconf/hal.h: Let HAL exception support require Kernel
	exception support.

1998-10-21  Jesper Skov  <jskov@cygnus.co.uk>
        PR 17842

	* include/pkgconf/hal.h: Let HAL GDB thread support require Kernel
	GDB thread support.

1998-10-20  Jesper Skov  <jskov@lassi.cygnus.co.uk>
        PR 17460

 	* src/hal_common.c: Added. Includes a weak handle_exception
 	definition.

1998-10-20  Jesper Skov  <jskov@cygnus.co.uk>
        PR 17885, 17880, 17841

	* include/pkgconf/hal.h: Don't allow GDB stubs to be configured
	for SIMs or MN10300.

1998-10-19  Jesper Skov  <jskov@lassi.cygnus.co.uk>

	* src/thread-packets.c: Sync'd with libstub source.

1998-10-16  Bart Veer  <bartv@cygnus.co.uk>

	* include/pkgconf/hal.h (CYGNUM_HAL_COMMON_INTERRUPTS_STACK_SIZE):
	Added new configuration option for interrupt stack size.

Thu Oct 15 21:25:55 1998  Jonathan Larmour  <jlarmour@cygnus.co.uk>

	* include/pkgconf/hal.h: 
	Make CYGFUN_HAL_COMMON_KERNEL_SUPPORT require the kernel, as it
	is enabling this is eCos-kernel specific, and relies on 
	configuration options defined only in the kernel
	Required for PR 17229

1998-10-15  Jesper Skov  <jskov@cygnus.co.uk>

	* include/pkgconf/hal.h (CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT):
	Added config option.

1998-10-14  Nick Garnett  <nickg@cygnus.co.uk>

	* include/pkgconf/hal.h:
	Move some configury from kernel.h to here. Particularly the
	support for GDB stubs.

	* tests/cache.c: 
	* tests/context.c: 
	* tests/intr.c: 
	* tests/PKGconf.mak:
	New directory of HAL-only test programs. Currently contains some
	very basic test programs.

	* include/generic-stub.h:
	* include/dbg-threads-api.h:
	* src/generic-stub.c:
	* src/thread-packets.c: 
	* src/thread-pkts.h: 
	* src/stubrom/PKGconf.mak: 
	* src/stubrom/stubrom.c: 
	Moved these files here from kernel.

1998-10-08  Gary Thomas  <gthomas@penang.cygnus.co.uk>

	* include/pkgconf/hal.h: 
	Add support for new architecture.

1998-09-23  Nick Garnett  <nickg@cygnus.co.uk>

	* include/pkgconf/hal.h:
	Switched TX39 over to using CYGMON from GDB stubs.

Tue Sep 15 19:13:04 1998  David Moore  <dsm@keema.cygnus.co.uk>

	* include/pkgconf/hal.h: Cleaned up comments.

Mon Sep 14 11:08:26 1998  Jesper Skov  <jskov@lassi.cygnus.co.uk>
        PR 17230

	* include/pkgconf/hal.h: Added IMP_HAL_COMMON_INTERRUPTS_CHAIN
	option.

1998-09-14  Bart Veer  <bartv@cygnus.co.uk>

	* include/pkgconf/hal.h:
	Fixed typo in description.

1998-09-12  Bart Veer  <bartv@cygnus.co.uk>

	* include/pkgconf/hal.h:
	Sort out exception handling options (PR 16953)
	Added missing descriptions (PR 17184)

Tue Sep  8 17:16:39 1998  Hugo Tyson  <hmt@cygnus.co.uk>

	* include/pkgconf/hal.h: 
	Elide some spurious redefines of CYG_HAL_MN10300_STDEVAL1 and
	CYG_HAL_MN10300_SIM within ifdefs conditioned on same.

1998-09-03  Bart Veer  <bartv@cygnus.co.uk>

	* include/pkgconf/hal.h:
	CYGPKG_HAL_COMMON is now a component, not a package.

1998-09-02  Bart Veer  <bartv@cygnus.co.uk>

	* include/pkgconf/hal.h:
	Moved target and platform specific configuration data to
	the appropriate packages.
	
	Symbols identifying the target hardware should be just defined,
	not given a value, as per the coding standards.

Mon Aug 31 09:16:08 1998  Jesper Skov  <jskov@cygnus.co.uk>

	* include/pkgconf/hal.h: Added INIT_PRIORITY default setting for
	powerpc.

1998-08-28  Bart Veer  <bartv@cygnus.co.uk>

	* include/pkgconf/hal.h:
	Added configuration data.

1998-08-20  Nick Garnett  <nickg@cygnus.co.uk>

	* include/pkgconf/hal.h:
	Moved definition of CYG_KERNEL_USE_INIT_PRIORITY here from
	kernel.h.

1998-08-18  Nick Garnett  <nickg@cygnus.co.uk>

	* include/pkgconf/hal.h:
	Created this file to contain HAL config options.

//===========================================================================
// ####GPLCOPYRIGHTBEGIN####                                                
// -------------------------------------------                              
// This file is part of eCos, the Embedded Configurable Operating System.   
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2010, 2011 Free Software Foundation, Inc.
//
// This program is free software; you can redistribute it and/or modify     
// it under the terms of the GNU General Public License as published by     
// the Free Software Foundation; either version 2 or (at your option) any   
// later version.                                                           
//
// This program is distributed in the hope that it will be useful, but      
// WITHOUT ANY WARRANTY; without even the implied warranty of               
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU        
// General Public License for more details.                                 
//
// You should have received a copy of the GNU General Public License        
// along with this program; if not, write to the                            
// Free Software Foundation, Inc., 51 Franklin Street,                      
// Fifth Floor, Boston, MA  02110-1301, USA.                                
// -------------------------------------------                              
// ####GPLCOPYRIGHTEND####                                                  
//===========================================================================