Commit Graph

13743 Commits

Author SHA1 Message Date
Joel Sherrill
55159ee96e arm/lpc24xx (lpc24xx variants) Add per-section compilation and linking support.
updates #2577.

For the lpc2362 BSP variant:

The size of the sample executables without this option were:

   text	   data	    bss	    dec	     he	filename
  65110	   1820	  31008	  97938	  17e92	ticker.exe
  21906	   1088	  31712	  54706	   d5b2	minimum.exe
  78376	   1908	  30912	 111196	  1b25c	nsecs.exe
  63254	   1820	  31008	  96082	  17752	base_sp.exe
  65106	   1844	  30976	  97926	  17e86	unlimited.exe
  75538	   1796	  31040	 108374	  1a756	hello.exe

The size of the sample executables with this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  61042	   1808	  31008	  93858	  16ea2	ticker.exe
  14864	    288	  32512	  47664	   ba30	minimum.exe
  74632	   1896	  30912	 107440	  1a3b0	nsecs.exe
  59070	   1808	  31008	  91886	  166ee	base_sp.exe
  60030	   1816	  31008	  92854	  16ab6	unlimited.exe
  70122	   1744	  31072	 102938	  1921a	hello.exe

For the lpc23xx_tli800 BSP variant:

The size of the sample executables without this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  65110	   1820	  31008	  97938	  17e92	ticker.exe
  21906	   1088	  31712	  54706	   d5b2	minimum.exe
  78376	   1908	  30912	 111196	  1b25c	nsecs.exe
  63254	   1820	  31008	  96082	  17752	base_sp.exe
  65106	   1844	  30976	  97926	  17e86	unlimited.exe
  75538	   1796	  31040	 108374	  1a756	hello.exe

For the lpc23xx_tli800 BSP variant:

   text	   data	    bss	    	  dec	    	  hex	filename
  61042	   1808	  31008	  93858	  16ea2	ticker.exe
  14864	    288	  32512	  47664	   ba30	minimum.exe
  74632	   1896	  30912	 107440	  1a3b0	nsecs.exe
  59070	   1808	  31008	  91886	  166ee	base_sp.exe
  60030	   1816	  31008	  92854	  16ab6	unlimited.exe
  70122	   1744	  31072	 102938	  1921a	hello.exe

For the lpc24xx_ea BSP variant:

The size of the sample executables without this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  64458	   1724	33553760	33619942	200ffe6	ticker.exe
  21402	   1088	33597472	33619962	200fffa	minimum.exe
 585614	   2004	33032320	33619938	200ffe2	cxx_iostream.exe
 372001	   5808	33242144	33619953	200fff1	fileio.exe
 288766	  12616	33318560	33619942	200ffe6	pppd.exe
 135302	   2360	33482272	33619934	200ffde	capture.exe
  77732	   1812	33540416	33619960	200fff8	nsecs.exe
 126250	   2100	33491584	33619934	200ffde	paranoia.exe
 136950	   1756	33481248	33619954	200fff2	cdtest.exe
  62602	   1724	33555616	33619942	200ffe6	base_sp.exe
  64462	   1748	33553728	33619938	200ffe2	unlimited.exe
  74890	   1700	33543360	33619950	200ffee	hello.exe
 176902	   6500	33436544	33619946	200ffea	loopback.exe

The size of the sample executables with this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  60234	   1712	33557984	33619930	200ffda	ticker.exe
  14360	    288	33605312	33619960	200fff8	minimum.exe
 368478	   1976	33249504	33619958	200fff6	cxx_iostream.exe
 362089	   5796	33252064	33619949	200ffed	fileio.exe
 268310	  12464	33339168	33619942	200ffe6	pppd.exe
 129382	   2340	33488224	33619946	200ffea	capture.exe
  73824	   1800	33544320	33619944	200ffe8	nsecs.exe
 122250	   2088	33495616	33619954	200fff2	paranoia.exe
 130694	   1744	33487520	33619958	200fff6	cdtest.exe
  58262	   1712	33559968	33619942	200ffe6	base_sp.exe
  59222	   1720	33559008	33619950	200ffee	unlimited.exe
  69314	   1648	33548992	33619954	200fff2	hello.exe
 164318	   6400	33449216	33619934	200ffde	loopback.exe

