summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/powerpc/psim
diff options
context:
space:
mode:
Diffstat (limited to 'spec/build/bsps/powerpc/psim')
-rw-r--r--spec/build/bsps/powerpc/psim/abi.yml21
-rw-r--r--spec/build/bsps/powerpc/psim/bsppsim.yml85
-rw-r--r--spec/build/bsps/powerpc/psim/objmpci.yml18
-rw-r--r--spec/build/bsps/powerpc/psim/objnet.yml16
-rw-r--r--spec/build/bsps/powerpc/psim/optclkfastidle.yml18
-rw-r--r--spec/build/bsps/powerpc/psim/optsbrk.yml15
-rw-r--r--spec/build/bsps/powerpc/psim/optsprg.yml15
-rw-r--r--spec/build/bsps/powerpc/psim/optvecbase.yml16
-rw-r--r--spec/build/bsps/powerpc/psim/start.yml14
9 files changed, 218 insertions, 0 deletions
diff --git a/spec/build/bsps/powerpc/psim/abi.yml b/spec/build/bsps/powerpc/psim/abi.yml
new file mode 100644
index 0000000000..8155213038
--- /dev/null
+++ b/spec/build/bsps/powerpc/psim/abi.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -Dppc603e
+- -meabi
+- -mcpu=603e
+- -msdata=sysv
+- -fno-common
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/psim/bsppsim.yml b/spec/build/bsps/powerpc/psim/bsppsim.yml
new file mode 100644
index 0000000000..c281175c90
--- /dev/null
+++ b/spec/build/bsps/powerpc/psim/bsppsim.yml
@@ -0,0 +1,85 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: psim
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: psim
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/psim/include/bsp.h
+ - bsps/powerpc/psim/include/psim.h
+ - bsps/powerpc/psim/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/psim/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/psim/start/linkcmds
+ - bsps/powerpc/shared/start/linkcmds.base
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../objexc
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objmpci
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optclkfastidle
+- role: build-dependency
+ uid: optsbrk
+- role: build-dependency
+ uid: optsprg
+- role: build-dependency
+ uid: optvecbase
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/powerpc/psim/console/console-io.c
+- bsps/powerpc/psim/console/consupp.S
+- bsps/powerpc/psim/irq/irq_init.c
+- bsps/powerpc/psim/start/align_h.S
+- bsps/powerpc/psim/start/bspstart.c
+- bsps/powerpc/shared/altivec/vec_sup.c
+- bsps/powerpc/shared/altivec/vec_sup_asm.S
+- bsps/powerpc/shared/btimer/btimer-ppc-dec.c
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/clock/clock-ppc-dec.c
+- bsps/powerpc/shared/clock/p_clock.c
+- bsps/powerpc/shared/irq/openpic.c
+- bsps/powerpc/shared/irq/openpic_i8259_irq.c
+- bsps/powerpc/shared/irq/ppc-irq-legacy.c
+- bsps/powerpc/shared/mmu/bat.c
+- bsps/powerpc/shared/mmu/mmuAsm.S
+- bsps/powerpc/shared/mmu/pte121.c
+- bsps/powerpc/shared/start/sbrk.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-polled.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+type: build
diff --git a/spec/build/bsps/powerpc/psim/objmpci.yml b/spec/build/bsps/powerpc/psim/objmpci.yml
new file mode 100644
index 0000000000..01e44452f5
--- /dev/null
+++ b/spec/build/bsps/powerpc/psim/objmpci.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_MULTIPROCESSING
+includes: []
+install: []
+links: []
+source:
+- bsps/powerpc/psim/mpci/addrconv.c
+- bsps/powerpc/psim/mpci/getcfg.c
+- bsps/powerpc/psim/mpci/lock.c
+- bsps/powerpc/psim/mpci/mpisr.c
+type: build
diff --git a/spec/build/bsps/powerpc/psim/objnet.yml b/spec/build/bsps/powerpc/psim/objnet.yml
new file mode 100644
index 0000000000..f54646395f
--- /dev/null
+++ b/spec/build/bsps/powerpc/psim/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/powerpc/psim/net/if_sim.c
+type: build
diff --git a/spec/build/bsps/powerpc/psim/optclkfastidle.yml b/spec/build/bsps/powerpc/psim/optclkfastidle.yml
new file mode 100644
index 0000000000..df86867fa7
--- /dev/null
+++ b/spec/build/bsps/powerpc/psim/optclkfastidle.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/psim
+description: |
+ This sets a mode where the time runs as fast as possible when a clock ISR occurs while the IDLE thread is executing. This can significantly reduce simulation times.
+enabled-by: true
+links: []
+name: CLOCK_DRIVER_USE_FAST_IDLE
+type: build
diff --git a/spec/build/bsps/powerpc/psim/optsbrk.yml b/spec/build/bsps/powerpc/psim/optsbrk.yml
new file mode 100644
index 0000000000..05a1acd75f
--- /dev/null
+++ b/spec/build/bsps/powerpc/psim/optsbrk.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ If defined then the BSP may reduce the available memory size initially. This can be useful for debugging (reduce the core size) or dynamic loading (std gcc text offsets/jumps are < +/-32M). Note that the policy can still be defined by the application (see sbrk.c, BSP_sbrk_policy). By undefining CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK this feature is removed and a little memory is saved.
+enabled-by: true
+links: []
+name: CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
+type: build
diff --git a/spec/build/bsps/powerpc/psim/optsprg.yml b/spec/build/bsps/powerpc/psim/optsprg.yml
new file mode 100644
index 0000000000..89f5b47135
--- /dev/null
+++ b/spec/build/bsps/powerpc/psim/optsprg.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If defined, then the PowerPC specific code in RTEMS will use some of the special purpose registers to slightly optimize interrupt response time. The use of these registers can conflict with other tools like debuggers.
+enabled-by: true
+links: []
+name: PPC_USE_SPRG
+type: build
diff --git a/spec/build/bsps/powerpc/psim/optvecbase.yml b/spec/build/bsps/powerpc/psim/optvecbase.yml
new file mode 100644
index 0000000000..6de89c1aca
--- /dev/null
+++ b/spec/build/bsps/powerpc/psim/optvecbase.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 4293918976
+default-by-variant: []
+description: |
+ This defines the base address of the exception table. NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: PPC_VECTOR_FILE_BASE
+type: build
diff --git a/spec/build/bsps/powerpc/psim/start.yml b/spec/build/bsps/powerpc/psim/start.yml
new file mode 100644
index 0000000000..d4d2efd571
--- /dev/null
+++ b/spec/build/bsps/powerpc/psim/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/psim/start/start.S
+target: start.o
+type: build