source: rtems/bsps/sparc/include/ambapp_ids.h @ 243ddb52

5
Last change on this file since 243ddb52 was 2afb22b, checked in by Chris Johns <chrisj@…>, on 12/23/17 at 07:18:56

Remove make preinstall

A speciality of the RTEMS build system was the make preinstall step. It
copied header files from arbitrary locations into the build tree. The
header files were included via the -Bsome/build/tree/path GCC command
line option.

This has at least seven problems:

  • The make preinstall step itself needs time and disk space.
  • Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error.
  • There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult.
  • The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit.
  • An introduction of a new build system is difficult.
  • Include paths specified by the -B option are system headers. This may suppress warnings.
  • The parallel build had sporadic failures on some hosts.

This patch removes the make preinstall step. All installed header
files are moved to dedicated include directories in the source tree.
Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc,
etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g.
erc32, imx, qoriq, etc.

The new cpukit include directories are:

  • cpukit/include
  • cpukit/score/cpu/@RTEMS_CPU@/include
  • cpukit/libnetworking

The new BSP include directories are:

  • bsps/include
  • bsps/@RTEMS_CPU@/include
  • bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include

There are build tree include directories for generated files.

The include directory order favours the most general header file, e.g.
it is not possible to override general header files via the include path
order.

The "bootstrap -p" option was removed. The new "bootstrap -H" option
should be used to regenerate the "headers.am" files.

Update #3254.

  • Property mode set to 100644