For the lpc24xx_ncs_ram BSP variant:

The size of the sample executables without this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  64606	   1820	8387712	8454138	 80fffa	ticker.exe
  21402	   1088	8431648	8454138	 80fffa	minimum.exe
 585766	   2100	7866240	8454106	 80ffda	cxx_iostream.exe
 372158	   5904	8076064	8454126	 80ffee	fileio.exe
 288918	  12712	8152480	8454110	 80ffde	pppd.exe
 135446	   2456	8316224	8454126	 80ffee	capture.exe
  77880	   1908	8374336	8454124	 80ffec	nsecs.exe
 126402	   2196	8325536	8454134	 80fff6	paranoia.exe
 137102	   1852	8315168	8454122	 80ffea	cdtest.exe
  62750	   1820	8389568	8454138	 80fffa	base_sp.exe
  64610	   1844	8387680	8454134	 80fff6	unlimited.exe
  75042	   1796	8377280	8454118	 80ffe6	hello.exe
 177046	   6596	8270496	8454138	 80fffa	loopback.exe

The size of the sample executables with this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  60538	   1808	8391776	8454122	 80ffea	ticker.exe
  14360	    288	8439488	8454136	 80fff8	minimum.exe
 368782	   2072	8083264	8454118	 80ffe6	cxx_iostream.exe
 362398	   5892	8085824	8454114	 80ffe2	fileio.exe
 268614	  12560	8172960	8454134	 80fff6	pppd.exe
 129686	   2436	8322016	8454138	 80fffa	capture.exe
  74128	   1896	8378080	8454104	 80ffd8	nsecs.exe
 122554	   2184	8329376	8454114	 80ffe2	paranoia.exe
 130998	   1840	8321280	8454118	 80ffe6	cdtest.exe
  58566	   1808	8393760	8454134	 80fff6	base_sp.exe
  59526	   1816	8392768	8454110	 80ffde	unlimited.exe
  69618	   1744	8382752	8454114	 80ffe2	hello.exe
 164622	   6496	8283008	8454126	 80ffee	loopback.exe

For the lpc24xx_ncs_rom_ext BSP variant:

The size of the sample executables without this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  64810	   1820	4194912	4261542	 4106a6	ticker.exe
  21606	   1088	4238848	4261542	 4106a6	minimum.exe
 585970	   2100	3673472	4261542	 4106a6	cxx_iostream.exe
 372366	   5904	3883264	4261534	 41069e	fileio.exe
 289122	  12712	3959712	4261546	 4106aa	pppd.exe
 135650	   2456	4123424	4261530	 41069a	capture.exe
  78084	   1908	4181536	4261528	 410698	nsecs.exe
 126606	   2196	4132736	4261538	 4106a2	paranoia.exe
 137306	   1852	4122368	4261526	 410696	cdtest.exe
  62954	   1820	4196768	4261542	 4106a6	base_sp.exe
  64814	   1844	4194880	4261538	 4106a2	unlimited.exe
  75246	   1796	4184480	4261522	 410692	hello.exe
 177250	   6596	4077696	4261542	 4106a6	loopback.exe

The size of the sample executables with this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  60742	   1808	4198976	4261526	 410696	ticker.exe
  14564	    288	4246688	4261540	 4106a4	minimum.exe
 368986	   2072	3890464	4261522	 410692	cxx_iostream.exe
 362606	   5892	3893024	4261522	 410692	fileio.exe
 268818	  12560	3980160	4261538	 4106a2	pppd.exe
 129890	   2436	4129216	4261542	 4106a6	capture.exe
  74332	   1896	4185312	4261540	 4106a4	nsecs.exe
 122758	   2184	4136576	4261518	 41068e	paranoia.exe
 131202	   1840	4128480	4261522	 410692	cdtest.exe
  58770	   1808	4200960	4261538	 4106a2	base_sp.exe
  59730	   1816	4200000	4261546	 4106aa	unlimited.exe
  69822	   1744	4189952	4261518	 41068e	hello.exe
 164826	   6496	4090208	4261530	 41069a	loopback.exe

