1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946
|
/*
* Cisco router simulation platform.
*/
15-Aug-2005, the project is starting.
18-Aug-2005
-----------
- Added support for: sll, addu/subu.
- Fixed bugs with b... branch instructions (bad computation of new pc).
- Added patch recording for blocks.
- A sequence of MIPS instructions (without memory access instructions)
from IOS was successfully run ! (need to check correctness).
22-Aug-2005
-----------
- Implemented a basic memory subsystem with an mmaped file.
- Added memory access instructions (lb,lbu,lh,lhu,lw,lwu,ld,sb,sh,sw,sd).
- Added a cross-compiled test program.
23-Aug-2005
-----------
- Fixed slti, sltiu, slt instructions.
- Fixed memory endianness.
- Fixed host memory addressing (bad haddr computation).
24-Aug-2005
-----------
- Added a generic memory address lookup function.
- Added a minimal ELF loader.
28-Aug-2005
-----------
- ELF loader now loads files page per page.
- Added device support (with RAM support).
- Added MTS32 support for mapping of 4 Kb pages.
- Added MTS32 support for device mapping in kernel mode and generic
virtual to physical mapping (preparation for TLB).
- Added a dummy console driver.
- Added mult,multu,div,divu instructions.
29-Aug-2005
-----------
- Added a Red-Black trees module.
- Block locator uses RB tree module.
- It is now possible to run a program with multiple functions!
- ELF loader now support multiple program headers and entry point is
now used.
- Fixed x86 buffer adjustment.
- Modified console to be at the same address than c7200 DUART (to test
microcode).
- Memory access functions now update PC.
- Added sra, srl, sllv, srlv, srav instructions.
30-Aug-2005
-----------
- Added dsrl32, dsll32, dsra, dsrav, dsra32 instructions.
- Added bgtz, blez, bgez instructions.
- Fixed sltu instruction.
- ELF Entry point is now sign-extended.
- Added blezl, bgtzl instructions.
- Fixed the MIPS scanner to use unsigned 64-bits integers for addresses.
- Added unknown opcode management (basic, it just print the unhandled
opcode value and continues).
- Added cache instruction.
- Added bltzal, bltzall, bgezal, bgezall instructions.
31-Aug-2005
-----------
- Added System coprocessor (CP0) definitions.
- Added tlbr instruction.
- Added basic tlbwi instruction (doesn't change the MTS mappings now).
- Added dmfc0, dmtc0, mfc0, mtc0 instructions.
- Added TLB dump functions.
- Added dummy pref/prefi instructions.
- Added basic exception trigger.
- Added syscall, break instructions.
01-Sep-2005
-----------
- Fixed exception trigger.
- Added dmfc1, dmtc1, mfc1, mtc1, sdc1 instructions.
- Fixed the break instruction.
- Modified the memory handling to be more friendly with instructions
like sdc1 and for more safety in case of badly written device drivers.
- Added ldc1 instruction.
02-Sep-2005
-----------
- Fixed sltiu/sltu instructions that were doing signed comparisons
instead of unsigned comparisons (mis-use of jit).
- Added lwr/lwl, swr/swl, ldl/ldr, sdr/sdl, ll/sc instructions
(not tested).
- Added PCI bus management.
- Added GT64010 (PCI controller) device.
- Added DEC 21050 (PCI bridge) device.
- Added NVRAM.
03-Sep-2005
-----------
- Beginning of work on IRQs.
04-Sep-2005
-----------
- Timer IRQ should be OK.
- Added C7200 bay management and Midplane FPGA.
- Fixed the JR instruction which was broken in a case like that:
lwu k1,0(k1)
jr k1
move k1,zero
05-Sep-2005
-----------
- Fixed jalr (as jr) instruction.
- Added RAM "aliasing".
- Added SRAM management.
- Fixed NVRAM size.
- Fixed ldr, swl/swr instructions.
- Added c7200 IOcard.
- Count register is now properly handled.
- Added basic functions to set/clear interrupts.
- Modified the console driver to trigger DUART interrupt.
- IOS now starts!
06-Sep-2005
-----------
- Added "move" virtual instruction. It correspond to "addu" with rt=0.
Here it avoids an useless add.
- Added b/bal virtual instructions.
- Packed NVRAM.
08-Sep-2005
-----------
- Added Dallas DS1620 temperature sensors.
- Added voltage sensors.
- Power supplies are now faked.
- IOS Environmental Monitor doesn't try to shutdown the router anymore!
- Device list is now displayed at startup.
18-Sep-2005
-----------
- Added Address Error Load/Save, TLB Load/Save exceptions.
TODO: Branch Delay Slot management.
- Modified the default value in config register in CP0 to set appropriate
cache sizes. Now it is possible to boot compressed images directly!
- Added the teq/teqi instructions.
- Hmm, seen some IOS images (k9?) that seem to use the FPU (CP1). This
does not prevent the image to boot, but some features will probably
be not functional.
19-Sep-2005
-----------
- Tweaked the console driver to generate a dummy interrupt. It avoids
the console problems.
- Fixed the serial driver mueslix PCI vendor/device code.
- The midplane FPGA now returns voltages based on virtual PA EEPROM
presence. Up to 6 PA-8T were successfully emulated!
20-Sep-2005
-----------
- Included amd64-codegen.h with a (near empty) translator.
- Some code factorization.
21-Sep-2005
-----------
- Added CPU state save/restore on disk.
- Sending SIGQUIT to the process dumps the MIPS64 VM state on disk.
(only CPU state is saved for now).
Device state is not saved, so this does not work with booted IOS images
for now (it works for an IOS image being self-decompressing, though).
- Some code cleanups.
23-Sep-2005
-----------
- Fixed "Dirty" bit in TLB entries.
- Extended the number of TLB entries from 48 to 64.
- Added tlbp instruction.
- Modified the nmc93c46 eeprom driver to allow more than 32 bytes reading.
24-Sep-2005
-----------
- Added a symbol table loader.
26-Sep-2005
-----------
- Added support for writing in PCI registers
- Added a RAW file loader.
- Added "add" instruction (without exception support).
07-Oct-2005
-----------
- Continued work on SMP support.
08-Oct-2005
-----------
- Replaced memory operations with fastcalls instead of asmlinkage functions.
- Continued work on SMP support. Now it should be complete, except for
LL/SC instructions.
10-Oct-2005
-----------
- A lot of work on amd64 jit compiler.
- The memory management should be 64-bit compliant now.
17-Oct-2005
-----------
- Fixed a bug in SRA instruction in amd64 jit code. Dynamips is now working
on amd64!
26-Oct-2005
-----------
- Created a virtual device giving the VM parameters.
- Added command line parsing (patch from Nicolas Szalay).
- Fixed ERET instruction (LLbit clearing was lacking).
- Fixed BREAK instruction (x86/amd64).
- Fixed 2 GB limit for log file.
- Fixed clobbered registers in x86 translation.
28-Oct-2005
-----------
- Added a non-JIT mode (not completely working now)
- Added "-j" flag on the command line to disable JIT.
- Fixed some stupid bugs in shift operations.
31-Oct-2005
-----------
- Thanks to the great help of mtve, we have a working DEC21140 Ethernet
driver and now the virtual C7200 can see the real world!!!
01-Nov-2005
-----------
- Beginning of a NETIO module to handle network I/O with external world.
- Studied (a bit) the PA-8T controller on a real router.
- It is now possible to set the base MAC address of the router
using the "-m" flag.
- Improved logging
- The dec21140 code is generalized and it is now possible to have a
PA-FE-TX in any slot.
02-Nov-2005
-----------
- Fixed some problems with the NVRAM when it is empty ;
- Added a "net_io.c" module that is an abstraction layer
for network communications (TAP, Unix sockets...)
- Added the "virtual" MIPS "li" instruction which
is in fact "addiu reg,zero,value". This permits to have
a more optimized JIT code.
- Code factorization in the DEC21140 module.
- mtve (aka "Mtv Europe") sent a patch for much better console handling,
merge is planned on 03-Nov.
- Added a "PA driver" framework.
03-Nov-2005
-----------
- The console is better handled: special keys are working, and there
is a FIFO buffer to avoid character loss (added a "dev_vtty.c" module).
- Merging with Mtve patch, that cleans NETIO module and adds features
to the console.
- Added a clock divisor hack, but it is not completely working.
todo: implement a command line option for this.
08-Nov-2005
-----------
- Mtve added tcp client/server NETIO.
- The clock divisor is now working! It is set by the "-k" command line
option.
- Fixed the csr5 register handling in DEC21140 driver code.
13-Nov-2005
-----------
- A lot of cosmetic changes from Mtve.
- Modified the infrastructure to allow the use of CPU groups
that share a certain number of devices (per-CPU device array).
All device drivers have been modified to handle this.
- Took a look at LSI ATMizer II+, which is the circuit used on
PA-A3-OC3 boards. The ATMizer is based on a MIPS CPU, so it should
be possible to emulate it.
- Added a per-CPU dedicated thread.
23-Nov-2005
-----------
- The PA-A1 ATM stuff is working!!!
24-Nov-2005
-----------
- Fixed a bug in the PA-A1 driver in TX buffer chaining.
25-Nov-2005
-----------
- Address bus masking, which clears bits 32 and 33 of physical addresses.
It avoids the use of device aliasing.
- Fixed the DEC21140 TX part which was incomplete.
29-Nov-2005
-----------
- There are still bugs in big packet forwarding. This is probably the ATM
driver (added more debugging info).
- Fabien Devaux wrote a README explaining the command line options.
30-Nov-2005
-----------
- Code cleanup in the net_io module.
- Added the "ptask" (periodic tasks) module, this is mainly for TX ring
scanning of network devices.
01-Dec-2005
-----------
- Added a memory logger (FIFO of 10 accesses), this was useful to debug the
PA-A1 RX problem.
- Fixed a RX buffer chaining problem in PA-A1.
02-Dec-2005
-----------
- Added support for PA-A1 reset ("clear int", "shut/no shut").
- Optimized the IRQ handling (irq_pending flag in CPU structure
is used as a "cache").
05-Dec-2005
-----------
- Optimized the cp0 count/compare process for the x86_64 platform
(unfortunately, this doesn't work for the x86 platform).
06-Dec-2005
-----------
- Modified the NVRAM handling to allow calendar emulation ("sh calendar" is
now working).
12-Dec-2005
-----------
- Added support for the NPE-400.
- Playing with the PA-POS-2OC3 (called "Charlotte" by Cisco).
15-Dec-2005
-----------
- Added teq/teqi instructions to the x86_64 jit.
20-Dec-2005
-----------
- Added a Virtual ATM switch fabric to emulate an ATM backbone.
22-Dec-2005
-----------
- Final release for 0.2.2 train (0.2.2i).
23-Dec-2005
-----------
- Starting 0.2.3 train (0.2.3a)
- Added proper NPE-150 support.
- Added bit-bucket support (zeroed memory zone).
- Added NPE type selection.
24-Dec-2005
-----------
- Added beginning of support for NPE-300 (endianness problems with PCI
controllers ?)
28-Dec-2005
-----------
- Fixed the endianness problem with the NPE-300.
- Added NPE300-IO-FE.
31-Dec-2005
-----------
- Added CLI option to load a symbol file.
- Moved JIT code from dynamips.c to mips64_jit.c
- Added support for NPE-100.
- Updated the README file for NPE type selection.
- Suppressed the annoying message "%%Error: Unrecognized I/O card in bay 0"
03-Jan-2006
-----------
- The bit clearing in physical addresses was done stupidly.
Only the bit 33 is used to bypass L2 caching.
Re-introduced SRAM aliasing.
PHY address 0x100000000 is in fact for PCI I/O space.
- Began to play with the Cirrus Logic PD6729.
- Added Bootflash based on Intel 28F008SA chips (1 Mb)
- Fixed the alignment error occuring with "show version".
04-Jan-2006
-----------
- Better understanding of Flash SIMM register with bank number and bank
size: modified the Flash SIMM code to handle a 8 Mb flash in 1 bank
(emulation of Intel 28F016SA chip) which should be sufficient to store
crashinfo files or misc files like configs,...
- Added ROM remote logging capabilities (with remote emulator control).
05-Jan-2006
-----------
- Integrated HEC and AAL5 field computation functions found at:
http://cell-relay.indiana.edu/cell-relay/publications/software/CRC/
(Author is Charles Michael Heard).
- Added HEC field management to the virtual ATM switch fabric.
- Added HEC and AAL5 CRC fields to the TX part of the TNETA1570 driver.
06-Jan-2006
-----------
- Added block timestamping, to evaluate use of JIT blocks and eventually
enhance algorithm of block classifying.
- Added a flag to the virtual devices to prevent use of MMAPed zones
by MTS (used by NVRAM driver).
- Added functions to extract IOS configuration from NVRAM.
Pressing "Ctrl-] + c" nows write configuration to disk at any time.
08-Jan-2006
-----------
- Added support for PEM (NPE-B) EEPROM. It will probably allow support
of NPE-175/NPE-225.
09-Jan-2006
-----------
- Added support for NPE-175/NPE-225 and added NPEB-IO-FE.
10-Jan-2006
-----------
- Enhancements to the remote console over TCP port.
- Port to the Cygwin environment, allowing the emulator to run on Windows
machines!
11-Jan-2006
-----------
- Added a feature to push an IOS configuration into NVRAM ("-C" command line
option).
- Added enhanced checks to the NVRAM config export.
- Added a variant of udp_connect() function for systems that do not support
RFC 2553.
- Added support for AUX port (TCP port).
12-Jan-2006
-----------
- Better memory logger.
- Added breakpoint capabilities.
- Fixed a segfault occuring on some IOS images with x86_64 JIT.
(modified the minimum remaining size in JIT buffer adjustment).
13-Jan-2006
-----------
- The ROM is now embedded in the source code (added an utility to convert
ELF file to C code). It is possible to use an alternate ROM using the
"-R" option.
- Enhanced the MTS lookups to allow use of embedded ROM for code execution.
15-Jan-2006
-----------
- Added PCI I/O space management.
- Added a fake Cirrus Logic PD6729 PCI-to-PCMCIA host adapter.
- Cleanups in NPE initialization code.
- Fixed some bridge problems with the NPE-300.
- Code factorization in the C7200 initialization module.
- Generalization of C7200-IO-FE driver for all NPE types.
- Added Fault History support.
- Added chassis selection (standard or VXR)
- Finally found the bug in the non-jit emulation code! It was a cast problem
in mult/multu instructions.
16-Jan-2006
-----------
- Added generic hash tables.
- Added "instruction lookup tables" (ILT), which greatly improve performance
of non-JIT mode.
- Added instruction statistics for the non-JIT mode ("Ctrl-] + j")
17-Jan-2006
-----------
- Added a port for non-x86 hosts. The emulator ran successfully on a
Tru64 Unix box (Alpha CPU)! It should also be able to compile and run
on MacOS X (PowerPC).
24-Jan-2006
-----------
- Added support for DMA channels on Galileo GT64k controllers since it seems
that they may be used by IOS (NPE-400 for sure, other NPE?).
25-Jan-2006
-----------
- Added Linux Raw Ethernet driver to the NetIO infrastructure.
- Hmm, I'm probably missing something in the DMA/SRAM interaction and
endianness...
26-Jan-2006
-----------
- The DMA problem is finally fixed, in fact the SRAM can be accessed with
byte-swapping.
- Added an unicast limiter to the DEC21140, to receive only trafic directed
to the virtual machine (+ multicast/broadcast). This is done by analyzing
the setup frames (MAC address filter).
27-Jan-2006
-----------
- The Linux Raw Ethernet driver needs promiscuous mode to be enabled to
receive appropriate packets, added the required code.
- Added endianness definitions, and replaced hton[sl]/ntoh[sl] by the new
definitions (for exchanges between VM and host).
28-Jan-2006
-----------
- Added parser infrastructure.
29-Jan-2006
-----------
- Added a virtual bridge system.
- Release 0.2.3b
31-Jan-2006
-----------
- Fixed a stupid bug in DMA handling, which in certain conditions can
cause an infinite loop.
01-Feb-2006
-----------
- Added an "instruction block hash" which avoids lookups in the instruction
red-black tree. The IBH table takes only 16 Kb of memory.
- Added CRC-12 and CRC-16 functions for future use.
- Added a "gen_eth" NetIO driver, which allow to access ethernet interfaces
in a portable way (tested on Linux and Cygwin).
- Fixes to the PowerPC build on Darwin thanks to Olivier Cahagne.
- Minor cosmetic changes to display supported/unsupported PA and NPE.
- Release 0.2.3c
06-Feb-2006
-----------
- Added working Serial interfaces (PA-4T+) !
- Bug: CDP not working with serial interfaces ("debug cdp events" reports
a checksum problem).
07-Feb-2006
-----------
- Started the 0.2.4 release.
- Modified the command line parser to allow many NIO per PA (for example
for serials).
- A lot of code cleanups in the C7200 initialization.
- Added PA-8T support.
- To fix: CDP with Serial interfaces: using cp_len (instead of cp_len+4)
in packet rx fixes the problem but breaks IP. Probably something related
to padding, see how a CDP packet is sent (special flag in tx ring ?)
- Added virtual "beqz" instruction.
- Added the "-X" option, allowing to use host memory directly instead of
mapping a file to simulate RAM (faster).
- Beginning of code reorganization to allow multiple instance contexts.
08-Feb-2006
-----------
- Added a basic virtual Frame-Relay switch. Unfortunately, LMI must be
implemented to maintain links up.
- Finally found the problem related to CDP! It was simply a padding problem.
09-Feb-2006
-----------
- Add support of promiscuous mode for the DEC21140 "unicast limiter":
promiscuous mode is used in bridging configurations.
- Fixed another bug with the serial interfaces: it seems that there is
a "length substractor" for the txring.
10-Feb-2006
-----------
- Played a little with the PA-POS-OC3, without success.
14-Feb-2006
-----------
- Finally implemented the basic LMI stuff (only ANSI Annex D). Fortunately,
IOS rocks and uses auto-detection, so no extra configuration is needed.
- Integrated a Makefile patch from Max Khon for FreeBSD.
- Updated documentation.
- Release 0.2.4.
15-Feb-2006
-----------
- Fixed a cosmetic bug when displaying MAC address at startup.
- Fixed a stupid bug in "srav" instruction in x86_64 JIT code. The
arithmetic shift operation was done on a 64-bit basic instead of 32-bit,
causing bad propagation of the sign-bit.
- Added support for multiple instances (no CLI present yet).
17-Feb-2006
-----------
- Fixed 2 bugs in Frame-Relay switch: a crash occured when receiving
a packet gave an error, and if many DLCI with the same ID on different
interfaces were used, only one was announced on one interface.
18-Feb-2006
-----------
- Began work on advanced configuration parsing (instances).
19-Feb-2006
-----------
- Is the count/compare mechanism pertinent ?
23-Feb-2006
-----------
- Continued work on advanced config parsing (instances,NIO).
- Added registry infrastructure.
- Fixed some mistakes in documentation.
28-Feb-2006
-----------
- Continued work on advanced config parsing (NIO).
- Added an IRQ counter.
- Continued debugging on recurrent crashes problem.
- Added proper checks to mts32_raw_lookup (at least it avoids the
coredump...)
- Added display of all CP0 registers (except TLB).
02-Mar-2006
-----------
- Hardened a little the IRQ subsystem, but this doesn't fix the problem.
- Added a debugging mode to track jumps to address 0 (x86_64 only!).
- Fixed the teq/teqi instructions in amd64/x86 modes that were buggy.
04-Mar-2006
-----------
- Added some assembly optimized routines for x86 hosts.
- Fixed a stupid bug in mts32_raw_lookup (op_size and op_type were
swapped).
06-Mar-2006
-----------
- Added Unix and Null NETIO types for config files.
- Fixes for incorrect behavior in virtual memory access routines, in
case of exception.
08-Mar-2006
-----------
- Removed the configuration file parsing, in favor of a remote control
system for use with the dynagen project.
09-Mar-2006
-----------
- Added basic hypervisor infrastructure.
- Added basic NIO code to the hypervisor commands.
10-Mar-2006
-----------
- Added the hypervisor NIO code.
- Added Frame-Relay and ATM switches to the hypervisor commands.
11-Mar-2006
-----------
- Played (successfully) with OIR (Online Insertion and Removal). OIR
will require device deletion...
12-Mar-2006
-----------
- Fixed EEPROM code which used global variables.
- Added the necessary code for basic OIR.
- Added PCI device removal.
15-Mar-2006
-----------
- A lot of work on C3600 integration (although it is not functional).
- Added a basic ns16552 driver.
17-Mar-2006
-----------
- Added some hypervisor commands for PA setup and OIR.
20-Mar-2006
-----------
- Hardened the Mueslix driver: after OIR, a "no shut" on a new interface
crashed the virtual router. Now, IRQ status is managed appropriately.
24-Mar-2006
-----------
- Added ptask (periodic task) removal.
- Added a basic (nearly empty) C3600 IO FPGA chip.
25-Mar-2006
-----------
- Added a NIO RX multiplexer.
- Added NIO unset operation for PA.
26-Mar-2006
-----------
- Modified the virtual ATM/Frame-Relay switches and NIO bridge to use
the new NIO RX multiplexer.
- Added the NIO bridges to the hypervisor commands.
- Fixed a stupid bug in hypervisor ATM/FR switch command, the VC were
badly parsed.
- Fixed a memory leak in the hypervisor module (tokens not freed).
27-Mar-2006
-----------
- Added appropriate locks to the ATM and Frame-Relay switches.
- Added VC removal for ATM and Frame-Relay switches.
28-Mar-2006
-----------
- Added registry management to the ATM/FR switches and NIO bridge.
30-Mar-2006
-----------
- Added a refcount system to the NIO RX multiplexer.
31-Mar-2006
-----------
- Added NIO removal for NIO bridges.
- Added NIO bridge removal.
- Modified the NIO bridge code to use the registry infrastructure.
- Same as above, for ATM and Frame-Relay switches.
03-Apr-2006
-----------
- Added the required infrastructure for online removal.
- Added hypervisor commands for PA removal and to display C7200 hardware.
- Fixed a bug in PCI device removal.
- It's now possible to change cards on the fly!
- The Mueslix driver was incorrectly modified: the TX ring scanner must
run even if the NIO is not defined.
- Modified the DEC21140 driver to report a Link Down when the NIO is not
defined.
04-Apr-2006
-----------
- Added packet dump (for debugging) to NetIO receive/send operations.
08-Apr-2006
-----------
- The SMP bug seems to be fixed! The irq_cause field is now manipulated
atomically (inline asm for x86 and x86_64, pthread mutex on other
machines).
12-Apr-2006
-----------
- Added a VM abstraction layer (for different platforms).
- Fix of X86 assembly file for Cygwin.
- The IOS config file is now saved with a specific filename from the
VM instance.
13-Apr-2006
-----------
- Added per-instance logfile.
14-Apr-2006
-----------
- Fixed a stupid bug in non-JIT mode with IRQs.
17-Apr-2006
-----------
- bugfix: "null" NIO creation didn't record the NIO in registry.
- bugfix: mueslix logging.
- bugfix: adding an NIO to the RX listener list (bad double linked-list)
- bugfix: bad fgets() use in NIO bridge and ATM/FR switches.
18-Apr-2006
-----------
- bugfix: the same NIO could be recorded many times in the NIO RX
multiplexer due to bad design in NIO adding.
19-Apr-2006
-----------
- Beginning of work on AMD Am79c971 ethernet controller (used by PA-4E
and PA-8E).
20-Apr-2006
-----------
- The emulation of AMD Am79c971 seems to be working very well.
- Modified the physical memory dump function to use the VM log file.
21-Apr-2006
-----------
- Modified the PA-4E/PA-8E EEPROM definitions to work with VXR midplanes.
- PA-4E is now usable.
23-Apr-2006
-----------
- Added "shutdown" operation for PA-4E/PA-8E drivers.
24-Apr-2006
-----------
- Enhanced lock file management (with POSIX locks).
- The devices are now dependent from VMs instead of being dependent
of CPU groups. This makes a lot of things cleaner.
27-Apr-2006
-----------
- Added IRQ clearing with GT64K (DMA transfers).
- Study of GT64120 controller to understand address decoding process.
28-Apr-2006
-----------
- Fixed a bug with NPE-175/NPE-225 PEM EEPROM selection.
- The NPE-400 is now able to support 512 Mb of DRAM! (the supplemental
memory is in fact considered as IO memory)
- Added a safety check with RAM size.
- The CPU identifier (PRID register) is now fixed depending on the NPE
board.
01-May-2006
-----------
- Modified device subsystem to order devices by physical addresses,
optimized dev_lookup/dev_lookup_next.
- Added infrastructure for various object cleanup.
- Added "shutdown" code for SRAM, NVRAM, Bootflash, Zero, remote control
devices.
- Added CPU deletion support (incomplete).
02-May-2006
-----------
- Added PCI bus removal.
- Added "shutdown" code for GT64010 and GT64120.
- Added CFC0/CTC0 instructions (R7000) and handling for associated
registers. TODO: customized vector spacing.
04-May-2006
-----------
- Introduction of the new MTS64 subsystem!
- Note: incorrect uses of assert(), especially in insn_lookup.c module.
05-May-2006
-----------
- Added a free list of chunks for MTS64 + some basic optimizations.
- Added basic PCI/HT stuff for SB-1 processor (dev_sb1_pci.c module).
- Added AP1011 (Sturgeon HyperTransport-PCI Bridge) device.
- Fixed masks for MFC0/MTC0 instructions, and added new definition for MFC0
to access set 1.
- Fixed incorrect uses of assert().
07-May-2006
-----------
- Modified the console handling to be more efficient.
- Added global invalidation of the MTS64 cache.
08-May-2006
-----------
- Added selective invalidation of the MTS64 cache (for TLB management).
- Added MTS64 statistics.
- Modified the MTS64 hash settings. Origin: shift: 12, hash_bits: 16.
Replaced by shift: 16, hash_bits: 12 -> more efficient and consumes
less memory! (logical since IOS uses large TLB entries).
- Modified cp0 module to use an abstraction layer for MTS access, allowing
32 or 64 bit modes.
09-May-2006
-----------
- Fixed MTS64 on x86_64 machines.
- The clock divisor can now be set per VM and with an hypervisor command.
10-May-2006
-----------
- Added "shutdown" code for RAM and ROM devices.
- Added VM object dump ("Ctrl-] + o")
11-May-2006
-----------
- Bugfix: missing initialization of the address length parameter of accept()
in the main hypervisor module.
- Bugfix: missing initialization of registry memory pool (noticed with
Valgrind).
- Added NPE and midplane selections to the hypervisor.
12-May-2006
-----------
- Added NIO deletion to the hypervisor.
- Fixed status message in hypervisor for object deletion.
- Added "sub" instruction (without exception support).
14-May-2006
-----------
- Fixed CPU state change. It is now possible to reboot at any time using
"Ctrl-] + k".
- Added VTTY deletion.
- Added "c7200 stop" command to the hypervisor (not finished).
- The memory-mapped devices of port adapters are now enabled dynamically,
depending on the PCI BAR (Base Address Registers) settings. This avoids
use of hardcoded values.
- Integrated a patch from Philipp Brenner, which fixes ELF loading problem
on Cygwin when default text file type is set to DOS. Many thanks to him.
(symptom was: "load_elf_image: elf_begin: I/O error: raw read")
15-May-2006
-----------
- Added "c7200 set_config" and "c7200 set_mac_addr" hypervisor commands.
- Fixed a stupid bug in PCI bus removal.
- Added more complete shutdown code.
16-May-2006
-----------
- Fixed uninitialized MTS64 allocated entries (seen with Valgrind).
- Added missing unmapping of memory-mapped files (reported by Greg).
- The VTTY shutdown doesn't close stdin anymore (causing terminal
problems at exit).
- Fixed the shutdown procedure, added VM_STATUS_SHUTDOWN as status
for a VM. Adapted the virtual CPU synchronization.
17-May-2006
-----------
- Some basic work on the hypervisor main modules (cleanup).
19-May-2006
-----------
- bugfix: base MAC address setup broken (reported by Greg).
- Added global deletion of: ATM/FR switches, NetIO bridges, NetIO
descriptors, C7200 instances ...
- Added "hypervisor reset" command to go back to a clean state.
20-May-2006
-----------
- Modified the CPU synchronization system which was not working correctly.
21-May-2006
-----------
- bugfix: NIO unset in PA-4T+/PA-8T driver.
- Added C7200 PA cleanup code.
22-May-2006
-----------
- Better handling of PA/NIO removal.
- Base MAC addresses are now generated automatically if not specified.
("cafe.<instance_id>.0000")
23-May-2006
-----------
- Added "VDE" NetIO type to connect to UML switches / Virtual Distributed
Ethernet switches.
- Some cleanups in NetIO code.
- Added shutdown code for MTS32/MTS64 (not used yet).
24-May-2006
-----------
- Minor optimizations for non-JIT mode.
- bugfix: crash when dumping instruction block tree (JIT).
- Some memory leak fixes (again with Valgrind, definitely this tool rocks).
TOFIX: * clpd6729 + PCI I/O space (to check carefully).
* IO/supplemental memory created with dev_create_ram().
- Use of MTS shutdown code.
25-May-2006
-----------
- The compressed IOS images were not booting anymore: fixed the MIPS config
register at startup (reported by Davide Brini).
- Minor code cleanup for MIPS CPU reset.
- I/O and supplemental memory are now created with dev_ram_init().
- bugfix: in PA shutdown code, the driver shutdown operation was called
even if the driver was not initialized.
- bugfix: order of memory freeing in c7200_free_instance() wasn't good,
producing a segfault (seen on windows machines).
26-May-2006
-----------
- Played with the PA-POS-OC3 driver, it seems that it is working. Need
to check if the TX ring guess is correct (ie, with "routing" conditions).
27-May-2006
-----------
- PA-POS-OC3: Fixed the TX ring part to work with multiple buffers. There
is still a problem with buffer addresses (doesn't work with platforms
using SRAM).
29-May-2006
-----------
- Playing with ISDN emulation (PA-4B), and Munich32 chip. Interfaces
are only visible for now.
30-May-2006
-----------
- Moved VM lockfile deletion to VM instance freeing function.
- Ugly hack to allow the POS driver to work with SRAM-based platforms.
- Added support for "VDE" NIO in hypervisor.
- Beginning of hypervisor documentation (README.hypervisor).
31-May-2006
-----------
- Removed "c7200 trigger_oir" hypervisor command which was redundant.
01-Jun-2006
-----------
- bugfix: fixed some reference counting leaks with default ATM and
Frame-Relay switches and NIO bridge.
- bugfix: DLCI were not announced in ascending order in LMI packets.
- studied a bit how to use larger bootflash sizes.
02-Jun-2006
-----------
- DEC21140: Added multicast flag management for received frames.
- Debugging of ISL problem reported by Valentin.
- Added CRC-32 functions to the appropriate module.
03-Jun-2006
-----------
- ISL is now working with DEC21140. It seems that to handle ISL, another
chip (FPGA ?) is present on PA-FE-TX and C7200-IO-FE to add the second
FCS field.
- Added basic disassembly code (need to do something more generic).
04-Jun-2006
-----------
- Added virtual instruction "bnez" (basic optimization).
- Added RM7000 "mul" instruction (not tested).
- Added teq/teqi instructions to non-JIT mode.
05-Jun-2006
-----------
- Added output packet exclusion to PCAP module (not possible with WinPCAP
though).
- Enhanced packet filtering in dec21140 emulation (for Windows users).
- bugfix: stupid cast problem in bootflash code preventing proper unmapping.
(seen with /proc/<pid>/maps on Linux).
- Added debugging message for device removal.
- bugfix: memory not freed / file not closed with ELF loader.
- bugfix: config register keeping the "ignore config" flag between instance
reloads.
- Added "c7200 set_conf_reg" hypervisor command.
- ==> pre19
- Experiment: Pending IRQ are now checked only at jump instructions.
06-Jun-2006
-----------
- bugfix: bootflash not working anymore with previous bugfix.
- Some optimizations for Program Counter (PC) handling in JIT mode.
- Some optimizations for non-JIT mode (use of fastcalls).
- Added a performance counter.
07-Jun-2006
-----------
- Added configuration saving command for hypervisor
("hypervisor save_config <file>")
- The SB-1 DUART is working, allowing NPE-G1 console to work :)
- Environmental monitor working with NPE-G1.
- NPE-G1 next priorities: Ethernet (because it delays boot) and NVRAM
(seems to be at a different address?)
08-Jun-2006
-----------
- NVRAM is now ok on NPE-G1 (it is at a different physical address).
13-Jun-2006
-----------
- Optimizations on fast lw/sw operations (x86 only for now).
- Changed offset size for branches (x86_jump32 instead of x86_jump8).
14-Jun-2006
-----------
- Base MAC address now generated from PID and instance ID.
15-Jun-2006
-----------
- Optimizations on fast lw/sw operations (x86_64).
- bugfix: fixed console problems when using TCP mode on Windows platforms
(Telnet, Putty). It just requires to ignore LF (Line Feed) character
(BTS entry #4)
16-Jun-2006
-----------
- bugfix: importing config to NVRAM was broken (device lookup was done on
"cacheable" devices only in physmem* functions) (BTS entry #5)
17-Jun-2006
-----------
- bugfix: memory not freed when using host memory to emulate virtual RAM.
(BTS entry #8).
- Minor enhancements to clpd6729 driver.
19-Jun-2006
-----------
- Included a patch from Peter Ross (suxen_drol@hotmail.com) which allows
to bind console and AUX ports to real serial ports. Many thanks to him.
20-Jun-2006
-----------
- Playing with the PCMCIA stuff (especially CIS)
21-Jun-2006
-----------
- Continuing on PCMCIA.
22-Jun-2006
-----------
- The PCMCIA ATA disk is working, although the ATA command set is not
completely implemented.
23-Jun-2006
-----------
- Added virtual ethernet switch module.
- bugfix: linux_eth file descriptor was not used correctly with NIO RXL.
- Modified the ELF loader to use all sections.
26-Jun-2006
-----------
- Modified the NIO RX handling (packet receiving is done in NIO module).
27-Jun-2006
-----------
- bugfix: PA-4E/PA-8E not working with IOS 12.0T (incorrect device length).
(BTS entry #17).
- Some cleanups (untested though) in ATM and Frame-Relay switch modules
(locking).
29-Jun-2006
-----------
- Added support for 2nd ATA disk.
- Added command line options for disk0: and disk1: ATA devices.
By default, disk0: has a capacity of 64 Mb, disk1: is not defined.
- Added hypervisor commands "c7200 set_disk0" and "c7200 set_disk1".
- Fixed some mistakes and typos in documentation.
30-Jun-2006
-----------
- Factorized code of fast memory operations to have something cleaner.
02-Jul-2006
-----------
- Modified the JIT compiler to translate pages instead of "blocks"
(improves performance).
03-Jul-2006
-----------
- Some code cleanup for the new JIT compiler.
- bugfix: PA-4T+/PA-8T not working with IOS 12.0T (incorrect device length).
(BTS entry #23).
- Added JIT flush to limit the memory used for translation. At this time,
this is basic, we count the number of translated pages and we flush when
this number reaches a threshold (512 pages seems to be a good value).
- Integrated a patch from Philipp Brenner (BTS entry #21)
Description: "In standard mode it intercepts SIGINT and sends a CTRL+C
(0x03) to the target's vtty_con buffer, while in hypervisor mode it
gracefully shuts down the hypervisor which causes the application to
quit."
04-Jul-2006
-----------
- Fixed a stupid bug in mts_cache (phys_page boundary not checked).
- Optimized JIT flushing and insn block allocation.
- Changed the maximum number of translated pages to 2048, which seems to
be a more adequate value.
05-Jul-2006
-----------
- Added an "exec zone" which is a pool of host executable pages. This
zone is limited by default to 64 Mb for Linux/Unix and 16 Mb for Cygwin.
When the zone is fully used, the JIT structures are flushed (removed the
maximum number of translated pages).
Now, there is no need to disable ExecShield or similar systems.
- Added explicit error message when failing to open an ELF file.
- Fixed getopt_long() usage.
- Added CLI option "--exec-area <size>" to define exec zone size for the
default VM.
06-Jul-2006
-----------
- Added "tlbwr" (TLB Write Random) instruction and coprocessor 0 random
register management.
- Added "c7200 set_exec_area" hypervisor command.
- Allowed the hypervisor to run on Windows 2000 machines (ip_listen()
version is now ok for non-rfc2553 systems).
07-Jul-2006
-----------
- Added command line help for "--exec-area" option.
- Updated documentation.
11-Jul-2006
-----------
- bugfix: missing pointer cleanup in c7200_pa_shutdown() (BTS entry #30)
- bugfix: incomplete shutdown code for NIO (little memory leak + no
freeing code for NIO with null type).
- bugfix: memory leak in udp_connect() + incorrect error checking.
- Added cleanup code for general log file.
- bugfix: memory leak in hypervisor command execution.
- Added logging for hypervisor commands.
- Invalid instructions in delay slots are now properly handled by the JIT
compiler (error message + CPU stop).
13-Jul-2006
-----------
- Added an idle loop detector (--idle-pc CLI option + "Ctrl-] + i" key)
- Added "c7200 set_idle_pc" hypervisor command.
14-Jul-2006
-----------
- Updated documentation.
- Checked the idle loop system on Windows and Linux x86_64, seems to be
working correctly.
- Added idle loop system to non-JIT mode.
- Fixed a bug in "cache" instruction when used in non-JIT mode.
16-Jul-2006
-----------
- Integrated a patch from Peter Ross (suxen_drol@hotmail.com) for the
Makefile.
17-Jul-2006
-----------
- bugfix: no empty mips64_emit_invalid_delay_slot() function for non-JIT
build.
- Added definition for mmap() MAP_ANONYMOUS flag for systems where only
MAP_ANON is defined.
- Accurate Timer IRQ (added --timer-itv parameter for tuning).
18-Jul-2006
-----------
- Fixed inter-pages jumps in delay slots (reported by nula)
- Added a check preventing to run the idle-pc feature when an idle-pc value
is already defined (since it would give biased results).
- bugfix: VTTY list not locked in vtty_create()
- bugfix: ensure the CPU is running before incrementing pending timer IRQs.
- Added a checklist for minimal C7200 hardware components. It checks good
init of ram, rom, nvram and zero devices.
19-Jul-2006
-----------
- Some work on JIT tuning (flush).
20-Jul-2006
-----------
- Better info logging for VTTY and C7200 modules.
- Added a debug level for VMs.
21-Jul-2006
-----------
- Various code cleanups.
- Added "c7200 set_debug_level" hypervisor command and "--vm-debug" command
line option. Now, by default, less details are printed.
- Fixed a bug with select() on Cygwin platform: before, only 64 FDs
could be used.
24-Jul-2006
-----------
- bugfix: accept_fd was not closed in VTTY module (BTS entry #42)
- bugfix: properly handle CR/LF in configuration files (FR, ATM, ...)
(BTS entry #36)
- bugfix: accept fd not correctly printed in log file.
- Added a mini-parser for hypervisor: allows directory with blanks, ...
- bugfix: bad use of setsockopt() in the hypervisor.
25-Jul-2006
-----------
- Added the capability to use Null NetIO with the hypervisor
("nio create_null" command).
- Added a FIFO NetIO for intra-hypervisor communications.
- Merged a patch from Peter Ross for incorrect idle-pc parsing with 64-bit
values.
- Non-JIT mode optimization for instruction fetch (although it could be
enhanced again).
- Various code cleanups.
26-Jul-2006
-----------
- Added "ethsw clear_mac_addr_table" to clear MAC address table of a
virtual ethernet switch.
- Added "ethsw show_mac_addr_table" to show all MAC addresses learnt by
a virtual ethernet switch.
- Fixed a potential bug with jalr/jr instructions, where the stack is used
to save the return PC. If the instruction in the delay slot returned
directly to the jit main loop (exception,...), the stack would be in
an inconsistent state. This fix is also required for Darwin/x86.
27-Jul-2006
-----------
- Stack alignment for Darwin/x86 in memop functions and unknown opcode
handling.
- The Darwin/x86 build requires -mdynamic-no-pic as compilation option.
- Fixed some inline assembly mistakes with "lock" prefix.
- The Darwin/x86 port seems to be working correctly.
- Fixed the amd64 version of "jr" instruction similarly to the x86 version
(no problem with "jalr" in this case).
29-Jul-2006
-----------
- Merged a patch from Peter Ross (suxen_drol@hotmail.com):
* disable dynamips escape commands for serial
* support receipt of char 0x00
* force the device to into raw mode (cfmakeraw)
* include additional uart register addresses in c7200 iofpga switch.
The README is also updated.
- Fixed some sign problems in VTTY module.
31-Jul-2006
-----------
- Merged a parch from Peter Ross for correct handling of Ctrl-C when
a TCP console is used.
- Code cleanup (JIT usage flag per VM, ...)
- C3600: implemented a working ns16552 console driver.
- C3600: fixed clpd6719 driver.
- C3600: working environmental monitor.
- C3600: changed default RAM to 128 Mb.
- Fixed clobbered registers on AMD64 platform ("r14" was missing).
01-Aug-2006
-----------
- Added command line support for C3600 instances.
- C3600: added appropriate deletion code.
- C3600: added mainboard EEPROM support.
- C3600: added bootflash of 8 Mb.
- C3600: analyzed triggering of various IRQs.
03-Aug-2006
-----------
- C3600: added NM EEPROM support, slot activation now depends on the NM
state.
- Fixed nmc93c46 EEPROM code to set the data out bit to a high value when
not reading data (was required for C3600 NM EEPROM) + various bug-fixes
and cleanups.
04-Aug-2006
-----------
- C7200: some cleanups in PA function naming.
- C7200: code refactoring for PA drivers.
- C7200: ethernet stuff is now independent of dec21140 and am79c971 code.
- C3600: added NM management stuff.
- Mueslix serial stuff is now independent for C3600 and C7200.
- C3600: added NM-1E, NM-1FE and NM-4T network modules.
=> problems: * no keepalive required for NM-1E/NM-1FE (media status ?)
* NM-4T packet delivery failure when end of RX ring is hit.
06-Aug-2006
-----------
- Modified Am79c971 MII registers to keep the link up in FastEthernet mode.
- Merged a patch from Peter Ross for Console and AUX ports optimizations
(especially with TCP mode)
* console and aux FILE streams
* reimplement vtty_read_and_store() as state machine:
- parse telnet escape codes, instead of forwarding them to router.
- display instance and router name in xterm/vt title bar.
- Modified the Mueslix driver to have something working for both C3600 and
C7200 models. Added some debugging info.
- C3600: better ethernet NM code.
- C3600: Added NM-4E (4 ethernet ports) network module.
07-Aug-2006
-----------
- Fixed the remote control driver which incorrectly used static variables.
- NVRAM address can now be known with the remote control driver.
- Command line usage is now correctly displayed depending on the selected
platform.
08-Aug-2006
-----------
- Some work on PA-4B (Munich32 chip).
09-Aug-2006
-----------
- Continuing on PA-4B (trying to understand TP3420).
10-Aug-2006
-----------
- C7200: Added PA Mgmt IRQ support (required for PA-4B, seen on a real
c7200 with PA-4B offered by Vernon Missouri).
- Added TP3420 definitions.
15-Aug-2006
-----------
- Continuing on PA-4B. Better understanding of the TX ring.
Fixed interrupt queue management.
19-Aug-2006
-----------
- Added hv_vm.c module to handle generic VM operations.
- Added hv_c3600.c module for the Cisco 3600 platform.
- Fixed a bug in VTTY flushing.
20-Aug-2006
-----------
- Added code to gen_eth module for Cygwin to prevent WinPCAP from giving
back transmitted packets. It requires WinPCAP 0.4-alpha1 or better.
TODO: need to be tested!
21-Aug-2006
-----------
- Fixed C3660 boot. Trying to understand/discover the hardware.
Environmental monitor should be ok.
24-Aug-2006
-----------
- Added NS16552 flush optimization (Peter Ross).
- Fixed missing periodic task removal in NS16552.
26-Aug-2006
-----------
- C3660: * Better understanding of NM presence / EEPROM registers.
* Analyzed registers used when a Net IRQ is triggered.
28-Aug-2006
-----------
- C3660: Network Modules are now working! Remaining stuff: OIR.
29-Aug-2006
-----------
- Added more generic code to handle Cisco EEPROM to change easily
chassis MAC addresses.
- Updated README with C3600 information.
- Updated hypervisor documentation (README.hypervisor).
- Added dated package build to the Makefile (make packdev)
- Checked WinPCAP fix of 20-Aug-2006: working.
- Added the capability for high priority IRQ (like NetIO IRQ) to break
the idle loop. Great latency improvement with NetIO IRQ.
- C3600: the DUART irq is now higly prioritized. It gives better console
reactivity.
30-Aug-2006
-----------
- Huge performance improvement on dec21140 and am79c971 drivers, by
transmitting up to 16 packets in one TX ring scan pass.
- Added the same to Serial driver (untested).
- Added "unicast limiter" feature to the am79c971 driver, similarly to the
dec21140 driver. Not having this caused the virtual instances to see
unrelated host traffic when using linux_eth/gen_eth NIO and consequently
a bad performance was obtained. Thanks to Greg for noticing that.
- Beginning of rework of PCI subsystem for PCI bridge support.
(Greg noticed that with 12.2T releases, the PCI bus numbering is
different for the C3660).
31-Aug-2006
-----------
- Finished the PCI subsystem rework.
- C7200: Fixed PCI bridge use for midplanes (std: dec21050, vxr: dec21150).
01-Sep-2006
-----------
- Finally fixed the Serial problem on C3620 platform (hack in the driver
to trigger interrupts differently).
- Cleanup for VM PCI bus pool and C7200 "hidden" I/O bridge was missing.
03-Sep-2006
-----------
- Added safety checks to the PCI bus management.
- Added a PLX9060 device (very basic for now).
- Rewritten the PA-POS-OC3 driver to use the new PLX9060 driver.
- Cleanup: removed use of c7200 bay info in drivers (everything uses
PCI for configuration).
- C7200: removed the bay module which contained static definitions of
PCI bus, physical addresses for PA, ... Now everything is handled
dynamically by the PCI subsystem and the remaining drivers (PA-4B,
PA-POS-OC3) have been fixed.
- C3600: removed PCI bus info from the bay module (due to PCI bridge new
code).
04-Sep-2006
-----------
- Fixed some typos in comments.
- Added a standalone utility to extract IOS configuration from an
NVRAM file.
- Removed pcireg.h (from NetBSD) which was just used for one definition.
- Added a "COPYING" file for the GPLv2 licence.
05-Sep-2006
-----------
- Added basic packet filtering framework, to simulate packet loss or
alteration.
- Hypervisor commands now supports a variable number of parameters.
- bugfix: doing a "sh run" and then pressing "Escape" was causing trouble
to the VTTY (the state machine was in an incorrect state).
06-Sep-2006
-----------
- Removed erroneous special handling of intra-page jumps in delay slots.
(problem with c3640 12.0(7)T IP+ image).
07-Sep-2006
-----------
- C3600: processors ID are now correct.
- Avoid removing the JIT block of the caller with the "cache" instruction.
- Added "hypervisor version" to allow clients (Dynagen) to know the current
version.
- Added missing explanation for "-P <platform>" command line parameter.
- C7200: Fixed incorrect cleanup of IO PCI bridge.
08-Sep-2006
-----------
- Better code for VM error messages.
- Fixed the write attempts to ROM at startup.
09-Sep-2006
-----------
- C3600: added support for io memory size, which prevents Smart Init
from running (hypervisor command: c3600 set_iomem <router> <val>).
- C3600: fixed incorrect handling of commands for this platform, which
caused port 0 to be disabled when manipulating other ports.
11-Sep-2006
-----------
- Fixed loop overflow in idle pc computation.
- Added base64 encoding/decoding module from Yannick Le Teigner.
- Added hypervisor commands "vm push_config" and "vm extract_config"
to manage IOS configurations. Extracting to base64 is ok (verified with
a third party decoder:
http://www.opinionatedgeek.com/dotnet/tools/Base64Decode/Default.aspx )
- C3600: NVRAM checksum is now correctly computed.
12-Sep-2006
-----------
- Following a suggestion of Yannick Le Teigner, applied the optimization
principle to PA-A1 card already used in dec21140, ... Latency is clearly
better (on my system, this dropped from about 150ms to 50 ms).
14-Sep-2006
-----------
- Incorrect display of device name in PLX9060 driver.
- Added manpages provided by Erik Wenzel (erik@debian.org). Many thanks
to him for this and for his work on packaging for Debian.
- Final 0.2.5 release.
- C7200: Added missing NVRAM checksum.
15/21-Sep-2006
-----------
- Working on NM-16ESW.
22-Sep-2006
-----------
- NM-16ESW: interfaces are now up (handles specifically the appropriate
MII register).
23/25-Sep-2006
--------------
- Still continuing on the NM-16ESW (first packets received/transmitted).
26-Sep-2006
-----------
- NM-16ESW: seems to be working! (although there are still a lot of things
to do).
28-Sep-2006
-----------
- Added a hack to allow Ethernet NM to work correctly in 3620/3640
(seen when directly attached to the real network with very few packets
incoming).
- NM-16ESW: proper support for tx ring scatter/gather support.
- NM-16ESW: fixed a bug in ARL insertion.
- NM-16ESW: send directly BPDU packets to the CPU.
29-Sep-2006
-----------
- NM-16ESW: added support for "trunks" (ie etherchannel).
- Added "Ctrl+p" sequence key to dump Port Adapter / Network Module info
(only NM-16ESW reports something at this time).
30-Sep-2006
-----------
- NM-16ESW: proper management of station movement (etherchannel is handled).
01-Oct-2006
-----------
- NM-16ESW: added register handling.
02-Oct-2006
-----------
- NM-16ESW: playing with the port mirroring feature.
04-Oct-2006
-----------
- Finally understood how to handle link status changes! Now,
"shut"/"no shut" is working. Better understanding of MII registers
in general.
05-Oct-2006
-----------
- Fixed bug described in BTS entry #65 (in the case where two virtual
addresses point at the same physical address, the JIT can use
inappropriate block). This was a "silent" bug.
07-Oct-2006
-----------
- Modified the hypervisor parser to allow long lines (to upload IOS configs).
09-Oct-2006
-----------
- NM-16ESW: added ingress and egress port mirroring (todo: BPDU and CDP
packets shouldn't be replicated).
10-Oct-2006
-----------
- 0.2.6-RC1 release.
- NM-16ESW: implemented ARL count. Fixed the MAC address table display
problems.
11-Oct-2006
-----------
- C3600: fixed NVRAM configuration export.
- Merged a patch for Solaris/x86 from Damjan Marion.
- Cleaned the EEPROM stuff to have something more generic.
- NM-16ESW: base MAC address is now automatically generated.
12-Oct-2006
-----------
- NM-16ESW: added support to discard input packets.
13-Oct-2006
-----------
- NM-16ESW: modified the discard support to let BPDU packets arrive to
the CPU.
- Added online setup of idle-pc through the hypervisor command
"vm set_idle_pc_online <vm_name> <cpu_id>".
- Values computed for idle-pc are now stored in the virtual MIPS CPU
and can be known through the hypervisor command
"vm show_idle_pc_prop <vm_name> <cpu_id>".
15-Oct-2006
-----------
- Added a timer module.
- NM-16ESW: added an ARL ager that removes expired MAC addresses.
18-Oct-2006
-----------
- Added hypervisor commands to tune idle-pc parameters
("vm set_idle_max" and "vm set_idle_sleep_time").
- Centralized NM/PA EEPROM to have common definitions for platforms
with the same type of network interfaces.
- 0.2.6-RC2 release.
19-Oct-2006
-----------
- C2691: added sketelon code.
- C2691: working DUART.
- C2691: added mainboard EEPROM.
20-Oct-2006
-----------
- Bugfix: dec21140 and amd79c97x were incorrectly discarding frames based
on the source address, preventing HSRP/VRRP to work (BTS entry #75).
- C2691: added hypervisor module to handle instances.
22-Oct-2006
-----------
- C2691: trying to understand the network interrupt mechanism.
23-Oct-2006
-----------
- C2691: fixed Galileo interrupt (IRQ 3), allowing packets to be received!
- Added a basic GT96100 system controller (for C2691).
- GT96100: added MII registers.
- Added a basic Flash device to be used as ROM+NVRAM for C2691.
- C2691: NVRAM (simulated from flash) is now ok.
- C2691: Analyzed environmental monitor register. No warning anymore.
24-Oct-2006
-----------
- C2691: NVRAM config export is working, config import requires more work
(since write operations to flash are not immediate).
- Allowed Galileo DMA IRQ to preempt the idle loop.
- Fixed ATA Flash "current of sectors per card" which must be in LSW/MSW
order and not MSW/LSW.
- Added another ATA Flash access method (for c2691).
- C2691: added support for CompactFlash.
25-Oct-2006
-----------
- GT96100: added some definitions for the Ethernet part.
26-Oct-2006
-----------
- Working on TX part for GT96100. Unfortunately, don't know yet how to
signal an interrupt for it on the 2691 platform :(
27-Oct-2006
-----------
- C2691: found how to announce correctly NM presence in slot 1.
- GT96100: finally found how to notify appropriately the network interrupt:
the Serial Cause Register has to be handled.
- C2691: added the glue code to set up GT96100 ethernet ports.
- GT96100: added RX part. Packets are now sucessfully handled.
- C2691: better understanding of network interrupt status registers.
- C2691: added correct flash code detection.
- GT96100: fixed the "PHY reset" problem.
- C2691: added default correct chassis base MAC address.
28-Oct-2006
-----------
- GT96100: added hash function (Mode 0 ok, Mode 1 to fix) for Ethernet
address filtering + appropriate definitions.
29-Oct-2006
-----------
- GT96100: fixed hash mode 1 (not tested).
- GT96100: added address filtering process.
30-Oct-2006
-----------
- GT96100: added minimal MIB counters.
- Implemented LBA mode for PCMCIA ATA disk devices and fixed data access.
- Changed the default idle sleep time from 50ms to 30ms to avoid timer
IRQ loss and timer drift.
- Added hypervisor command "vm show_timer_drift <vm_instance> <cpu_id>"
to display potential problem with a given idle-pc value.
- C2691: added proper support for IO memory.
- NM-16ESW: generalized code to support multiple platforms.
- C2691: added support for NM-16ESW.
31-Oct-2006
-----------
- C3725: initial support. Hardware very similar to c2691: Cisco rocks!
- C3745: added skeleton.
- C3745: fixed GT96100 address.
- C3745: added PCI bridges.
- C3745: Network Modules are working!
- C3745: CompactFlash working.
01-Nov-2006
-----------
- C3745: finally understood how to handle the system EEPROMs.
- Updated documentation (README).
- GT96100: minor enhancement of interrupt handling.
02-Nov-2006
-----------
- Added support for "ghost" RAM: instances use a RAM file (previously
created) and use copy-on-write on it. It allows to share common memory
between instances and so less memory is used.
03-Nov-2006
-----------
- Better support for ghost RAM, added hypervisor commands
"vm set_ghost_status" and "vm set_ghost_file".
04-Nov-2006
-----------
- NM-16ESW: fixed incorrect BPDU handling (which caused to add a 2nd
802.1Q tag to BPDU packets) and now 0100.0ccc.cccd is recognized as
a BPDU MAC address (BTS entry #).
- DEC21140: fixed CSR8 handling (missed frame counter), which returned
an undefined value (BTS entry #81).
- Merged a patch from Rostislav Opocensky who added support for C3600
in nvram_export utility.
- Re-enaebled debugging info for NM-16ESW on 2691/3600/37xx.
05-Nov-2006
-----------
- NM-16ESW: fixed a crash due to incomplete device removal.
06-Nov-2006
-----------
- Validated use of Serial interfaces with 2691/3725/3745.
- Correct config register handling for 3600/2691/3725/3745 platforms
(config register setting was ignored).
- Added detection of empty NVRAM for 2691/3725/3745 to set the ignore config
flag in the config register (to boot faster).
- C3745: Fixed NVRAM properties.
- C7200/C3600: rewrite of configuration push into NVRAM (can now be done
offline).
- C2691/C3725/C3745: added support for config push into ROM flash
(simulated NVRAM).
07-Nov-2006
-----------
- Modified config export from NVRAM for all platforms (can now be done
offline).
- Better handling of base MAC address (2691/3725/3745 + NM-16ESW).
08-Nov-2006
-----------
- Rework of the MTS subsystem (generalization of MTS64 algorithms to MTS32
which was broken).
- Fast memory operations for 32-bit mode.
09-Nov-2006
-----------
- Rewrite of the MIPS TLB lookup operation.
10-Nov-2006
-----------
- Fixed another bug in TLB lookup.
- Beginning of work for PA-MC-8TE1 support.
- Added hypervisor commands to send messages to instances VTTY.
- Working on PLX PCI9054 for PA-MC-8TE1.
11-Nov-2006
-----------
- Continuing a bit on PA-MC-8TE1.
14-Nov-2006
-----------
- Correct handling of VPN2 mask for TLB lookup.
- bugfix: support of c3745 was missing in the hypervisor.
- Merged a patch from Akim Dreyer for Debian support.
- 0.2.6-RC3 release.
15-Nov-2006
-----------
- C2691/C3725: fixed a crash occuring on some IOS images due to incorrect
platform type.
- Modified performance counter to have stats for instructions or blocks
(cannot be used simultaneously).
- "beq" jump code (x86) was incorrectly using non-local jump.
- Bugfix: incorrect number of arguments for hypervisor commands related
to ghost file handling.
- 0.2.6-RC4 release.
17-Nov-2006
-----------
- Major code cleanup to make devices independent from the virtual processors.
- Generic CPU stuff.
20-Nov-2006
-----------
- Merged of patch from Thomas Pani to list VM TCP console ports (required
for gDynagen).
- NM-16ESW: fixed (again) BPDU handling (incorrect VLAN tagging with non
trunk ports).
- Very minimal PowerPC definitions. Only non-JIT mode at this time.
- PPC: added "crorc", "cror", "crnor", "crnand", "crandc", "crand".
- PPC: added "and", "andc", "andi", "andis", "creqv", "crxor".
- PPC: added "eqv", "isync", "mfmsr", "mtmsr", "nand", "nor", "or", "orc".
- PPC: added "ori", "oris", "sync", "xor", "xori", "xoris", "mfcr".
- PPC: added "addi", "addis".
21-Nov-2006
-----------
- PPC: added "cmp", "cmpl", "cmpi", "cmpli", "extsb", "extsh".
- PPC: added "add", "add.", "and.", "andc.", "extsb.", "extsh.".
- PPC: added a dummy memory access function (does nothing yet).
- PPC: added "lbz", "lbzu", "lbzux", "lbzx".
- PPC: added "lhz", "lhzu", "lhzux", "lhzx".
- PPC: added "lwz", "lwzu", "lwzux", "lwzx".
- PPC: added "stb", "stbu", "stbux", "stbx".
- PPC: added "sth", "sthu", "sthux", "sthx".
- PPC: added "stw", "stwu", "stwux", "stwx".
- PPC: added "xor.", "b", "ba", "bl", "bla".
- bugfix: hypervisor commands specific to CPU crashed if the VM was not
started (noticed by Greg).
22-Nov-2006
-----------
- PPC: added "addo", "addo.", "addc", "addc.", "addco", "addco."
- PPC: added "addic", "addic.", "adde", "adde.", "addeo", "addeo."
- PPC: added "neg", "neg.", "nego", "nego.", "nand.", "nor.", "or.", "orc."
- PPC: added "slw", "slw.", "srw", "srw."
23-Nov-2006
-----------
- PPC: added "rlwimi", "rlwimi.", "rlwinm", "rlwinm.", "rlwnm", "rlwnm."
24-Nov-2006
-----------
- PPC: added "mulhw", "mulhw.", "mulhwu", "mulhwu.", "mulli".
- PPC: added "mullw", "mullw.", "mullwo", "mullwo."
- PPC: added "subf", "subf.", "subfo", "subfo."
- PPC: added "bc", "bca", "bcl", "bcla", "bclr", "bclrl".
- PPC: added minimal memory operation glue code.
25-Nov-2006
-----------
- PPC: added dump functions for MMU registers.
- PPC: added support for BAT registers.
26-Nov-2006
-----------
- PPC: fixed branch offset computation.
- PPC: added a dummy virtual machines for tests.
- PPC: fixed bclrx opcodes.
- PPC: added "mflr", "mtlr".
27-Nov-2006
-----------
- PPC: fixes in comparison functions.
- PPC: added "subfc", "subfc.", "subfco", "subfco."
28-Nov-2006
-----------
- PPC: added "subfic", "mfctr".
- PPC: fixed a lot of bugs.
29-Nov-2006
-----------
- PPC: added "rfi", "lha", "lhau", "lhaux", "lhax", "addze", "addme".
- PPC: fixed "mtcrf".
30-Nov-2006
-----------
- Added IRQ routing vectors for virtual machines.
01-Dec-2006
-----------
- Playing with NPE-G2, just for fun.
02-Dec-2006
-----------
- NPE-G2: environmental monitor is now working!
03-Dec-2006
-----------
- PPC: added an empty MV64460 controller (need the datasheet).
- PPC: added "lmw" instruction, fixed "stmw".
- PPC: added "cntlzw".
05-Dec-2006
-----------
- NPE-G2: analyzed midplane data: this is similar to other NPE.
- Added a basic PLX6520CB PCI bridge.
- NPE-G2: added appropriate PCI bridges and PCI busses for Port Adapters.
06-Dec-2006
-----------
- NPE-G2: added PCI I/O space.
- NPE-G2: added CLPD6729, it is now possible to use PCMCIA ATA disks.
08-Dec-2006
-----------
- MV64460: added ugly experimental SDMA support to have a console for the
NPE-G2 (using the GT96100A datasheet). This code must be rewritten.
- MV64460/NPE-G2: playing with the various IRQs.
09-Dec-2006
-----------
- PPC: added idle-pc support.
10-Dec-2006
-----------
- PPC: added virtual breakpoint support.
15-Dec-2006
-----------
- PPC: added functions to manually set up page tables.
- MV64460: added more interrupt definitions (with help of GT96100A manual).
19-Dec-2006
-----------
- MV64460: fixed interrupt loss problem.
20-Dec-2006
-----------
- Basic port of the microcode for the PowerPC platforms. IOS now starts
normally (like the MIPS64 platforms).
21-Dec-2006
-----------
- NPE-G2: found OIR IRQ.
- MV64460: added more definitions (for SDMA).
- Cleanup of MIPS64 JIT code (better naming).
22-Dec-2006
-----------
- PPC32: added the minimal JIT core infrastructure.
- PPC32-JIT: added unknown opcode handling.
- PPC32-JIT: added some instructions.
23-24-Dec-2006
--------------
- PPC32-JIT: added more instructions.
26-Dec-2006
-----------
- PPC32-JIT: continuing...
27-Dec-2006
-----------
- PPC32-JIT: added fast memory operations.
28-Dec-2006
-----------
- Added PPC32 nojit support.
- PPC32: better checking for IRQs.
29-Dec-2006
-----------
- PPC32-JIT: added "amd64" support.
- PPC32: added "lwbrx" and "stwbrx" instructions.
30-Dec-2006
-----------
- PPC32: added "tw"/"twi" instructions.
- PPC32: added TLB support for PowerPC 405.
- PPC32: added "tlbre", "tlbwe", "iccci", "dccci", "mfdcr", "mtdcr" for
PowerPC 405.
- Fixed a bug with ILT tables (incorrect count - last entry was missing).
31-Dec-2006
-----------
- PPC32: added "dcbst" instruction.
05-Jan-2007
-----------
- NPE-G2: correct handling of DUART interrupt with I/O card.
07-Jan-2007
-----------
- NPE-G2: correct console selection (NPE or I/O board) depending on slot 0.
- PPC32: fixup for decrementer interrupt.
- Generic CPU MTS rebuild (mips64/ppc32).
- Split of memory.c / mips64_mem.c. memory.c will only contain generic
functions independent of the CPU model.
- Memlogger is now independent of CPU type (untested).
08-Jan-2007
-----------
- Rewrite of the MTS subsystem to have less overhead with inlined
operations -> better performance.
09-Jan-2007
-----------
- Finished the MTS rewrite (amd64, statistics).
- NPE-G2: added a 64 Mb bootflash (needs to be tested).
10-Jan-2007
-----------
- PPC32: added clean loading of BAT registers.
- Fixed device remapping.
12-Jan-2007
-----------
- PPC32: added "lswi", "stswi", "lswx", "stswx".
13-Jan-2007
-----------
- PPC32: fixed carry evaluation for "srawi" instruction.
15-Jan-2007
-----------
- Playing with c2600 to see if support can be added.
17-Jan-2007
-----------
- C2600: adding skeleton code, added NM selection. However, unable
to get a positive result for "sh diag 0".
19-Jan-2007
-----------
- Experimenting with sparse memory to reduce virtual memory use in
hypervisor mode.
20-Jan-2007
-----------
- Continuing on sparse memory work.
21-Jan-2007
-----------
- C2600: added mainboard basic support.
- MPC860: added a basic IDMA support.
- C2600: first packet exchange :)
22-Jan-2007
-----------
- C2600: added basic mainboard drivers for integrated Ethernet ports.
- C2600: added IRQ preemption for network interrupt and DUART.
- Fixed use of sparse memory with ghost files.
- Added a command line option to test sparse memory ("--sparse-mem").
- Added locking for shared ghost images.
24-Jan-2007
-----------
- Validation of dynagen 0.8.3 with sparse memory and ghost image enabled.
- MIPS64: fixed a bug of the JIT which incorrectly handled jump instructions
with a delay slot in another page.
25-Jan-2007
-----------
- C2600: added NVRAM configuration import/export and appropriate config
register setting if NVRAM is empty at startup.
- C2600: added a basic bootflash support.
26-Jan-2007
-----------
- C2600: io-mem size support.
31-Jan-2007
-----------
- i8254x: added skeleton code (for PA-2FE-TX).
01-Feb-2007
-----------
- i8254x: added MDIO code.
04-Feb-2006
-----------
- C2600: added "set_chassis" hypervisor command.
- C2600: possible chassis/mainboards now displayed at command line help.
05-Feb-2007
-----------
- Fixed a bug when handling packet discard flag on NM-16ESW (seems to be
only valid for native packets).
06-Feb-2007
-----------
- Working on i8254x TX part. Problem with TX ring wrapping.
08-Feb-2007
-----------
- Added packet capture to NIO filters, with PCAP output (Greg Anuzelli).
- i82543: RX and TX parts are now basically working (of course, no IP/TCP
checksum offloading, but this doesn't seem to be used).
09-Feb-2007
-----------
- C7200: added C7200-IO-2FE card, based on Intel i82543 chips.
- C7200: added PA-GE interface, but TX part is broken.
- i8254x: TDH/TDT and RDH/RDT registers are located at a different address.
PA-GE is now working.
12-Feb-2007
-----------
- i8254x: delayed RX IRQ.
- MIPS64: fixed (again) TLB lookup for entries in ksseg and kseg3.
- Added a "byte-swapping" device.
13-Feb-2007
-----------
- i8254x: added byte-swapped data transfer.
- PA-POS-OC3: applied byte-swapped data transfer for TX ring (RX ring
doesn't seem to need this - strange).
14-Feb-2007
-----------
- C7200: added C7200-IO-GE+E, based on Intel i82543 chips.
16-Feb-2007
-----------
- MIPS64: fixed a problem of jump in delay slots (occuring with a "forward"
jump). This caused a malfunction for C7200-IO-2FE and C7200-IO-GE-E cards.
- C7200: adjusted the byte-swapped zone for NPE-300 io-memory.
18-Feb-2007
-----------
- PPC32: Remove JIT compiled pages when a write occurs (required for c2600).
19-Feb-2007
-----------
- PPC32: Optimization for writes on JIT page at address 0.
20-Feb-2007
-----------
- Working on MSFC1 - just for fun (this will probably never route any
packet).
- Fixed DEC21140 TX ring interrupt generation.
21-Feb-2007
-----------
- Continuing on MSFC1 (added EEPROM, SRAM, ...)
- Added NMC93C56 EEPROM support.
23-Feb-2007
-----------
- MPC860: fixed a bug in DMA handling which caused incorrect writes out
of DPRAM memory.
- PPC32: added missing breakpoint function for JIT.
- C7200: rework on network interrupts, for clean handling per slot/port.
24-Feb-2007
-----------
- C7200: Net IRQs are now correctly dispatched. Need to fix all drivers
to generate IRQs correctly.
- DEC21140: proper management of CSR5 register for new interrupt handling.
- i8254x: converted to new interrupt handling.
- Am79c971: fixed interrupt management + a bug with IRQ mask.
- PA-A1/PA-POS-OC3/Mueslix: fixed interrupt management.
25-Feb-2007
-----------
- C2691: updated interrupt infrastructure.
- NM-16ESW: fixed interrupt handling.
26-Feb-2007
-----------
- C3725/C3745: updated interrupt infrastructure.
27-Feb-2007
-----------
- C2600: updated interrupt infrastructure.
02-Mar-2007
-----------
- Added a cache for the instruction lookup tables (ILT), allowing a faster
start.
03-Mar-2007
-----------
- Fixed instruction tables (problem seen on amd64 platforms).
07-Mar-2007
-----------
- MIPS64/PPC32: various code cleanups in JIT code.
- MIPS64: replace the JIT block lookup algorithm based on physical
pages by s-boxes (x86 only).
08-Mar-2007
-----------
- PPC32: JIT block lookup optimization (x86 only).
09-Mar-2007
-----------
- MIPS64/PPC32: JIT block lookup optimization (amd64).
12-Mar-2007
-----------
- PPC32: fixed invalid hash index in JIT block invalidation (thanks to Greg).
13-Mar-2007
-----------
- Updated the Mueslix driver and fixed it for packets > 128 bytes
(IRQ clearing delay required because of the new interrupt system).
- Allowed MTU up to 18000 bytes on the Mueslix driver. This required an
update of the NIO core.
- Full dump of the idle-pc values when no "good" value can be determined.
25-Mar-2007
-----------
- Store the idle-pc values in the CPU structure when no "good" value is
available, so they are readable/usable by dynagen.
- PA-POS-OC3: fixed memory copy which caused invalid frames to be sent.
27-Mar-2007
-----------
- Added a device access counter for each CPU for diagnostics purposes.
29-Mar-2007
-----------
- PPC32: optimizations for eflags->cr computing.
30-Mar-2007
-----------
- PPC32: optimizations in CR handling (split in 8 fields).
31-Mar-2007
-----------
- PPC32: added CR optimizations to amd64 backend.
02-Apr-2007
-----------
- Fixed "nojit" build (reported by Philipp Brenner, BTS entry #156).
- AMD Am79c970 FastEthernet interfaces now announce 100 Mb/s Full duplex.
04-Apr-2007
-----------
- Fixed build (NetIO filters) when PCAP is lacking.
09-Apr-2007
-----------
- Added NM-1A-OC3MM EEPROM definition for future work.
- NM-16ESW: filter CDP specifically to not propagate frames to all ports.
12-Apr-2007
-----------
- Added an hypervisor command to disable direct jumps between JIT blocks
(vm set_blk_direct_jump <vm_name> <0|1>).
15-Apr-2007 => 22-Apr-2007
===========================
- PPC32: rewrite of JIT with peephole and CR flags optimizations.
23-Apr-2007
-----------
- PPC32: converted amd64 JIT to new system.
24-Apr-2007
-----------
- MIPS64: fixed a bug in cache instruction preventing compressed IOS images
to boot.
- PPC32: same as above for ICBI instruction.
- PPC32: fixed ADDZE instruction.
25-Apr-2007
-----------
- C3725: fixed interrupt problems with slot 2 (bad shift - only 4 irq
lines per port).
28-Apr-2007
-----------
- Changed instruction counters to 32-bit type, to get more accurate
results.
29-Apr-2007
-----------
- Experimenting with a per-register memory translation cache.
30-Apr-2007
-----------
- C2600: playing with MPC860 SPI to access WIC eeproms (slot 0 only).
01-May-2007
-----------
- MPC860: continuing on SPI.
- Rewriting/Refactoring code to handle network interfaces (required for WIC
support).
02-May-2007
-----------
- Continuing rework of network interfaces.
03-May-2007
-----------
- Added slot handling hypervisor commands to VM module.
- Fixed some bugs/lacking checks in network card module.
- C2600: added WIC EEPROM read through MPC860 SPI code.
- C2600: beginning of work for basic SCC implementation.
04-May-2007
-----------
- C2600: continuing on SCC.
- C2600: WIC-1T is now working!
- C2600: added WIC-2T (async mode is not supported).
- C1700: introduction of this platform (took c2600 as base model).
05-May-2007
-----------
- MPC860: added SPI relocation support (required for c1700).
- C1700: added NVRAM.
- C1700: added WIC detection / correct EEPROM support.
- MPC860: beginning of work on Fast Ethernet Controller.
07-May-2007
-----------
- MPC860: Fast Ethernet Controller basically working (MII registers
required).
- MPC860: better handling of interrupt levels.
- C1700: added WIC support (WIC-1T/WIC-2T).
14/15-May-2007
--------------
- Flash code rework (required for c1700) to have something more generic.
16-May-2007
-----------
- New flash code re-enabled for all routers requiring it (NPE-G2 bootflash
is broken however).
- C1700: added WIC-1ENET code base with EEPROM MAC address programming.
18-May-2007
-----------
- Memory exceptions are now handled through setjmp/longjmp, avoiding error
checks in memory access functions.
19-May-2007
-----------
- C2600: fixed PCI handling which prevented i82559 device to work.
In fact, the PCI bridge is in a Xilinx device, and the output of
"sh pci hardware" was very different from a real router.
- i8255x (eepro100): added basic code (no RX/TX, only MII working).
20-May-2007
-----------
- Continuing on i8255x.
21-May-2007
-----------
- i8255x: Intel doesn't provide enough info in its documentation for
the RX flexible mode...
22-May-2007
-----------
- i8255x: RX flexible mode works similarly to the 82596CA chipset.
Packet TX and RX seems ok.
23-May-2007
-----------
- C2691/C3725/C3745: fixed GT96100 binding to slot 0.
- GT96100/ETH: fixed interrupt handling for TX packets (the interrupt was
incorrectly disabled when no packet was available on a ring, causing
packet loss when the two ports were enabled) - BTS entry #171.
25-May-2007
-----------
- C3660: correct support of mainboard FastEthernet ports with the new
card subsystem.
- C7200: fixed I/O card definition with new card subsystem.
- Added compatibility mode with old version for slot binding in the
command line.
01-Jun-2007
-----------
- Heavily fixed/tested the Serial drivers to correctly transmit/receive
frames. Now the CRC is not anymore transmitted and the correct size is
set for RX rings (TODO: crc-32 for Mueslix and PA-POS-OC3).
03-Jun-2007
-----------
- Fixed incorrect free in deletion of frame-relay switch VC.
04-Jun-2007
-----------
- PA-POS-OC3/Mueslix: added correct handling of crc-16/crc-32.
10-Jun-2007
-----------
- MIPS64: correct handling of stack for MacOS X (alignment).
- MSFC1: cleaned up module to use the new card infrastructure.
- Frame-Relay switch: removed "trailing" handling which was in fact
only the CRC + final byte.
09-Jul-2007
-----------
- Fixed PA-FE-TX initialization (EEPROM setting lacking).
11-Jul-2007
-----------
- PPC32-JIT: fixed stack alignment for MacOSX/Darwin.
- PPC32-JIT: fixed perf counter and breakpoints.
13-Jul-2007
-----------
- Integrated patches from FreeBSD (Pavel I Volkov), excepted for the vtty
part.
14-17-Jul-2007
--------------
- Rework of VM infrastructure.
17-Jul-2007
-----------
- Added basic plugin subsystem.
- CPU: added custom handler support for undefined memory accesses.
21-22-Jul-2007
--------------
- GT96100: working on SDMA and MPSC.
23-Jul-2007
-----------
- C3745: finally understood how to handle WIC EEPROMs.
24-Jul-2007
-----------
- C3745: added support of WIC-1T & WIC-2T.
- GT96100: fixed SDMA handling.
25-Jul-2007
-----------
- C2691/C3725: added WIC-1T and WIC-2T similarly to C3745.
- C1700: fixed mainboard definitions, added proper support of C1710
(no WIC port, Ethernet port connected on MPC860 SCC1).
- C1700: added 1751 and 1760 definitions.
29-Jul-2007
-----------
- MPC860: fixed MII registers for 1710, 1721 and 1760.
01-Aug-2007
-----------
- C2600/C2691/C3725/C3745: Added NM-CIDS/NM-NAM which can be connected
to a PC emulator.
- C2600: added a check for NM-CIDS/NM-NAM which require XM models.
18-Aug-2007
-----------
- Added WIC address space definitions for platforms that support them.
19-Aug-2007
-----------
- Added ISL support for am79c970 based cards (NM-1FE-TX and others).
27-Aug-2007
-----------
- GT96100: missing check for NULL pointer in set_nio/unset_nio.
- MPC860: same bugfix (SCC and FEC).
31-Aug-2007
-----------
- MIPS/PPC: modified device memory access to allow devices not at a 4k
page boundary (like WICs on 2600).
- Added fake WIC serial drivers, just to catch the memory accesses.
06-Sep-2007
-----------
- PPC32: Fixed BCTR instruction on amd64 jit.
08-Sep-2007
-----------
- Added an object store (through hypervisor) for Dynagen.
11-Sep-2007
-----------
- Proper cleanup of gt_data/mpc_data fields for MPC860 and GT96100 based
platforms (start/stop/exit/crash symptom with Dynagen).
12-Sep-2007
-----------
- Fixed udp_recv simple program which was broken.
- Added "delete_all" command for hypervisor object store.
- Added appropriate code for serial WIC drivers on 1700.
14-Sep-2007
-----------
- Added TCP keepalives on VTTY connections (xabrouck@cisco.com)
- Fixed Flash code.
18-Sep-2007
-----------
- Added a virtual ATM SAR (segmentation and reassembly) engine.
- Added a virtual ATM bridge device (RFC1483).
21-Sep-2007
-----------
- GT96100: fixed CRC handling in MPSC HDLC channels (2 bytes, not 4!)
30-Sep-2007
-----------
- PPC32-JIT: fixed CR signed evaluation in case of overflow.
04-Oct-2007
-----------
- Added ISL support for integrated ports on 2691/3725/3745.
07-Oct-2007
-----------
- Fixed non-JIT build for PPC32.
08-Oct-2007
-----------
- MV64460: rewrite of SDMA code to follow GT96100 model.
09-Oct-2007
-----------
- MV64460: added MPSC registers (as for GT96100).
10-Oct-2007
-----------
- MV64460: added SRAM.
+-----------------------.
| Release: v0.2.8-RC2 |
+-----------------------'
29-Oct-2007
-----------
- C3745: some work on OIR, but unfortunately only NM-4T works at the moment.
30-Oct-2007
-----------
- C3660: added OIR support.
27-Nov-2007
-----------
- C7200: added support for jacket card (C7200-JC-PA) and support for PA
in slot 7.
29-Nov-2007
-----------
- Fixed AAL5 CRC.
15-Jan-2008
-----------
- Added Multicast NIO
19-Jan-2008
-----------
- Added "nio set_mcast_ttl" hypervisor command to change TTL for multicast
NIOs.
25-Jan-2008
-----------
- Added 64-bit support for MacOS X 10.5 - Leopard (stack alignment).
31-Mar-2008
-----------
- PPC32: Fixed DIVW instruction (incorrect cast: unsigned instead of signed).
This was causing problems with OSPF (and probably other protocols) on 2600
platforms.
01-Apr-2008
-----------
- Some minor info added (OS name) to ease debugging.
24-Apr-2008
-----------
- Added NIO traffic statistics (packets/bytes in/out).
25-Apr-2008
-----------
- Added QinQ support in integrated ethernet switch (untested).
07-May-2008
-----------
- More coherent naming for JIT variables ("blocks" -> "tcb").
- Fix QinQ input vector in Ethernet switch (thanks to Pavel Skovajsa).
16-May-2008
-----------
- Merged PPC-host JIT patch from Zhe Fang.
Jun-2008
--------
- Worked on a JIT code sharing system (only MIPS ported at this time)
03-Jul-2008
-----------
- MIPS64: fixed a lot of mistakes in handling of TLB entries.
27-Nov-2008
-----------
- Added "udp auto" NIO to avoid fixed port allocation which can easily fail.
- Bug fixes in socket handling (incorrect setsockopt() for non-RFC2553
systems)
+------------------------------------------------------.
| Last known development version: v0.2.8-20090305-18 \
| Some of the changes only exist in unstable. /
+------------------------------------------------------'
30-Mar-2011 (dynamips-community fork)
-------------------------------------
- Online Insertion and Removal (OIR) support for c3745 (NM-4T only) and c3660.
- c7200: support for jacket card (C7200-JC-PA) and support for PA in slot 7.
- ATM: AAL5 CRC bug fix.
- New Multicast NIO.
- "nio set_mcast_ttl" hypervisor command to change TTL for multicast NIOs.
- 64-bit support for MacOS X 10.5 - Leopard (stack alignment).
- PPC32: DIVW instruction fix (incorrect cast: unsigned instead of signed).
This was causing problems with OSPF (and probably other protocols)
on 2600 platforms.
- Some minor info added (OS name) to ease debugging.
- NIO traffic statistics (packets/bytes in/out).
- QinQ support in integrated Ethernet switch.
- More coherent naming for JIT variables ("blocks" -> "tcb").
- PPC-host JIT patch from Zhe Fang.
- JIT code sharing system (only MIPS ported at this time)
- MIPS64 fixes in handling of TLB entries.
- "udp auto" NIO to avoid fixed port allocation which can easily fail.
- Bug fixes in socket handling (incorrect setsockopt() for non-RFC2553 systems)
- New source code layout to allow stable and unstable to share code
in common in a single distribution.
- Able to set system id at runtime in cli mode using -I <systemid> or
set_system_id in hypervisor mode. This is for routers
1700,2600,3600,3725,3745, and 7200 (not npe-400 or npe-g1 or 2).
System id format is dependent on router, e.g. -I 4279256517 or -I FTX0945W0MY
(these are the current defaults).
- AUX port for routers 1700 to 3745 now works.
- u16552 correctly emulates the latch bit, and decodes more registers.
- Telnet to AUX or CONSOLE is flushed much earlier.
- Make clean improved.
- IOS reload command for non c7200 now terminates the emulation.
- Setting mac address using -m works for non c7200 as well.
- Using inappropriate flag which is platform sensitive gives an error.
- Flag added --noctrl which disables ctrl+]
- Flag added --notelnetmsg which disables welcome text on telnet
AUX and CONSOLE.
- Flag added --filepid <filename> which saves the pid of dynamips to a file.
- Bug fix: xx:xx:xx:xx:xx:xx mac addresses in -m now accepted.
- Bug fix: JayTee patch included for sizeof error in networking
- Bug fix: closing telnet to AUX/CONSOLE may produce SIGPIPE which
is now trapped when using non hypervisor mode.
- Bug fix: ghost file using -G now opened correctly as READONLY.
- Cisco Pagent and CallGen image support for c1700, c2600, c36xx, c37xx,
c7200 NPE-100 to NPE-300:
(see http://www.sadikhov.com/forum/index.php?showtopic=157426&st=20 for details).
+---------------------------------.
| Release: v0.2.8-RC3-community |
+---------------------------------'
12-Nov-2011
-----------
- FreeBSD patches
(http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/dynamips-community/files/).
26-Jun-2012
-----------
- Fixes hypervisor problem of only using default port with a bind address.
+---------------------------------.
| Release: v0.2.8-RC4-community |
+---------------------------------'
26-Jun-2012
-----------
- Support for RFC2553 + binding on specific addresses for console/aux connections.
- True AF independent code (RFC2553). Accepts IPv6 and IPv4 clients in the same console session.
- Update CFLAGS and LIBS for Cygwin.
18-Oct-2012
-----------
- show_cpu_usage command for the vm, used by GNS3 for auto idlepc calculation.
+---------------------------------.
| Release: v0.2.8-RC5-community |
+---------------------------------'
30-Jan-2013
-----------
- Fixed crash when a router (2691, 3725 or 3745) is powered off.
- Multiplatform get_cpu_time function.
- Added rt lib into Makefile (for Linux compilation).
30-Jan-2013
-----------
- Fixed QinQ.
- Simplified TTYPE message.
+---------------------------------.
| Release: v0.2.8-RC6-community |
+---------------------------------'
11-Jun-2013
-----------
- Manual patches
- Patch: avoid dangling pointers when the ppc32 cpu is recompiling a tcb
and an exec page needs to be allocated, causing the tcb to be flushed.
12-Jun-2013 to 15-Jun-2013
--------------------------
- Updated README, changelogs, and makefiles.
- Bumped version to v0.2.8-RC7-community.
+---------------------------------.
| Release: v0.2.8-RC7-community |
+---------------------------------'
18-Jun-2013 to 04-Jul-2013
--------------------------
- Fixed crashes in x86_64 builds by decreasing the optimization level to O2.
It was also reported that using O2 makes packet delivery in general, and frame relay especially more reliable.
- Fixed many memory leaks.
- Updated documentation and makefiles (works with parallel jobs).
- Bumped version to v0.2.8-community.
+-----------------------------.
| Release: v0.2.8-community |
+-----------------------------'
10-Jul-2013 to 31-Jul-2013 (renamed to dynamips)
------------------------------------------------
- Added NVRAM filesystem.
- Added generic_nvram_extract_config and generic_nvram_push_config that use the NVRAM filesystem.
- Reimplemented the nvram_extract_config/nvram_push_config functions of the platforms c1700/c2600/c2692/c3600/c3725/c3745/c7200/c6msfc1.
- Fixed the file handle leak in c6sup1_nvram_extract_config.
- Renamed from Dynamips-community to the original Dynamips, updated documentation and makefiles.
- Bumped version to v0.2.9.
Fixed issue #11 - nvram:private-config is destroyed when we write nvram:startup-config
Fixed issue #13 - C3745 has an emulated NVRAM that is not continuous, so we can generate an invalid checksum when the config is written
Fixed issue #14 - a file descriptor is leaked every time the config is extracted/read
+-------------------.
| Release: v0.2.9 |
+-------------------'
05-Aug-2013 to 07-Sep-2013
--------------------------
- Add an option to produce debug symbols and override the optimization level to the makefiles.
- Fix leak of a mutex and a condition if thread creation fails in timer_create_queue.
- Remove unnecessary call to pthread_exit, the main thread is waiting with pthread_join.
- Add volatile qualifier to variables 'list' and 'running' of timer_queue_t. They are modified and read in different threads.
- Remove the asynchronous cancellation of the timer threads. It is not safe and pthread_cancel is never called.
- Signal the timer queue condition before releasing the mutex, as it should be used.
- Check the running flag before waiting for the condition in timer_loop. This avoids "The Lost Wake-Up Problem" when the program terminates before the timer thread is waiting.
- Add fs_nvram_verify.
- Reimplement nvram_export.
- Rename vm_instance_t.ios_config to ios_startup_config.
- Expand vm_platform_t.nvram_push_config to receive both startup-config and private-config.
- Expand vm_platform_t.nvram_extract_config to get both startup-config and private-config.
- Add vm_instance_t.ios_private_config.
- Rework m_read_file to read the whole file at once.
- Rework vm_nvram_push_config to handle both config files (NULL to keep existing data).
- Extend hypervisor command 'set_config':
- new optional argument for the file with private data.
- new behaviour: an empty string "" means no config file.
- Rework vm_ios_set_config to handle both config files (NULL to keep existing data).
- Update documentation.
- Extend hypervisor command 'extract_config':
- return both startup-config and private-config data.
- empty data is sent as an empty string ''.
- Update documentation.
- Extend hypervisor command 'push_config':
- new optional argument for the private data.
- new behavior: the string '(keep)' means no data is provided and it should preserve existing data.
- Update documentation.
- Add command line options --private-config and --startup-config.
- Update documentation.
- Fix warning "dereferencing type-punned pointer will break strict-aliasing rules".
- Fix m32_tx_acquire not checking the HOLD bit properly.
Note: the datasheet isn't available anymore, so the intended behavior was inferred from surrounding code; it was assumed that the hold bit is managed elsewhere
- Fix warning "suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’".
- Fix warnings "assignment discards ‘const’ qualifier from pointer target type" by copying the backplane/supervisor eeproms.
- Fix memory leaks of c6sup1_t.slot_eeprom data.
- Fix warnings "‘<function name>’ defined but not used".
__unused for function that are not referenced
__maybe_unused for functions that are referenced in excluded code
- Fix warnings "label ‘<name>’ defined but not used".
- Fix warnings "unused variable ‘<name>’".
UNUSED() for variables that are not used
__maybe_used for variables that are used in excluded code
- Fix warnings "variable ‘<name>’ set but not used".
delete unneeded variables that don't help understand the surrounding code
__maybe_unused for the other variables
- Adjust Makefiles:
- clean nvram_export.o
- add missing $(BIN_EXT)
- add target 'both' to facilitate test compilations
- Bump version to v0.2.10.
Implemented enhancement #15 - extend hypervisor commands push_config, extract_config, and set_config
Implemented enhancement #16 - reimplement nvram_export
Fixed issue #17 - Dynamips hangs on startup if no (or unknown) parameters are given v0.2.8 and 0.2.9
+--------------------.
| Release: v0.2.10 |
+--------------------'
16-Sep-2013 to 10-Feb-2014
--------------------------
- Make memzone_map_* functions return NULL on failure.
- Add memzone_map_exec_area.
- Add memzone_unmap.
- Add memzone_sync and memzone_sync_all.
- Remove unnecessary includes to sys/mman.h.
- Add documentation on the hypervisor module "object_store".
- Update documentation on the hypervisor module "hypervisor".
- Add documentation on the hypervisor module "vm_debug".
- Update documentation on the hypervisor module "ethsw".
- Add documentation on the hypervisor module "atm_bridge".
- Update documentation on the hypervisor module "nio".
- Fix hypervisor command push_config not receiving 3 arguments.
- Update documentation on the hypervisor module "vm".
- Update documentation on the hypervisor module "c7200".
- Update documentation on the hypervisor module "c3600".
- Add documentation on the hypervisor module "c3745".
- Add documentation on the hypervisor module "c3725".
- Add documentation on the hypervisor module "c2691".
- Add documentation on the hypervisor module "c2600".
- Add documentation on the hypervisor module "c1700".
- Update documentation.
- Add registry_rename.
- Add hypervisor command "vm rename <instance_name> <new_name>".
- Fix documentation of hypervisor command vm create.
- Add hypervisor command "nio rename <nio_name> <new_name>".
- Add hypervisor command "nio_bridge rename <bridge_name> <new_name>".
- Add hypervisor command "frsw rename <switch_name> <new_name>".
- Add hypervisor command "atmsw rename <switch_name> <new_name>".
- Document when hypervisor mode became available.
- Add hypervisor command "atm_bridge rename <bridge_name> <new_name>".
- Add hypervisor command "atm_bridge rename <bridge_name> <new_name>".
- Add hypervisor command "ethsw rename <switch_name> <new_name>".
- Add hypervisor command "object_store rename <object_name> <new_name>".
- Add hypervisor command "vm get_status <instance_name>".
- Warn the VM isn't running when connecting to the console/aux port.
- Update changelog.
- Replay old text when you connect to the console/aux port.
- Fix hypervisor command 'vm rename' not renaming it's files.
- Fix crash in vm_free with an alternate ROM filename.
- Makefiles:
- Remove un-needed code
- Stable makefile updates
- Top level makefile updates
- Unstable makefile updates
- Remove powerpc comment
- Remove references to asmdefs
- Define arm architecture (thanks to Ubuntu for the patch)
- Change default NPE for c7200 platform from npe-200 to npe-400.
- Fixed wrong variable being passed to registry_rename in vm_rename_instance.
- Possibility to set the system id for c2691 routers.
- Hypervisor commands to get the base MAC address of routers.
- Add in the README.hypervisor that the get_mac_addr hypervisor commands are available since version 0.2.11
- Add hypervisor command 'vm clean_delete <instance>'.
- Add missing changes to the hypervisor_mode.7 man page.
- Make sure IPV6_JOIN_GROUP is defined in cygwin.
- Bump version to v0.2.11.
Fixed issue #20 - segmentation fault when accessing a device that failed to memory map it's file
Implemented enhancement #21 - Renaming devices
Closed issue #22 - Hypervisor documentation is out of date
Implemented enhancement #36 - hypervisor command to clean the files of a vm
Fixed issue #27 - Rename issues.
+--------------------.
| Release: v0.2.11 |
+--------------------'
10-Feb-2014 to 27-Mar-2014
--------------------------
- Missing space in hypervisor_mode.7 manpage (line 310)
- gt96k: more debug info
- Fix packet looping on platforms with Gt96k FE.
- The specs were not clear on whether the M-bit was a "Miss" or "Match".
- It was being treated as a "Match" bit but it turns out IOS treats it as a "Miss" bit.
@see http://forum.gns3.net/post26316.html#p26316
- Gt96k patch correcting the reporting of processed transmit descriptors back to IOS.
- Fixes missing interrupt when gt96k doesn't own the first trasmit descriptor.
- Fixes incorrect clearing of the Own bit. (last must wait for transmission, the rest are cleared when processed)
- Fixes offset when writing back the cmd word of the non-last descriptors. (missing from 0.2.6-RC3)
- Affects c2691, c3725 and c3745.
@see http://forum.gns3.net/post26454.html#p26454
- Clarify the meaning of the +4 offsets with GT_SDMA_CMD_OFFSET.
- Silence forgotten debug message.
- Change default idlemax value from 1500 to 500.
- Add hypervisor command 'vm_debug pmem_cfind'.
- Bump version to v0.2.12.
Fixed issue #29 - packet loss with multicast traffic
Closed issue #31 - create hypervisor command to find a pattern in the router memory
+--------------------.
| Release: v0.2.12 |
+--------------------'
04-Apr-2014 to 05-Jul-2014
--------------------------
- MPC860: Add debug message for the unimplemented CP reset command
- Report the partid of dev_am79c971 type AM79C971_TYPE_10BASE_T as Am79C970A.
- Fixes the "AMD Unknown" that shows up in "show controllers".
IOS calls this "AMD Presidio" or "AmdP2".
- MPC860 FEC: (logic is inlined in dev_mpc860.c for now)
- implement PHY LXT970A, which was hardcoded as values in the MII registers
- if sending with link down, report no heartbeat and lost carrier
- PCMCIA disk:
- annotate the "Card Information Structure" data
- add missing CISTPL_END
- Document Cisco EEPROM format v1 and v4.
- Add CMake build system.
- Missing empty line at end of fs_nvram.c
- Fix unused function warnings.
- Remove unused duplicate of physmem_get_hptr from stable/mips64_jit.c
- Add test builds using Travis CI.
- Create new README.md based on README for GitHub frontpage.
- Add common.h.
- Move generic includes, types and macros from utils.h to common.h.
- Minimize includes in sbox.c/h.
- Minimize includes in crc.c/h.
- Fix unstable nojit compilation.
- Fix unused variable warning in ppc32_jit.c.
- Use dev_dec21140.c from unstable.
- Fix bandwidth statistics
- Check if the NIO can trasmit
- Add #pragma once to common.h
- Rename common.h to dynamips_common.h.
- Delete ds1620.h.
- This file is not used and most of the constants are in dev_ds1620.c.
- Tell the compiler that mem_bswap32 does not require aligned data.
- Minimize headers.
- define FD_SETSIZE for Cygwin in dynamips_common.h
- Rename double underscore macros:
- rename __not_aligned to _not_aligned
- rename __maybe_unused to _maybe_used
- rename __unused to _unused
- Use an exclusive lock while dumping captured packets. (thread safety)
- Respect the snapshot length of the descriptor.
- Report failed setups of hypervisor command 'nio setup_filter'.
- Make a single FAT16 partition when pcmia disks are first created.
- Change pcap snapshot length to 65535.
- Remove old Makefiles to avoid confusion. (not gonna be maintained)
- Improve TX performance of i8254x (PA-GE) by sending up to 16 packets at a time.
- Merge pull request #45 from candlerb/candlerb/txperformance
- Print the device name when debugging pci accesses.
- Indicate the TODO list is from the original author.
Final fix for issue #9 - Reproducable crash
Fixed issue #38 - Unknown file system detected
Fixed issue #41 - "Frame is Too Long" error in Wireshark
Merge pull request #45 from candlerb/candlerb/txperformance
+--------------------.
| Release: v0.2.13 |
+--------------------'
10-Jul-2014 to 01-Sep-2014
--------------------------
- Add -DUSE_UNSTABLE when making an unstable build (MacOSX)
- Add optional argument 'format' to hypervisor commands
- 'send_con_msg' and 'send_aux_msg'.
- Report "X byte(s) written" on succeess.
- String formats:
* plain - plain string (default, old behavior)
* base64 - base64 encoded string
- Use an auxiliary variable to record configured ram size for npe-400
Fixed issue #49 - IOS crashes after router restart
Fixed issue #50 - vm send_con_msg
Fixed issue #55 - 'unstable' installs 'stable' version on Mac OS X
+--------------------+
| Release: v0.2.14 |
+--------------------+
|