File size: 10.1 KB
Line 
1/**
2 * @file
3 * @ingroup amba
4 * @brief AMBA Plug & Play Bus Vendor and Device IDs
5 */
6
7/*
8 *  COPYRIGHT (c) 2008.
9 *  Gaisler Research
10 *
11 *  This header file provide all known VENDOR and DEVICE IDs available
12 *  in the AMBA Plug & Play information. Taken from GRLIB 3386.
13 *
14 *  The license and distribution terms for this file may be
15 *  found in the file LICENSE in this distribution or at
16 *  http://www.rtems.org/license/LICENSE.
17 *
18 */
19
20#ifndef __AMBAPP_DEVS_H__
21#define __AMBAPP_DEVS_H__
22
23/* Vendor codes */
24#define VENDOR_RESERVED      0x00
25#define VENDOR_GAISLER       0x01
26#define VENDOR_PENDER        0x02
27#define VENDOR_ESA           0x04
28#define VENDOR_ASTRIUM       0x06
29#define VENDOR_OPENCHIP      0x07
30#define VENDOR_OPENCORES     0x08
31#define VENDOR_CONTRIB       0x09
32#define VENDOR_DLR           0x0a
33#define VENDOR_EONIC         0x0b
34#define VENDOR_TELECOMPT     0x0c
35#define VENDOR_DTU           0x0d
36#define VENDOR_BSC           0x0e
37#define VENDOR_RADIONOR      0x0f
38#define VENDOR_GLEICHMANN    0x10
39#define VENDOR_MENTA         0x11
40#define VENDOR_SUN           0x13
41#define VENDOR_MOVIDIA       0x14
42#define VENDOR_ORBITA        0x17
43#define VENDOR_SIEMENS       0x1a
44#define VENDOR_SYNOPSYS      0x21
45#define VENDOR_NASA          0x22
46#define VENDOR_NIIET         0x23
47#define VENDOR_S3            0x31
48#define VENDOR_ACTEL         0xac
49#define VENDOR_APPLECORE     0xae
50#define VENDOR_C3E           0xc3
51#define VENDOR_CBKPAN        0xc8
52#define VENDOR_CAL           0xca
53#define VENDOR_CETON         0xcb
54#define VENDOR_EMBEDDIT      0xea
55#define VENDOR_NASA_GSFC     0xfc
56#define VENDOR_AZST          0xfe
57
58/* Gaisler Research device id's */
59#define GAISLER_LEON2DSU     0x002
60#define GAISLER_LEON3        0x003
61#define GAISLER_LEON3DSU     0x004
62#define GAISLER_ETHAHB       0x005
63#define GAISLER_APBMST       0x006
64#define GAISLER_AHBUART      0x007
65#define GAISLER_SRCTRL       0x008
66#define GAISLER_SDCTRL       0x009
67#define GAISLER_SSRCTRL      0x00a
68#define GAISLER_I2C2AHB      0x00b
69#define GAISLER_APBUART      0x00c
70#define GAISLER_IRQMP        0x00d
71#define GAISLER_AHBRAM       0x00e
72#define GAISLER_AHBDPRAM     0x00f
73#define GAISLER_GRIOMMU2     0x010
74#define GAISLER_GPTIMER      0x011
75#define GAISLER_PCITRG       0x012
76#define GAISLER_PCISBRG      0x013
77#define GAISLER_PCIFBRG      0x014
78#define GAISLER_PCITRACE     0x015
79#define GAISLER_DMACTRL      0x016
80#define GAISLER_AHBTRACE     0x017
81#define GAISLER_DSUCTRL      0x018
82#define GAISLER_CANAHB       0x019
83#define GAISLER_GPIO         0x01a
84#define GAISLER_AHBROM       0x01b
85#define GAISLER_AHBJTAG      0x01c
86#define GAISLER_ETHMAC       0x01d
87#define GAISLER_SWNODE       0x01e
88#define GAISLER_SPW          0x01f
89#define GAISLER_AHB2AHB      0x020
90#define GAISLER_USBDC        0x021
91#define GAISLER_USB_DCL      0x022
92#define GAISLER_DDRMP        0x023
93#define GAISLER_ATACTRL      0x024
94#define GAISLER_DDRSP        0x025
95#define GAISLER_EHCI         0x026
96#define GAISLER_UHCI         0x027
97#define GAISLER_I2CMST       0x028
98#define GAISLER_SPW2         0x029
99#define GAISLER_AHBDMA       0x02a
100#define GAISLER_NUHOSP3      0x02b
101#define GAISLER_CLKGATE      0x02c
102#define GAISLER_SPICTRL      0x02d
103#define GAISLER_DDR2SP       0x02e
104#define GAISLER_SLINK        0x02f
105#define GAISLER_GRTM         0x030
106#define GAISLER_GRTC         0x031
107#define GAISLER_GRPW         0x032
108#define GAISLER_GRCTM        0x033
109#define GAISLER_GRHCAN       0x034
110#define GAISLER_GRFIFO       0x035
111#define GAISLER_GRADCDAC     0x036
112#define GAISLER_GRPULSE      0x037
113#define GAISLER_GRTIMER      0x038
114#define GAISLER_AHB2PP       0x039
115#define GAISLER_GRVERSION    0x03a
116#define GAISLER_APB2PW       0x03b
117#define GAISLER_PW2APB       0x03c
118#define GAISLER_GRCAN        0x03d
119#define GAISLER_I2CSLV       0x03e
120#define GAISLER_U16550       0x03f
121#define GAISLER_AHBMST_EM    0x040
122#define GAISLER_AHBSLV_EM    0x041
123#define GAISLER_GRTESTMOD    0x042
124#define GAISLER_ASCS         0x043
125#define GAISLER_IPMVBCTRL    0x044
126#define GAISLER_SPIMCTRL     0x045
127#define GAISLER_L4STAT       0x047
128#define GAISLER_LEON4        0x048
129#define GAISLER_LEON4DSU     0x049
130#define GAISLER_GRPWM        0x04a
131#define GAISLER_PWM          0x04a
132#define GAISLER_L2CACHE      0x04b
133#define GAISLER_SDCTRL64     0x04c
134#define GAISLER_GR1553B      0x04d
135#define GAISLER_1553TST      0x04e
136#define GAISLER_GRIOMMU      0x04f
137#define GAISLER_FTAHBRAM     0x050
138#define GAISLER_FTSRCTRL     0x051
139#define GAISLER_AHBSTAT      0x052
140#define GAISLER_LEON3FT      0x053
141#define GAISLER_FTMCTRL      0x054
142#define GAISLER_FTSDCTRL     0x055
143#define GAISLER_FTSRCTRL8    0x056
144#define GAISLER_MEMSCRUB     0x057
145#define GAISLER_FTSDCTRL64   0x058
146#define GAISLER_NANDFCTRL    0x059
147#define GAISLER_N2DLLCTRL    0x05a
148#define GAISLER_N2PLLCTRL    0x05b
149#define GAISLER_SPI2AHB      0x05c
150#define GAISLER_DDRSDMUX     0x05d
151#define GAISLER_AHBFROM      0x05e
152#define GAISLER_PCIEXP       0x05f
153#define GAISLER_APBPS2       0x060
154#define GAISLER_VGACTRL      0x061
155#define GAISLER_LOGAN        0x062
156#define GAISLER_SVGACTRL     0x063
157#define GAISLER_T1AHB        0x064
158#define GAISLER_MP7WRAP      0x065
159#define GAISLER_GRSYSMON     0x066
160#define GAISLER_GRACECTRL    0x067
161#define GAISLER_ATAHBSLV     0x068
162#define GAISLER_ATAHBMST     0x069
163#define GAISLER_ATAPBSLV     0x06a
164#define GAISLER_MIGDDR2      0x06b
165#define GAISLER_LCDCTRL      0x06c
166#define GAISLER_SWITCHOVER   0x06d
167#define GAISLER_FIFOUART     0x06e
168#define GAISLER_MUXCTRL      0x06f
169#define GAISLER_B1553BC      0x070
170#define GAISLER_B1553RT      0x071
171#define GAISLER_B1553BRM     0x072
172#define GAISLER_GRAES        0x073
173#define GAISLER_AES          0x073
174#define GAISLER_ECC          0x074
175#define GAISLER_PCIF         0x075
176#define GAISLER_CLKMOD       0x076
177#define GAISLER_HAPSTRAK     0x077
178#define GAISLER_TEST_1X2     0x078
179#define GAISLER_WILD2AHB     0x079
180#define GAISLER_BIO1         0x07a
181#define GAISLER_GRAESDMA     0x07b
182#define GAISLER_AESDMA       0x07b
183#define GAISLER_GRPCI2       0x07c
184#define GAISLER_GRPCI2_DMA   0x07d
185#define GAISLER_GRPCI2_TB    0x07e
186#define GAISLER_MMA          0x07f
187#define GAISLER_SATCAN       0x080
188#define GAISLER_CANMUX       0x081
189#define GAISLER_GRTMRX       0x082
190#define GAISLER_GRTCTX       0x083
191#define GAISLER_GRTMDESC     0x084
192#define GAISLER_GRTMVC       0x085
193#define GAISLER_GEFFE        0x086
194#define GAISLER_GPREG        0x087
195#define GAISLER_GRTMPAHB     0x088
196#define GAISLER_SPWCUC       0x089
197#define GAISLER_SPW2_DMA     0x08a
198#define GAISLER_SPW_ROUTER   0x08b
199#define GAISLER_SPWROUTER    0x08b
200#define GAISLER_EDCLMST      0x08c
201#define GAISLER_GRPWTX       0x08d
202#define GAISLER_GRPWRX       0x08e
203#define GAISLER_GPREGBANK    0x08f
204#define GAISLER_MIG_7SERIES  0x090
205#define GAISLER_GRSPW2_SIST  0x091
206#define GAISLER_SGMII        0x092
207#define GAISLER_RGMII        0x093
208#define GAISLER_IRQGEN       0x094
209#define GAISLER_GRDMAC       0x095
210#define GAISLER_AHB2AVLA     0x096
211#define GAISLER_SPWTDP       0x097
212#define GAISLER_L3STAT       0x098
213#define GAISLER_GR740THS     0x099
214#define GAISLER_GRRM         0x09a
215#define GAISLER_CMAP         0x09b
216#define GAISLER_CPGEN        0x09c
217#define GAISLER_AMBAPROT     0x09d
218#define GAISLER_IGLOO2_BRIDGE 0x09e
219#define GAISLER_AHB2AXI      0x09f
220#define GAISLER_AXI2AHB      0x0a0
221#define GAISLER_FDIR_RSTCTRL 0x0a1
222#define GAISLER_APB3MST      0x0a2
223#define GAISLER_LRAM         0x0a3
224#define GAISLER_BOOTSEQ      0x0a4
225#define GAISLER_TCCOP        0x0a5
226#define GAISLER_SPIMASTER    0x0a6
227#define GAISLER_SPISLAVE     0x0a7
228#define GAISLER_GRSRIO       0x0a8
229
230#define GAISLER_PIPEWRAPPER  0xffa
231#define GAISLER_L2TIME       0xffd  /* internal device: leon2 timer */
232#define GAISLER_L2C          0xffe  /* internal device: leon2compat */
233#define GAISLER_PLUGPLAY     0xfff  /* internal device: plug & play configarea */
234
235/* European Space Agency device id's */
236#define ESA_LEON2            0x002
237#define ESA_LEON2APB         0x003
238#define ESA_IRQ              0x005
239#define ESA_TIMER            0x006
240#define ESA_UART             0x007
241#define ESA_CFG              0x008
242#define ESA_IO               0x009
243#define ESA_MCTRL            0x00f
244#define ESA_PCIARB           0x010
245#define ESA_HURRICANE        0x011
246#define ESA_SPW_RMAP         0x012
247#define ESA_SPW2             0x012
248#define ESA_AHBUART          0x013
249#define ESA_SPWA             0x014
250#define ESA_BOSCHCAN         0x015
251#define ESA_IRQ2             0x016
252#define ESA_AHBSTAT          0x017
253#define ESA_WPROT            0x018
254#define ESA_WPROT2           0x019
255#define ESA_PDEC3AMBA        0x020
256#define ESA_PTME3AMBA        0x021
257
258#define OPENCHIP_APBGPIO     0x001
259#define OPENCHIP_APBI2C      0x002
260#define OPENCHIP_APBSPI      0x003
261#define OPENCHIP_APBCHARLCD  0x004
262#define OPENCHIP_APBPWM      0x005
263#define OPENCHIP_APBPS2      0x006
264#define OPENCHIP_APBMMCSD    0x007
265#define OPENCHIP_APBNAND     0x008
266#define OPENCHIP_APBLPC      0x009
267#define OPENCHIP_APBCF       0x00a
268#define OPENCHIP_APBSYSACE   0x00b
269#define OPENCHIP_APB1WIRE    0x00c
270#define OPENCHIP_APBJTAG     0x00d
271#define OPENCHIP_APBSUI      0x00e
272
273
274#define CONTRIB_CORE1        0x001
275#define CONTRIB_CORE2        0x002
276
277#define GLEICHMANN_CUSTOM    0x001
278#define GLEICHMANN_GEOLCD01  0x002
279#define GLEICHMANN_DAC       0x003
280#define GLEICHMANN_HPI       0x004
281#define GLEICHMANN_SPI       0x005
282#define GLEICHMANN_HIFC      0x006
283#define GLEICHMANN_ADCDAC    0x007
284#define GLEICHMANN_SPIOC     0x008
285#define GLEICHMANN_AC97      0x009
286
287#define SUN_T1               0x001
288#define SUN_S1               0x011
289
290#define ORBITA_1553B         0x001
291#define ORBITA_429           0x002
292#define ORBITA_SPI           0x003
293#define ORBITA_I2C           0x004
294#define ORBITA_SMARTCARD     0x064
295#define ORBITA_SDCARD        0x065
296#define ORBITA_UART16550     0x066
297#define ORBITA_CRYPTO        0x067
298#define ORBITA_SYSIF         0x068
299#define ORBITA_PIO           0x069
300#define ORBITA_RTC           0x0c8
301#define ORBITA_COLORLCD      0x12c
302#define ORBITA_PCI           0x190
303#define ORBITA_DSP           0x1f4
304#define ORBITA_USBHOST       0x258
305#define ORBITA_USBDEV        0x2bc
306
307#define NASA_EP32            0x001
308
309#define CAL_DDRCTRL          0x188
310
311#define ACTEL_COREMP7        0x001
312
313/* Opencores device id's */
314#define OPENCORES_PCIBR  0x4
315#define OPENCORES_ETHMAC 0x5
316
317#endif
Note: See TracBrowser for help on using the repository browser.