For the lpc24xx_ncs_rom_int BSP variant:

The size of the sample executables without this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  64746	   1820	4226400	4292966	 418166	ticker.exe
  21542	   1088	4227104	4249734	 40d886	minimum.exe
 372302	   5904	4222336	4600542	 4632de	fileio.exe
 289058	  12712	4215808	4517578	 44eeca	pppd.exe
 135586	   2456	4225792	4363834	 42963a	capture.exe
  78020	   1908	4226304	4306232	 41b538	nsecs.exe
 126542	   2196	4226016	4354754	 4272c2	paranoia.exe
 137242	   1852	4226400	4365494	 429cb6	cdtest.exe
  62890	   1820	4226400	4291110	 417a26	base_sp.exe
  64750	   1844	4226368	4292962	 418162	unlimited.exe
  75182	   1796	4226432	4303410	 41aa32	hello.exe
 177186	   6596	4221920	4405702	 4339c6	loopback.exe

The size of the sample executables with this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  60678	   1808	4226400	4288886	 417176	ticker.exe
  14500	    288	4227904	4242692	 40bd04	minimum.exe
 368922	   2072	4226176	4597170	 4625b2	cxx_iostream.exe
 362542	   5892	4222368	4590802	 460cd2	fileio.exe
 268754	  12560	4215936	4497250	 449f62	pppd.exe
 129826	   2436	4225792	4358054	 427fa6	capture.exe
  74268	   1896	4226304	4302468	 41a684	nsecs.exe
 122694	   2184	4226016	4350894	 4263ae	paranoia.exe
 131138	   1840	4226400	4359378	 4284d2	cdtest.exe
  58706	   1808	4226400	4286914	 4169c2	base_sp.exe
  59666	   1816	4226400	4287882	 416d8a	unlimited.exe
  69758	   1744	4226464	4297966	 4194ee	hello.exe
 164762	   6496	4222016	4393274	 43093a	loopback.exe

For the lpc24xx_plx800_ram BSP variant:

The size of the sample executables without this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  64618	   1820	33553504	33619942	200ffe6	ticker.exe
  21414	   1088	33597440	33619942	200ffe6	minimum.exe
 585778	   2100	33032064	33619942	200ffe6	cxx_iostream.exe
 372173	   5904	33241888	33619965	200fffd	fileio.exe
 288914	  12712	33318336	33619962	200fffa	pppd.exe
 135458	   2456	33482048	33619962	200fffa	capture.exe
  77892	   1908	33540160	33619960	200fff8	nsecs.exe
 126414	   2196	33491328	33619938	200ffe2	paranoia.exe
 137114	   1852	33480992	33619958	200fff6	cdtest.exe
  62762	   1820	33555360	33619942	200ffe6	base_sp.exe
  64622	   1844	33553472	33619938	200ffe2	unlimited.exe
  75054	   1796	33543104	33619954	200fff2	hello.exe
 177058	   6596	33436288	33619942	200ffe6	loopback.exe

The size of the sample executables with this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  60550	   1808	33557600	33619958	200fff6	ticker.exe
  14372	    288	33605280	33619940	200ffe4	minimum.exe
 368794	   2072	33249088	33619954	200fff2	cxx_iostream.exe
 362413	   5892	33251648	33619953	200fff1	fileio.exe
 268610	  12560	33338784	33619954	200fff2	pppd.exe
 129698	   2436	33487808	33619942	200ffe6	capture.exe
  74140	   1896	33543904	33619940	200ffe4	nsecs.exe
 122566	   2184	33495200	33619950	200ffee	paranoia.exe
 131010	   1840	33487104	33619954	200fff2	cdtest.exe
  58578	   1808	33559552	33619938	200ffe2	base_sp.exe
  59538	   1816	33558592	33619946	200ffea	unlimited.exe
  69630	   1744	33548576	33619950	200ffee	hello.exe
 164634	   6496	33448832	33619962	200fffa	loopback.exe

