summaryrefslogtreecommitdiffstats
path: root/bsps/m68k (follow)
Commit message (Collapse)AuthorAgeFilesLines
* m68k/uC5282: linkcmds KEEP and SORT sectionsGedare Bloom2021-07-011-15/+19
| | | | | Fixes a problem with bad epilog code in _fini and to keep sections necessary with the -ffunction/data-sections.
* bsps/irq: Remove BSP_INTERRUPT_VECTOR_MAXSebastian Huber2021-06-241-1/+0
| | | | | | This define is no longer used. Update #3269.
* bsps/irq: Use BSP_INTERRUPT_VECTOR_COUNTSebastian Huber2021-06-242-2/+2
| | | | | | Use BSP_INTERRUPT_VECTOR_COUNT instead of BSP_INTERRUPT_VECTOR_MAX. Update #3269.
* bsps/irq: Add BSP_INTERRUPT_VECTOR_COUNTSebastian Huber2021-06-241-0/+1
| | | | | | | | | | | | | Assert BSP_INTERRUPT_VECTOR_MAX + 1 == BSP_INTERRUPT_VECTOR_COUNT. After building all BSPs with this patch, BSP_INTERRUPT_VECTOR_MAX can be removed and replaced by BSP_INTERRUPT_VECTOR_COUNT. The BSP_INTERRUPT_VECTOR_COUNT allows a default implementation which supports no interrupt vector at all. Using COUNT instead of MAX may avoid some interpretation issues, for example is the maximum value a valid vector number or not. Update #3269.
* bsps/irq: Remove BSP_INTERRUPT_VECTOR_MINSebastian Huber2021-06-241-2/+0
| | | | | | | | | | Remove BSP_INTERRUPT_VECTOR_MIN and unconditionally let interrupt vector numbers start with zero. The BSP_INTERRUPT_VECTOR_MIN == 0 invariant was tested by the previous commit and building all BSPs. Update #3269.
* bsp/genmcf548x: Change BSP_INTERRUPT_VECTOR_MINSebastian Huber2021-06-241-1/+9
| | | | | | | | | This BSP uses a customized implementation of the interrupt extension API. It was the only BSP which defined BSP_INTERRUPT_VECTOR_MIN to a value other than zero. Define it to zero and use a custom bsp_interrupt_is_valid_vector() function instead. Update #3269.
* bsps: Support RTEMS_NOINIT in linkcmdsSebastian Huber2021-05-0220-0/+82
| | | | Update #3866.
* bsps: Remove networking driversVijay Kumar Banerjee2021-04-079-10898/+0
| | | | Update #3850
* bsps: Replace bsp_specs with an empty fileSebastian Huber2021-01-2816-152/+0
| | | | | | | This fixes an issue with the latest tool chain which adds the default linker script in the endfile specification. Update #3250.
* bsps: Add missing DWARF 5 sectionsSebastian Huber2021-01-261-3/+5
| | | | Sort alphabetically.
* bsps: Support DWARF 5 sectionsSebastian Huber2021-01-251-8/+13
| | | | GCC 11 uses DWARF 5 by default.
* Misc: Correct spelling of occurredJoel Sherrill2020-10-071-1/+1
|
* Remove tmoverhd which existed to produce the obsolete coverhd.hJoel Sherrill2020-09-112-8/+2
| | | | Closes #4040.
* Remove remaining references to coverhd.hJoel Sherrill2020-09-102-2/+0
| | | | Closes #4040.
* mcf52235-testsuite.tcfg: Add sp16Joel Sherrill2020-04-071-0/+1
| | | | Updates #3938.
* tests: Exclude record02 for some BSPsSebastian Huber2020-04-061-0/+1
| | | | Update #3938.
* mrm332-testsuite.tcfg: Add dl01Joel Sherrill2020-03-121-0/+1
|
* bsps: Add RamEnd to linker command filesSebastian Huber2020-02-0421-1/+21
| | | | Update #3838.
* clock: Simplify driver initializationSebastian Huber2019-12-117-53/+7
| | | | | | Use a system initialization handler instead of a legacy IO driver. Update #3834.
* clock: Remove Clock_exit() from APISebastian Huber2019-12-116-6/+6
| | | | | | | This function is no longer supported by the standard clock driver implementation (clockimpl.h). Update #3436.
* bsps: Regenerate headers.amSebastian Huber2019-07-0515-0/+60
| | | | Update #3269.
* bsps: Always build generic interrupt supportSebastian Huber2019-05-1615-0/+15
| | | | | | | This makes it possible to write tests for the generic interrupt controller support. Update #3269.
* Remove superfluous <rtems/system.h> includesSebastian Huber2019-03-143-6/+1
|
* mcf5225x-testsuite.tcfg: Update to account for static allocation and BSP ↵Joel Sherrill2019-03-121-0/+1
| | | | small memory
* mcf52235-testsuite.tcfg: Update to account for static allocation and BSP ↵Joel Sherrill2019-03-121-0/+6
| | | | small memory
* bsps: Adjust shared Doxygen groupsSebastian Huber2019-03-084-11/+11
| | | | Update #3706.
* bsps: Adjust bsp.h Doxygen groupsSebastian Huber2019-03-0820-50/+267
| | | | Update #3706.
* bsps: Adjust architecture Doxygen groupsSebastian Huber2019-03-047-28/+13
| | | | | | | | | | - Use CamelCase as it is not used in our C code. Enables simple search and replace. - Prefix with "RTEMS" to aid deployment and integration. It aids searching and sorting. Update #3706.
* mcf52235-testsuite.tcfg: Add dl07Joel Sherrill2018-11-301-0/+1
|
* m68k/mrm332:Add per-section compilation and linking support (GCI 2018)Shashvat Jain2018-11-291-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The size of the sample executables without this option were: text data bss dec hex filename 172384 2096 14512 188992 2e240 ./capture.exe 70848 1136 11568 83552 14660 ./base_sp.exe 101728 1504 11728 114960 1c110 ./hello.exe 217744 6016 18336 242096 3b1b0 ./loopback.exe 57968 1008 8416 67392 10740 ./minimum.exe 93952 1616 11696 107264 1a300 ./nsecs.exe 166272 1904 12304 180480 2c100 ./paranoia.exe 358240 12032 41136 411408 64710 ./pppd.exe 73104 1168 11600 85872 14f70 ./ticker.exe 73264 1120 15472 89856 15f00 ./unlimited.exe The size of the sample executables with this option were: text data bss dec hex filename 158976 2096 14464 175536 2adb0 ./capture.exe 66304 1136 11488 78928 13450 ./base_sp.exe 92912 1504 11680 106096 19e70 ./hello.exe 202240 6000 18272 226512 374d0 ./loopback.exe 53296 992 8336 62624 f4a0 ./minimum.exe 88032 1616 11600 101248 18b80 ./nsecs.exe 157760 1888 12272 171920 29f90 ./paranoia.exe 346080 12032 41056 399168 61740 ./pppd.exe 68304 1168 11520 80992 13c60 ./ticker.exe 71312 1104 15440 87856 15730 ./unlimited.exe Closes #2567
* m68k/mcf5206elite:Add per-section compilation and linking support (GCI 2018)Shashvat Jain2018-11-291-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The size of the sample executables without this option were: text data bss dec hex filename 70704 1104 11008 82816 14380 ./base_sp.exe 202640 2096 14288 219024 35790 ./capture.exe 240416 2864 12016 255296 3e540 ./cdtest.exe 851024 21840 18736 891600 d9ad0 ./cxx_iostream.exe 570560 4640 23760 598960 923b0 ./fileio.exe 104928 1456 11168 117552 1cb30 ./hello.exe 249904 5968 17776 273648 42cf0 ./loopback.exe 38304 288 6864 45456 b190 ./minimum.exe 94416 1584 11136 107136 1a280 ./nsecs.exe 179728 1856 11744 193328 2f330 ./paranoia.exe 435296 12048 40912 488256 77340 ./pppd.exe 73856 1120 11040 86016 15000 ./ticker.exe 74048 1072 14928 90048 15fc0 ./unlimited.exe The size of the sample executables with this option were: text data bss dec hex filename 172384 2176 12160 186720 2d960 ./cxx_iostream.exe 558320 4608 23440 586368 8f280 ./fileio.exe 96256 1456 11136 108848 1a930 ./hello.exe 234144 5968 17712 257824 3ef20 ./loopback.exe 37648 288 6832 44768 aee0 ./minimum.exe 88560 1568 11056 101184 18b40 ./nsecs.exe 171360 1856 11712 184928 2d260 ./paranoia.exe 422992 12032 40848 475872 742e0 ./pppd.exe 69120 1120 10960 81200 13d30 ./ticker.exe 72464 1072 14896 88432 15970 ./unlimited.exe 66256 1088 10928 78272 131c0 ./base_sp.exe 189296 2096 14256 205648 32350 ./capture.exe 172272 2096 11968 186336 2d7e0 ./cdtest.exe Closes #2572
* m68k/mcf52235:Add per-section compilation and linking support(GCI 2018)Shashvat Jain2018-11-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | The size of the sample executables without this option were: text data bss dec hex filename 69776 1104 4080 74960 124d0 ./base_sp.exe 103376 1472 4192 109040 1a9f0 ./hello.exe 37808 304 2768 40880 9fb0 ./minimum.exe 93152 1584 4208 98944 18280 ./nsecs.exe 72784 1136 4112 78032 130d0 ./ticker.exe 72608 1088 7952 81648 13ef0 ./unlimited.exe The size of the sample executables with this option were: text data bss dec hex filename 65120 1104 4000 70224 11250 ./base_sp.exe 94448 1472 4160 100080 186f0 ./hello.exe 36928 304 2736 39968 9c20 ./minimum.exe 87072 1584 4128 92784 16a70 ./nsecs.exe 67888 1136 4032 73056 11d60 ./ticker.exe 70816 1088 7920 79824 137d0 ./unlimited.exe Closes #2570
* m68k/mcf5225x:Add per-section compilation and linking support(GCI 2018)Shashvat Jain2018-11-281-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The size of the sample executables without this option were: text data bss dec hex filename 71984 1104 4080 77168 12d70 ./base_sp.exe 201872 2112 8944 212928 33fc0 ./capture.exe 104464 1472 4192 110128 1ae30 ./hello.exe 249584 5984 10864 266432 410c0 ./loopback.exe 40032 304 2768 43104 a860 ./minimum.exe 95360 1584 4208 101152 18b20 ./nsecs.exe 179760 1872 4816 186448 2d850 ./paranoia.exe 432912 12048 35568 480528 75510 ./pppd.exe 74992 1136 4112 80240 13970 ./ticker.exe 74832 1088 7952 83872 147a0 ./unlimited.exe The size of the sample executables with this option were: text data bss dec hex filename 67456 1104 4000 72560 11b70 ./base_sp.exe 188272 2096 8912 199280 30a70 ./capture.exe 95536 1472 4160 101168 18b30 ./hello.exe 233568 5984 10784 250336 3d1e0 ./loopback.exe 39264 304 2736 42304 a540 ./minimum.exe 89392 1584 4128 95104 17380 ./nsecs.exe 171120 1872 4784 177776 2b670 ./paranoia.exe 420336 12048 35488 467872 723a0 ./pppd.exe 70208 1136 4032 75376 12670 ./ticker.exe 73152 1088 7920 82160 140f0 ./unlimited.exe Closes #2568
* m68k/mcf5329:Add per-section compilation and linking support (GCI 2018)Shashvat Jain2018-11-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The size of the sample executables without this option were: text data bss dec hex filename 87654 1152 11968 100774 189a6 base_sp.exe 203318 2112 14896 220326 35ca6 capture.exe 257014 2912 12960 272886 429f6 cdtest.exe 865750 21888 19648 907286 dd816 cxx_iostream.exe 569078 4640 24352 598070 92036 fileio.exe 121094 1520 12048 134662 20e06 hello.exe 70614 1024 8768 80406 13a16 minimum.exe 110806 1632 12080 124518 1e666 nsecs.exe 196326 1920 12688 210934 337f6 paranoia.exe 90406 1184 12000 103590 194a6 ticker.exe 89958 1136 15808 106902 1a196 unlimited.exe The size of the sample executables with this option were: text data bss dec hex filename 83270 1152 11888 96310 17836 base_sp.exe 189974 2112 14864 206950 32866 capture.exe 188982 2144 12928 204054 31d16 cdtest.exe 188662 2240 13072 203974 31cc6 cxx_iostream.exe 556822 4624 24048 585494 8ef16 fileio.exe 112422 1520 12016 125958 1ec06 hello.exe 66086 1008 8688 75782 12806 minimum.exe 104982 1632 11984 118598 1cf46 nsecs.exe 187958 1904 12656 202518 31716 paranoia.exe 85766 1184 11920 98870 18236 ticker.exe 88406 1120 15776 105302 19b56 unlimited.exe Closes #2569
* m68k/mcf5235:Add per-section compilation and linking support (GCI 2018)Shashvat Jain2018-11-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The size of the sample executables without this option were: text data bss dec hex filename 83152 1152 11904 96208 177d0 base_sp.exe 198784 2096 14848 215728 34ab0 capture.exe 252496 2912 12912 268320 41820 cdtest.exe 861744 21888 19648 903280 dc870 cxx_iostream.exe 564768 4640 24304 593712 90f30 fileio.exe 117184 1504 12048 130736 1feb0 hello.exe 261024 6016 18688 285728 45c20 loopback.exe 67232 1008 8768 77008 12cd0 minimum.exe 106304 1632 12016 119952 1d490 nsecs.exe 191840 1904 12624 206368 32620 paranoia.exe 429824 12048 41472 483344 76010 pppd.exe 85904 1168 11936 99008 182c0 ticker.exe 86016 1120 15808 102944 19220 unlimited.exe The size of the sample executables with this option were: text data bss dec hex filename 78512 1136 11824 91472 16550 base_sp.exe 185184 2096 14800 202080 31560 capture.exe 184192 2144 12864 199200 30a20 cdtest.exe 184416 2224 13072 199712 30c20 cxx_iostream.exe 552240 4624 23984 580848 8dcf0 fileio.exe 108256 1504 12016 121776 1dbb0 hello.exe 245008 6016 18608 269632 41d40 loopback.exe 62448 1008 8688 72144 119d0 minimum.exe 100240 1616 11936 113792 1bc80 nsecs.exe 183216 1904 12592 197712 30450 paranoia.exe 417248 12048 41392 470688 72ea0 pppd.exe 81024 1168 11856 94048 16f60 ticker.exe 84208 1120 15776 101104 18af0 unlimited.exe Closes #2571
* m68k/av5282: Add per-section compilation and linking support (GCI 2018)Shashvat Jain2018-11-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The size of the sample executables without this option were: text data bss dec hex filename 83168 1152 11904 96224 177e0 base_sp.exe 199184 2096 14848 216128 34c40 capture.exe 252496 2912 12912 268320 41820 cdtest.exe 861872 21888 19648 903408 dc8f0 cxx_iostream.exe 564816 4640 24304 593760 90f60 fileio.exe 117168 1504 12048 130720 1fea0 hello.exe 261216 6016 18688 285920 45ce0 loopback.exe 67200 1008 8768 76976 12cb0 minimum.exe 106336 1632 12016 119984 1d4b0 nsecs.exe 191856 1904 12624 206384 32630 paranoia.exe 430224 12048 41472 483744 761a0 pppd.exe 85920 1168 11936 99024 182d0 ticker.exe 85984 1120 15808 102912 19200 unlimited.exe The size of the sample executables with this option were: text data bss dec hex filename 78512 1136 11824 91472 16550 base_sp.exe 185584 2096 14800 202480 316f0 capture.exe 184192 2144 12864 199200 30a20 cdtest.exe 184384 2224 13072 199680 30c00 cxx_iostream.exe 552288 4624 23984 580896 8dd20 fileio.exe 108224 1504 12016 121744 1db90 hello.exe 245168 6016 18608 269792 41de0 loopback.exe 62416 1008 8688 72112 119b0 minimum.exe 100256 1616 11936 113808 1bc90 nsecs.exe 183216 1904 12592 197712 30450 paranoia.exe 417648 12048 41392 471088 73030 pppd.exe 81024 1168 11856 94048 16f60 ticker.exe 84176 1120 15776 101072 18ad0 unlimited.exe Closes #2574
* m68k/uC5282: Add per-section compilation and linking (GCI 2018)Shashvat Jain2018-11-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The size of the sample executables without this option were: text data bss dec hex filename 120160 1520 14048 135728 21230 ./base_sp.exe 205904 2112 16976 224992 36ee0 ./capture.exe 257216 2912 15040 275168 432e0 ./cdtest.exe 867616 21888 21776 911280 de7b0 ./cxx_iostream.exe 574528 4640 26432 605600 93da0 ./fileio.exe 138256 1520 14192 153968 25970 ./hello.exe 268304 6032 20816 295152 480f0 ./loopback.exe 102592 1376 10848 114816 1c080 ./minimum.exe 137072 1632 14160 152864 25520 ./nsecs.exe 213328 1920 14768 230016 38280 ./paranoia.exe 439440 12048 43600 495088 78df0 ./pppd.exe 122896 1536 14080 138512 21d10 ./ticker.exe 123296 1488 17952 142736 22d90 ./unlimited.exe The size of the sample executables with this option were: text data bss dec hex filename 58752 1104 9968 69824 110c0 ./base_sp.exe 180560 2096 14864 197520 30390 ./capture.exe 165328 2080 10992 178400 2b8e0 ./cdtest.exe 162288 2144 11152 175584 2ade0 ./cxx_iostream.exe 545008 4624 24032 573664 8c0e0 ./fileio.exe 85440 1456 10112 97008 17af0 ./hello.exe 216528 5904 16688 239120 3a610 ./loopback.exe 34944 960 6768 42672 a6b0 ./minimum.exe 82064 1584 10096 93744 16e30 ./nsecs.exe 163808 1872 10752 176432 2b130 ./paranoia.exe 388960 11904 40768 441632 6bd20 ./pppd.exe 61856 1136 10000 72992 11d20 ./ticker.exe 61888 1072 13872 76832 12c20 ./unlimited.exe Closes #2575
* m68k/gen68360:Add per-section compilation and linking supportShashvat Jain2018-11-253-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The size of the sample executables without this option were: text data bss dec hex filename 76560 1200 19504 97264 17bf0 ./base_sp.exe 191776 2160 22448 216384 34d40 ./capture.exe 243760 2976 20496 267232 413e0 ./cdtest.exe 827184 21872 26928 875984 d5dd0 ./cxx_iostream.exe 532960 4688 31904 569552 8b0d0 ./fileio.exe 97888 1472 19360 118720 1cfc0 ./hello.exe 250368 6080 26272 282720 45060 ./loopback.exe 34336 304 15056 49696 c220 ./minimum.exe 99840 1680 19616 121136 1d930 ./nsecs.exe 185936 1968 20240 208144 32d10 ./paranoia.exe 414992 12096 49072 476160 74400 ./pppd.exe 79472 1232 19536 100240 18790 ./ticker.exe 66368 1088 23120 90576 161d0 ./unlimited.exe The size of the sample executables with this option were: text data bss dec hex filename 59200 1120 19136 79456 13660 ./base_sp.exe 178912 2160 22400 203472 31ad0 ./capture.exe 163712 2112 20160 185984 2d680 ./cdtest.exe 163696 2192 20352 186240 2d780 ./cxx_iostream.exe 521344 4672 31584 557600 88220 ./fileio.exe 89600 1472 19328 110400 1af40 ./hello.exe 222384 5984 25920 254288 3e150 ./loopback.exe 33728 304 15024 49056 bfa0 ./minimum.exe 81280 1584 19248 102112 18ee0 ./nsecs.exe 164960 1872 19904 186736 2d970 ./paranoia.exe 402928 12096 48992 464016 71490 ./pppd.exe 62112 1136 19168 82416 141f0 ./ticker.exe 64864 1072 23088 89024 15bc0 ./unlimited.exe Closes #2566.
* m68k/gen68340:Add per-section compilation and linking supportpritishjain2018-11-241-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The size of the sample executables without this option were: 65600 4384 19280 89264 15cb0 ./m68k-rtems5/c/gen68340/testsuites/samples/base_sp.exe 199728 5504 22688 227920 37a50 ./m68k-rtems5/c/gen68340/testsuites/samples/capture.exe 233024 6160 20288 259472 3f590 ./m68k-rtems5/c/gen68340/testsuites/samples/cdtest.exe 829632 25152 27008 881792 d7480 ./m68k-rtems5/c/gen68340/testsuites/samples/cxx_iostream.exe 539072 8048 32144 579264 8d6c0 ./m68k-rtems5/c/gen68340/testsuites/samples/fileio.exe 100320 4752 19440 124512 1e660 ./m68k-rtems5/c/gen68340/testsuites/samples/hello.exe 240080 9264 26048 275392 433c0 ./m68k-rtems5/c/gen68340/testsuites/samples/loopback.exe 36784 3584 15152 55520 d8e0 ./m68k-rtems5/c/gen68340/testsuites/samples/minimum.exe 89104 4864 19408 113376 1bae0 ./m68k-rtems5/c/gen68340/testsuites/samples/nsecs.exe 175200 5152 20016 200368 30eb0 ./m68k-rtems5/c/gen68340/testsuites/samples/paranoia.exe 422944 15456 49312 487712 77120 ./m68k-rtems5/c/gen68340/testsuites/samples/pppd.exe 68768 4416 19312 92496 16950 ./m68k-rtems5/c/gen68340/testsuites/samples/ticker.exe 68816 4368 23200 96384 17880 ./m68k-rtems5/c/gen68340/testsuites/samples/unlimited.exe The size of the sample executables with this option enabled were: text data bss dec hex filename 54384 4384 19200 77968 13090 ./m68k-rtems5/c/gen68340/testsuites/samples/base_sp.exe 177648 5488 22640 205776 323d0 ./m68k-rtems5/c/gen68340/testsuites/samples/capture.exe 159392 5344 20208 184944 2d270 ./m68k-rtems5/c/gen68340/testsuites/samples/cdtest.exe 158720 5424 20432 184576 2d100 ./m68k-rtems5/c/gen68340/testsuites/samples/cxx_iostream.exe 515696 8016 31792 555504 879f0 ./m68k-rtems5/c/gen68340/testsuites/samples/fileio.exe 83920 4736 19392 108048 1a610 ./m68k-rtems5/c/gen68340/testsuites/samples/hello.exe 206640 9168 25920 241728 3b040 ./m68k-rtems5/c/gen68340/testsuites/samples/loopback.exe 21232 3520 15104 39856 9bb0 ./m68k-rtems5/c/gen68340/testsuites/samples/minimum.exe 78352 4864 19312 102528 19080 ./m68k-rtems5/c/gen68340/testsuites/samples/nsecs.exe 159600 5136 19968 184704 2d180 ./m68k-rtems5/c/gen68340/testsuites/samples/paranoia.exe 377376 15296 48528 441200 6bb70 ./m68k-rtems5/c/gen68340/testsuites/samples/pppd.exe 58304 4416 19232 81952 14020 ./m68k-rtems5/c/gen68340/testsuites/samples/ticker.exe 59360 4336 23168 86864 15350 ./m68k-rtems5/c/gen68340/testsuites/samples/unlimited.exe Closes #2573.
* bsps/m68k: Use interrupt stack for init stackSebastian Huber2018-11-195-0/+5
| | | | Update #3459.
* m68k: Remove use of proc_ptrSebastian Huber2018-11-122-5/+9
| | | | Update #3585.
* Include missing <sys/types.h>Sebastian Huber2018-11-121-0/+2
| | | | Update #3598.
* score: Rename interrupt stack symbolsSebastian Huber2018-11-088-14/+14
| | | | | | | | | | | | | Rename * _Configuration_Interrupt_stack_area_begin in _ISR_Stack_area_begin, * _Configuration_Interrupt_stack_area_end in _ISR_Stack_area_end, and * _Configuration_Interrupt_stack_size in _ISR_Stack_size. Move definitions to <rtems/score/isr.h>. The new names are considerable shorter and in the right namespace. Update #3459.
* network: Use kernel/user space header filesSebastian Huber2018-09-108-9/+8
| | | | | | | | | | Add and use <machine/rtems-bsd-kernel-space.h> and <machine/rtems-bsd-user-space.h> similar to the libbsd to avoid command line defines and defines scattered throught the code base. Simplify cpukit/libnetworking/Makefile.am. Update #3375.
* uC5282/clock/clock.c: Correct bsp_idle_thread() prototypeJoel Sherrill2018-08-291-1/+1
|
* gen68340/include/m340timer.h: Fix not a prototype warningsJoel Sherrill2018-08-291-4/+4
|
* bsps/m68k/shared/cache/cache.h: Fix warnings and clean upJoel Sherrill2018-08-291-38/+43
|
* Rework initialization and interrupt stack supportSebastian Huber2018-06-2721-118/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Statically initialize the interrupt stack area (_Configuration_Interrupt_stack_area_begin, _Configuration_Interrupt_stack_area_end, and _Configuration_Interrupt_stack_size) via <rtems/confdefs.h>. Place the interrupt stack area in a special section ".rtemsstack.interrupt". Let BSPs define the optimal placement of this section in their linker command files (e.g. in a fast on-chip memory). This change makes makes the CPU_HAS_SOFTWARE_INTERRUPT_STACK and CPU_HAS_HARDWARE_INTERRUPT_STACK CPU port defines superfluous, since the low level initialization code has all information available via global symbols. This change makes the CPU_ALLOCATE_INTERRUPT_STACK CPU port define superfluous, since the interrupt stacks are allocated by confdefs.h for all architectures. There is no need for BSP-specific linker command file magic (except the section placement), see previous ARM linker command file as a bad example. Remove _CPU_Install_interrupt_stack(). Initialize the hardware interrupt stack in _CPU_Initialize() if necessary (e.g. m68k_install_interrupt_stack()). The optional _CPU_Interrupt_stack_setup() is still useful to customize the registration of the interrupt stack area in the per-CPU information. The initialization stack can reuse the interrupt stack, since * interrupts are disabled during the sequential system initialization, and * the boot_card() function does not return. This stack resuse saves memory. Changes per architecture: arm: * Mostly replace the linker symbol based configuration of stacks with the standard <rtems/confdefs.h> configuration via CONFIGURE_INTERRUPT_STACK_SIZE. The size of the FIQ, ABT and UND mode stack is still defined via linker symbols. These modes are rarely used in applications and the default values provided by the BSP should be sufficient in most cases. * Remove the bsp_processor_count linker symbol hack used for the SMP support. This is possible since the interrupt stack area is now allocated by the linker and not allocated from the heap. This makes some configure.ac stuff obsolete. Remove the now superfluous BSP variants altcycv_devkit_smp and realview_pbx_a9_qemu_smp. bfin: * Remove unused magic linker command file allocation of initialization stack. Maybe a previous linker command file copy and paste problem? In the start.S the initialization stack is set to a hard coded value. lm32, m32c, mips, nios2, riscv, sh, v850: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. m68k: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. powerpc: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. * Used dedicated memory region (REGION_RTEMSSTACK) for the interrupt stack on BSPs using the shared linkcmds.base (replacement for REGION_RWEXTRA). sparc: * Remove the hard coded initialization stack. Use the interrupt stack for the initialization stack on the boot processor. This saves 16KiB of RAM. Update #3459.
* bsps: Support .rtemsstack.* linker input sectionsSebastian Huber2018-06-2720-9/+71
| | | | | | Use a dedicated memory region or place it between the BSS and workspace. Update #3459.
* Remove Clock_driver_support_shutdown_hardware()Sebastian Huber2018-06-278-64/+0
| | | | | | | | | | | | | | | | | The aim of this clock driver hook was to stop clock tick interrupts at some late point in the exit() procedure. The use of atexit() pulls in malloc() which pulls in errno. It is incompatible with the intention of the CONFIGURE_DISABLE_NEWLIB_REENTRANCY configuration option. The exit() function must be called from thread context, so accompanied clock tick interrupts should cause no harm. On the contrary, someone may assume a normal operating system operation, e.g. working timeouts. Remove the Clock_driver_support_shutdown_hardware() clock driver hook. Close #3436.