For the lpc24xx_plx800_rom_int BSP variant:

The size of the sample executables without this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  64762	   1820	33618208	33684790	201fd36	ticker.exe
  21558	   1088	33618912	33641558	2015456	minimum.exe
 372321	   5904	33614144	33992369	206aeb1	fileio.exe
 289058	  12712	33607616	33909386	2056a8a	pppd.exe
 135602	   2456	33617600	33755658	203120a	capture.exe
  78036	   1908	33618112	33698056	2023108	nsecs.exe
 126558	   2196	33617824	33746578	202ee92	paranoia.exe
 137258	   1852	33618208	33757318	2031886	cdtest.exe
  62906	   1820	33618208	33682934	201f5f6	base_sp.exe
  64766	   1844	33618176	33684786	201fd32	unlimited.exe
  75198	   1796	33618240	33695234	2022602	hello.exe
 177202	   6596	33613728	33797526	203b596	loopback.exe

The size of the sample executables with this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
  60694	   1808	33618208	33680710	201ed46	ticker.exe
  14516	    288	33619712	33634516	20138d4	minimum.exe
 368938	   2072	33617984	33988994	206a182	cxx_iostream.exe
 362561	   5892	33614176	33982629	20688a5	fileio.exe
 268754	  12560	33607744	33889058	2051b22	pppd.exe
 129842	   2436	33617600	33749878	202fb76	capture.exe
  74284	   1896	33618112	33694292	2022254	nsecs.exe
 122710	   2184	33617824	33742718	202df7e	paranoia.exe
 131154	   1840	33618208	33751202	20300a2	cdtest.exe
  58722	   1808	33618208	33678738	201e592	base_sp.exe
  59682	   1816	33618208	33679706	201e95a	unlimited.exe
  69774	   1744	33618272	33689790	20210be	hello.exe
 164778	   6496	33613824	33785098	203850a	loopback.exe
2016-03-10 18:07:32 -06:00
Joel Sherrill
8467c315e2 atsamv-testsuite.tcfg: new file] 2016-03-10 18:07:29 -06:00
Joel Sherrill
4e059db8cc arm/lpc24xx (lpc17xx variants): Add per-section compilation and linking support.
updates #2577.

For the lpc17xx_ea_ram BSP variant:

The size of the sample executables without this option were:

   text	   data	    bss	    	  dec	    	  hex	filename
   63646   1724	33554592	33619962	200fffa	ticker.exe
   21634   1088	33597216	33619938	200ffe2	minimum.exe
  549386   2004	33068544	33619934	200ffde	cxx_iostream.exe
  392562   5800	33221600	33619962	200fffa	fileio.exe
  299662  12616	33307680	33619958	200fff6	pppd.exe
  133838   2360	33483744	33619942	200ffe6	capture.exe
   75020   1812	33543104	33619936	200ffe0	nsecs.exe
  125706   2100	33492160	33619966	200fffe	paranoia.exe
  127758   1748	33490432	33619938	200ffe2	cdtest.exe
   61686   1724	33556544	33619954	200fff2	base_sp.exe
   63370   1748	33554848	33619966	200fffe	unlimited.exe
   71414   1692	33546848	33619954	200fff2	hello.exe
  180698   6500	33432768	33619966	200fffe	loopback.exe

The size of the sample executables with this option enabled were:

   text	   data	    bss	    	  dec	    	  hex	filename
  58982	   1712	33559264	33619958	200fff6	ticker.exe
  13818	    280	33605856	33619954	200fff2	minimum.exe
 336134	   1960	33281856	33619950	200ffee	cxx_iostream.exe
 380810	   5788	33233344	33619942	200ffe6	fileio.exe
 277010	  12464	33330464	33619938	200ffe2	pppd.exe
 127358	   2340	33490240	33619938	200ffe2	capture.exe
  70672	   1800	33547488	33619960	200fff8	nsecs.exe
 120746	   2088	33497120	33619954	200fff2	paranoia.exe
 121282	   1736	33496928	33619946	200ffea	cdtest.exe
  56902	   1712	33561344	33619958	200fff6	base_sp.exe
  57346	   1712	33560896	33619954	200fff2	unlimited.exe
  65078	   1640	33553216	33619934	200ffde	hello.exe
 166730	   6400	33446816	33619946	200ffea	loopback.exe

For the lpc17xx_ea_rom_int BSP variant:

The size of the sample executables without this option enabled were:

   text	   data	    bss	    	  dec	    	  hex	filename
  63814	   1724	33557096	33622634	2010a6a	ticker.exe
  21802	   1088	33557704	33580594	2006632	minimum.exe
 392734	   5800	33553064	33951598	2060f6e	fileio.exe
 299830	  12616	33546504	33858950	204a586	pppd.exe
 134006	   2360	33556488	33692854	2021cb6	capture.exe
  75188	   1812	33557000	33634000	20136d0	nsecs.exe
 125874	   2100	33556712	33684686	201fcce	paranoia.exe
 127926	   1748	33557096	33686770	20204f2	cdtest.exe
  61854	   1724	33557096	33620674	20102c2	base_sp.exe
  63538	   1748	33557064	33622350	201094e	unlimited.exe
  71582	   1692	33557128	33630402	20128c2	hello.exe
 180866	   6500	33552616	33739982	202d4ce	loopback.exe

The size of the sample executables with this option enabled were:

   text	   data	    bss	    	  dec	    	  hex	filename
  59150	   1712	33557096	33617958	200f826	ticker.exe
  13986	    280	33558504	33572770	20047a2	minimum.exe
 336302	   1960	33556904	33895166	20532fe	cxx_iostream.exe
 380982	   5788	33553064	33939834	205e17a	fileio.exe
 277178	  12464	33546632	33836274	2044cf2	pppd.exe
 127526	   2340	33556488	33686354	2020352	capture.exe
  70840	   1800	33557000	33629640	20125c8	nsecs.exe
 120914	   2088	33556712	33679714	201e962	paranoia.exe
 121450	   1736	33557096	33680282	201eb9a	cdtest.exe
  57070	   1712	33557096	33615878	200f006	base_sp.exe
  57514	   1712	33557096	33616322	200f1c2	unlimited.exe
  65246	   1640	33557160	33624046	2010fee	hello.exe
 166898	   6400	33552712	33726010	2029e3a	loopback.exe

For the lpc17xx_plx800_ram BSP variant:

The size of the sample executables without this option enabled were:

   text	   data	    bss	    dec	    hex	filename
  63802	   1820	33554336	33619958	200fff6	ticker.exe
  21630	   1088	33597216	33619934	200ffde	minimum.exe
 549534	   2100	33068320	33619954	200fff2	cxx_iostream.exe
 392722	   5896	33221344	33619962	200fffa	fileio.exe
 299802	  12712	33307424	33619938	200ffe2	pppd.exe
 134002	   2456	33483488	33619946	200ffea	capture.exe
  75176	   1908	33542848	33619932	200ffdc	nsecs.exe
 125862	   2196	33491904	33619962	200fffa	paranoia.exe
 127922	   1844	33490176	33619942	200ffe6	cdtest.exe
  61850	   1820	33556288	33619958	200fff6	base_sp.exe
  63518	   1844	33554592	33619954	200fff2	unlimited.exe
  71562	   1788	33546592	33619942	200ffe6	hello.exe
 180854	   6596	33432512	33619962	200fffa	loopback.exe

The size of the sample executables with this option enabled were:

   text	   data	    bss	    	  dec	    	  hex	filename
  59274	   1808	33558848	33619930	200ffda	ticker.exe
  13814	    280	33605856	33619950	200ffee	minimum.exe
 336418	   2056	33281472	33619946	200ffea	cxx_iostream.exe
 381106	   5884	33232960	33619950	200ffee	fileio.exe
 277294	  12560	33330080	33619934	200ffde	pppd.exe
 127642	   2436	33489856	33619934	200ffde	capture.exe
  70964	   1896	33547072	33619932	200ffdc	nsecs.exe
 121038	   2184	33496736	33619958	200fff6	paranoia.exe
 121566	   1832	33496544	33619942	200ffe6	cdtest.exe
  57194	   1808	33560928	33619930	200ffda	base_sp.exe
  57622	   1808	33560512	33619942	200ffe6	unlimited.exe
  65362	   1736	33552832	33619930	200ffda	hello.exe
 167022	   6496	33446432	33619950	200ffee	loopback.exe

For the lpc17xx_plx800_rom_int BSP variant:

The size of the sample executables without this option enabled were:

   text	   data	    bss	    dec	    hex	filename
  64010	   1820	33618208	33684038	201fa46	ticker.exe
  21838	   1088	33618912	33641838	201556e	minimum.exe
 392934	   5896	33614176	34013006	206ff4e	fileio.exe
 300010	  12712	33607616	33920338	2059552	pppd.exe
 134210	   2456	33617600	33754266	2030c9a	capture.exe
  75384	   1908	33618112	33695404	20226ac	nsecs.exe
 126070	   2196	33617824	33746090	202ecaa	paranoia.exe
 128130	   1844	33618208	33748182	202f4d6	cdtest.exe
  62058	   1820	33618208	33682086	201f2a6	base_sp.exe
  63726	   1844	33618176	33683746	201f922	unlimited.exe
  71770	   1788	33618240	33691798	2021896	hello.exe
 181062	   6596	33613728	33801386	203c4aa	loopback.exe

The size of the sample executables with this option enabled were:

   text	   data	    bss	    	  dec	    	  hex	filename
  59482	   1808	33618208	33679498	201e88a	ticker.exe
  14022	    280	33619712	33634014	20136de	minimum.exe
 336626	   2056	33618016	33956698	206235a	cxx_iostream.exe
 381318	   5884	33614176	34001378	206d1e2	fileio.exe
 277502	  12560	33607744	33897806	2053d4e	pppd.exe
 127850	   2436	33617600	33747886	202f3ae	capture.exe
  71172	   1896	33618112	33691180	202162c	nsecs.exe
 121246	   2184	33617824	33741254	202d9c6	paranoia.exe
 121774	   1832	33618208	33741814	202dbf6	cdtest.exe
  57402	   1808	33618208	33677418	201e06a	base_sp.exe
  57830	   1808	33618208	33677846	201e216	unlimited.exe
  65570	   1736	33618272	33685578	202004a	hello.exe
 167230	   6496	33613824	33787550	2038e9e	loopback.exe
2016-03-10 18:06:54 -06:00
Joel Sherrill
94300521d9 powerpc/mvme5500: Use shared pci_find_device() 2016-03-10 10:38:52 -06:00
Joel Sherrill
81df701ab4 mips/malta: Use shared pci_find_device() and removed unused pci_list_devices()
Also includes .h file cleanup.
2016-03-10 10:38:49 -06:00
Joel Sherrill
22bbb9f165 pc386: Add --disable-com1-com4 boot argument 2016-03-10 10:38:46 -06:00
Joel Sherrill
efbf6c910a libbsp/shared/console.c: Clean up memory allocation for per device data 2016-03-10 10:34:27 -06:00
Joel Sherrill
6db5ea03c3 pc386/startup/bsp_fatal_halt.c: Fix noreturn does return warning 2016-03-10 10:34:25 -06:00
Joel Sherrill
2e516dd46f pc386/startup/bspstart.c: Reformat and cleanup file header 2016-03-10 10:34:24 -06:00
Joel Sherrill
356b2c23f5 pc386: Add PCI UART support 2016-03-10 10:34:15 -06:00
Joel Sherrill
0ac1538db8 console_private.h: Improve comment for vt_ioctl() 2016-03-10 10:34:13 -06:00
Joel Sherrill
3662738787 console_private.h: Remove prototypes for non-existent methods bsp_com_inch() and bsp_com_outch() 2016-03-10 10:34:10 -06:00
Joel Sherrill
c3c57b1ba3 pc386: Improve boot command arguments for console/printk device selection
This patch adds the "--printk=" boot command line argument to specify
the printk() device. It also enhances the "--console=" boot command
line argument to match any device configured in the console device
table. The arguments are parsed as early as possible so they take
effect early. Currently, this is immediately after PCI initialization.
2016-03-10 10:33:27 -06:00
Joel Sherrill
f770fcb368 Add shared PCI support and enhance pc386 to support non-legacy PCI configuration space
This patch fundamentally results from enhancements to the pc386 BSP
to support systems which do **NOT** have the legacy PCI BIOS. The
patch adds support for detecting when legacy PCI BIOS is not
present and then using IO space to access to PCI Configuration Space.
This resulted in dynamically selected between two implementations
of PCI and refactoring out the shared methods.

This patch adds shared implementations of pci_bus_count() and
pci_find_device(). Subsequent patches will remove implementations
of these methods in other BSPs where possible.
2016-03-10 10:30:25 -06:00
Joel Sherrill
367176450c pc386/configure.ac: Delete incorrect and unused AM_CONDITIONAL 2016-03-10 10:26:53 -06:00
Joel Sherrill
3b6972327e i386/shared/pci/pcibios.c: Remove unused pcib_find_by_class() 2016-03-10 10:26:52 -06:00
Joel Sherrill
8ce16a4766 i386/shared/pci/pcibios.c: Remove unused pcib_special_cycle() 2016-03-10 10:26:49 -06:00
Joel Sherrill
12c9dc8ff5 pc386: Eliminate pcibios.h and begin removal obsolete PCI BIOS API uses
This first step eliminates the following as public APIs for the pc386
BSP:

  + pcib_conf_read8
  + pcib_conf_read16
  + pcib_conf_read32
  + pcib_conf_write8
  + pcib_conf_write16
  + pcib_conf_write32

The if_fxp.c driver uses these enough where I provided local macros
to allow the code to be mostly unmodified. On other architectures
these names have been used privately. It will take multiple patches
to completely eliminate these symbols from the RTEMS source tree.

The focus of the first effort is just to eliminate these as a public
pc386 API so support can be added for systems without legacy PCI BIOS.
2016-03-10 10:26:48 -06:00
Sebastian Huber
9f5754b5c2 bsps: Avoid Giant lock in simulator clock driver
Update #2555.
2016-03-04 15:15:57 +01:00
Sebastian Huber
90d8567d34 score: Distribute clock tick to all online CPUs
Update #2554.
2016-03-04 13:36:10 +01:00
Gedare Bloom
daa303da3e pc386: adjust assembly in bsp_fatal_halt 2016-03-03 16:40:17 -05:00
Joel Sherrill
328bd350aa i386: refactor libcpu/cpu.h into rtems/score/i386.h
Fixes #2515.
2016-03-03 16:36:30 -05:00
Gedare Bloom
3267f9580f i386: prepare for paravirtualized interrupts 2016-03-03 16:36:30 -05:00
Gedare Bloom
505dc617c8 i386: relocate fatal halt to bsp layer 2016-03-03 16:36:30 -05:00
Gedare Bloom
fd05a055e6 i386: move idle thread into BSP layer 2016-03-03 16:36:29 -05:00
Joel Sherrill
e56266cb3e version.c: Add space so printing is neater 2016-03-03 16:36:29 -05:00
Joel Sherrill
3f5e0961b4 smdk2410: Resurrect missing gp32 files
When the gp32 BSP was obsoleted and removed, files were deleted that
were actually used by the gp32.

This was actually a violation of the expected directory structure
and why it wasn't caught. Another example of why continuous integration
testing -- even just building is important.
2016-03-03 08:12:53 -06:00
Sebastian Huber
cc1add7b44 bsps: Delete empty Clock_driver_support_at_tick() 2016-03-03 09:49:15 +01:00
Sebastian Huber
73de9393e3 bsp/qoriq: Do not touch MMU config for SMP start
Assume that the boot page is visible in the currently unused heap area.
2016-03-03 09:10:13 +01:00
Sebastian Huber
e468ba5532 U-Boot: Flush data cache after bdinfo copy 2016-03-03 09:10:13 +01:00
Martin Galvan
8c5c53f478 am335x irq handling improvement
This patch makes the following changes to the Beaglebone IRQ handling code:

- Disable support for nested interrupts.
- Detect spurious IRQs using the SPURIOUSIRQ field of the INTC_SIR_IRQ register.
- Acknowledge spurious IRQs by setting the NewIRQAgr bit of the INTC_CONTROL
  register. This cleans the SPURIOUSIRQ field and allows new interrupts
  to be generated.
- Improve the get_mir_reg function a bit.

Closes #2580.
2016-02-28 00:23:02 +01:00
Sebastian Huber
c466c62d78 bsp/leon3: Use -mcpu=leon3 machine option
Due to GCC configuration changes, the -muser-mode option is superfluous.
2016-02-22 07:04:17 +01:00
punitvara
42989d6f59 arm: Fixed typo in file bbb-gpio.c
This patch fixes typo "moode".

	Signed-off: Punit Vara <punitvara@gmail.com>
2016-02-19 16:09:04 -06:00
Joel Sherrill
e41d8ce5a7 arm/.../lpc1768_embed.cfg: Disable per function sections
updates #2576.
2016-02-06 10:25:00 -06:00
Joel Sherrill
8755f2a3d0 m68k/.../uC5282.cfg: Disable per function sections
updates #2575.
2016-02-06 10:22:17 -06:00
Joel Sherrill
aaa21b18aa powerpc/.../ss555.cfg: Correct ticket number in comment 2016-02-06 10:19:46 -06:00
Joel Sherrill
c99c70298b m68k/.../mcf5225x.cfg: Correct ticket number in comment 2016-02-06 10:18:57 -06:00
Joel Sherrill
406b3b7b98 powerpc/.../qemuppc.cfg: Correct ticket number in comment 2016-02-06 10:18:41 -06:00
Joel Sherrill
6564bd2abb powerpc/.../mpc8260ads.cfg: Correct ticket number in comment 2016-02-06 10:17:59 -06:00
Joel Sherrill
a3687b5c4f m68k/.../mrm332.cfg: Correct ticket number in comment 2016-02-06 10:17:02 -06:00
Joel Sherrill
fb81d367a3 m68k/gen68360/.../*.cfg: Correct ticket number in comment 2016-02-06 10:14:56 -06:00
Joel Sherrill
96cfad6d6f m68k/.../av5282.cfg: Disable per function sections
updates #2574.
2016-02-06 10:12:14 -06:00
Joel Sherrill
50ae9957f8 m68k/.../gen68340.cfg: Disable per function sections
updates #2573.
2016-02-06 10:12:14 -06:00
Joel Sherrill
1c3dd579f1 m68k/.../mcf5206elite.cfg: Disable per function sections
updates #2572.
2016-02-06 10:10:58 -06:00
Joel Sherrill
6a1cbb749c m68k/.../mcf5235.cfg: Disable per function sections
updates #2571.
2016-02-06 10:09:45 -06:00
Joel Sherrill
7cd9f934ff m68k/.../mcf52235.cfg: Disable per function sections
updates #2570.
2016-02-06 10:08:30 -06:00
Joel Sherrill
78fd1ec198 m68k/.../mcf5329.cfg: Disable per function sections
updates #2569.
2016-02-06 09:55:27 -06:00
Joel Sherrill
ea791d52bd m68k/.../mcf5329.cfg: Disable per function sections
updates #2569.
2016-02-06 09:51:54 -06:00
Joel Sherrill
123e2ec098 m68k/.../mcf5225x.cfg: Disable per function sections
updates #2568.
2016-02-06 09:45:48 -06:00
Joel Sherrill
303429f0d9 m68k/.../mrm332.cfg: Disable per function sections
updates #2567.
2016-02-06 09:43:22 -06:00