aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/ports/e200
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-02-16 09:53:03 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-02-16 09:53:03 +0000
commit566bc155acac0ef8f2826920244713f10044f951 (patch)
treeb01a82d1de1b8dc5bcc625c6f77e5bd25cbcb395 /os/common/ports/e200
parentb1b94e5bdf4eb998bbfe907e1de1d4e1c965b503 (diff)
downloadChibiOS-566bc155acac0ef8f2826920244713f10044f951.tar.gz
ChibiOS-566bc155acac0ef8f2826920244713f10044f951.tar.bz2
ChibiOS-566bc155acac0ef8f2826920244713f10044f951.zip
Start of tree reorganization.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8897 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/ports/e200')
-rw-r--r--os/common/ports/e200/compilers/CW/crt0.s261
-rw-r--r--os/common/ports/e200/compilers/CW/unhandled.s1861
-rw-r--r--os/common/ports/e200/compilers/CW/vectors.h81
-rw-r--r--os/common/ports/e200/compilers/CW/vectors.s1580
-rw-r--r--os/common/ports/e200/compilers/GCC/crt0.s245
-rw-r--r--os/common/ports/e200/compilers/GCC/ld/SPC560B50.ld30
-rw-r--r--os/common/ports/e200/compilers/GCC/ld/SPC560B60.ld30
-rw-r--r--os/common/ports/e200/compilers/GCC/ld/SPC560B64.ld30
-rw-r--r--os/common/ports/e200/compilers/GCC/ld/SPC560D40.ld30
-rw-r--r--os/common/ports/e200/compilers/GCC/ld/SPC560P50.ld30
-rw-r--r--os/common/ports/e200/compilers/GCC/ld/SPC563M64.ld29
-rw-r--r--os/common/ports/e200/compilers/GCC/ld/SPC564A70.ld29
-rw-r--r--os/common/ports/e200/compilers/GCC/ld/SPC564A80.ld29
-rw-r--r--os/common/ports/e200/compilers/GCC/ld/SPC56EC74.ld30
-rw-r--r--os/common/ports/e200/compilers/GCC/ld/SPC56EL54_LSM.ld29
-rw-r--r--os/common/ports/e200/compilers/GCC/ld/SPC56EL60_LSM.ld29
-rw-r--r--os/common/ports/e200/compilers/GCC/ld/SPC56EL70_LSM.ld29
-rw-r--r--os/common/ports/e200/compilers/GCC/ld/SPC57EM80_HSM.ld31
-rw-r--r--os/common/ports/e200/compilers/GCC/mk/startup_spc560bcxx.mk11
-rw-r--r--os/common/ports/e200/compilers/GCC/mk/startup_spc560bxx.mk11
-rw-r--r--os/common/ports/e200/compilers/GCC/mk/startup_spc560dxx.mk11
-rw-r--r--os/common/ports/e200/compilers/GCC/mk/startup_spc560pxx.mk11
-rw-r--r--os/common/ports/e200/compilers/GCC/mk/startup_spc563mxx.mk11
-rw-r--r--os/common/ports/e200/compilers/GCC/mk/startup_spc564axx.mk11
-rw-r--r--os/common/ports/e200/compilers/GCC/mk/startup_spc56ecxx.mk11
-rw-r--r--os/common/ports/e200/compilers/GCC/mk/startup_spc56elxx.mk11
-rw-r--r--os/common/ports/e200/compilers/GCC/rules.mk242
-rw-r--r--os/common/ports/e200/compilers/GCC/rules_z0.ld162
-rw-r--r--os/common/ports/e200/compilers/GCC/rules_z3.ld159
-rw-r--r--os/common/ports/e200/compilers/GCC/rules_z4.ld159
-rw-r--r--os/common/ports/e200/compilers/GCC/vectors.h81
-rw-r--r--os/common/ports/e200/compilers/GCC/vectors.s2615
-rw-r--r--os/common/ports/e200/devices/SPC560BCxx/boot.h117
-rw-r--r--os/common/ports/e200/devices/SPC560BCxx/boot.s217
-rw-r--r--os/common/ports/e200/devices/SPC560BCxx/intc.h96
-rw-r--r--os/common/ports/e200/devices/SPC560BCxx/ppcparams.h86
-rw-r--r--os/common/ports/e200/devices/SPC560Bxx/boot.h117
-rw-r--r--os/common/ports/e200/devices/SPC560Bxx/boot.s217
-rw-r--r--os/common/ports/e200/devices/SPC560Bxx/intc.h96
-rw-r--r--os/common/ports/e200/devices/SPC560Bxx/ppcparams.h86
-rw-r--r--os/common/ports/e200/devices/SPC560Dxx/boot.h117
-rw-r--r--os/common/ports/e200/devices/SPC560Dxx/boot.s217
-rw-r--r--os/common/ports/e200/devices/SPC560Dxx/boot_cw.s203
-rw-r--r--os/common/ports/e200/devices/SPC560Dxx/intc.h96
-rw-r--r--os/common/ports/e200/devices/SPC560Dxx/ppcparams.h86
-rw-r--r--os/common/ports/e200/devices/SPC560Pxx/boot.h117
-rw-r--r--os/common/ports/e200/devices/SPC560Pxx/boot.s217
-rw-r--r--os/common/ports/e200/devices/SPC560Pxx/intc.h96
-rw-r--r--os/common/ports/e200/devices/SPC560Pxx/ppcparams.h86
-rw-r--r--os/common/ports/e200/devices/SPC563Mxx/boot.h122
-rw-r--r--os/common/ports/e200/devices/SPC563Mxx/boot.s191
-rw-r--r--os/common/ports/e200/devices/SPC563Mxx/intc.h96
-rw-r--r--os/common/ports/e200/devices/SPC563Mxx/ppcparams.h86
-rw-r--r--os/common/ports/e200/devices/SPC564Axx/boot.h245
-rw-r--r--os/common/ports/e200/devices/SPC564Axx/boot.s356
-rw-r--r--os/common/ports/e200/devices/SPC564Axx/intc.h96
-rw-r--r--os/common/ports/e200/devices/SPC564Axx/ppcparams.h86
-rw-r--r--os/common/ports/e200/devices/SPC56ECxx/boot.h251
-rw-r--r--os/common/ports/e200/devices/SPC56ECxx/boot.s406
-rw-r--r--os/common/ports/e200/devices/SPC56ECxx/boot_cw.s403
-rw-r--r--os/common/ports/e200/devices/SPC56ECxx/intc.h98
-rw-r--r--os/common/ports/e200/devices/SPC56ECxx/ppcparams.h86
-rw-r--r--os/common/ports/e200/devices/SPC56ELxx/boot.h251
-rw-r--r--os/common/ports/e200/devices/SPC56ELxx/boot.s408
-rw-r--r--os/common/ports/e200/devices/SPC56ELxx/intc.h96
-rw-r--r--os/common/ports/e200/devices/SPC56ELxx/ppcparams.h86
-rw-r--r--os/common/ports/e200/devices/SPC57EMxx_HSM/boot.h96
-rw-r--r--os/common/ports/e200/devices/SPC57EMxx_HSM/boot.s211
-rw-r--r--os/common/ports/e200/devices/SPC57EMxx_HSM/intc.h97
-rw-r--r--os/common/ports/e200/devices/SPC57EMxx_HSM/ppcparams.h91
70 files changed, 0 insertions, 14044 deletions
diff --git a/os/common/ports/e200/compilers/CW/crt0.s b/os/common/ports/e200/compilers/CW/crt0.s
deleted file mode 100644
index 510dc9a2f..000000000
--- a/os/common/ports/e200/compilers/CW/crt0.s
+++ /dev/null
@@ -1,261 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file CW/crt0.s
- * @brief Generic PowerPC startup file for CodeWarrior.
- *
- * @addtogroup PPC_CW_CORE
- * @{
- */
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-#if !defined(FALSE) || defined(__DOXYGEN__)
-#define FALSE 0
-#endif
-
-#if !defined(TRUE) || defined(__DOXYGEN__)
-#define TRUE 1
-#endif
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/**
- * @brief Stack segments initialization switch.
- */
-#if !defined(CRT0_STACKS_FILL_PATTERN) || defined(__DOXYGEN__)
-#define CRT0_STACKS_FILL_PATTERN 0x55555555
-#endif
-
-/**
- * @brief Stack segments initialization switch.
- */
-#if !defined(CRT0_INIT_STACKS) || defined(__DOXYGEN__)
-#define CRT0_INIT_STACKS TRUE
-#endif
-
-/**
- * @brief DATA segment initialization switch.
- */
-#if !defined(CRT0_INIT_DATA) || defined(__DOXYGEN__)
-#define CRT0_INIT_DATA TRUE
-#endif
-
-/**
- * @brief BSS segment initialization switch.
- */
-#if !defined(CRT0_INIT_BSS) || defined(__DOXYGEN__)
-#define CRT0_INIT_BSS TRUE
-#endif
-
-/**
- * @brief Constructors invocation switch.
- */
-#if !defined(CRT0_CALL_CONSTRUCTORS) || defined(__DOXYGEN__)
-#define CRT0_CALL_CONSTRUCTORS FALSE
-#endif
-
-/**
- * @brief Destructors invocation switch.
- */
-#if !defined(CRT0_CALL_DESTRUCTORS) || defined(__DOXYGEN__)
-#define CRT0_CALL_DESTRUCTORS FALSE
-#endif
-
-/*===========================================================================*/
-/* Code section. */
-/*===========================================================================*/
-
-#if !defined(__DOXYGEN__)
- .extern __sdata2_start__
- .extern __sdata_start__
- .extern __bss_start__
- .extern __bss_end__
- .extern __irq_stack_base__
- .extern __irq_stack_end__
- .extern __process_stack_end__
- .extern __process_stack_base__
- .extern __romdata_start__
- .extern __data_start__
- .extern __data_end__
- .extern __init_array_start
- .extern __init_array_end
- .extern __fini_array_start
- .extern __fini_array_end
-
- .extern main
-
- .section .crt0, text_vle
- .align 16
- .globl _boot_address
- .type _boot_address, @function
-_boot_address:
- /* Stack setup.*/
- e_lis r1, __process_stack_end__@h
- e_or2i r1, __process_stack_end__@l
- se_li r0, 0
- e_stwu r0, -8(r1)
-
- /* Small sections registers initialization.*/
- e_lis r2, __sdata2_start__@h
- e_or2i r2, __sdata2_start__@l
- e_lis r13, __sdata_start__@h
- e_or2i r13, __sdata_start__@l
-
- /* Early initialization.*/
- e_bl __early_init
-
-#if CRT0_INIT_STACKS == TRUE
- /* Stacks fill pattern.*/
- e_lis r7, CRT0_STACKS_FILL_PATTERN@h
- e_or2i r7, CRT0_STACKS_FILL_PATTERN@l
-
- /* IRQ Stack initialization. Note, the architecture does not use this
- stack, the size is usually zero. An OS can have special SW handling
- and require this. A 4 bytes alignment is assumed and required.*/
- e_lis r4, __irq_stack_base__@h
- e_or2i r4, __irq_stack_base__@l
- e_lis r5, __irq_stack_end__@h
- e_or2i r5, __irq_stack_end__@l
-.irqsloop:
- se_cmpl r4, r5
- se_bge .irqsend
- se_stw r7, 0(r4)
- se_addi r4, 4
- se_b .irqsloop
-.irqsend:
-
- /* Process Stack initialization. Note, does not overwrite the already
- written EABI frame. A 4 bytes alignment is assumed and required.*/
- e_lis r4, __process_stack_base__@h
- e_or2i r4, __process_stack_base__@l
- e_lis r5, (__process_stack_end__ - 8)@h
- e_or2i r5, (__process_stack_end__ - 8)@l
-.prcsloop:
- se_cmpl r4, r5
- se_bge .prcsend
- se_stw r7, 0(r4)
- se_addi r4, 4
- se_b .prcsloop
-.prcsend:
-#endif
-
-#if CRT0_INIT_BSS == TRUE
- /* BSS clearing.*/
- e_lis r4, __bss_start__@h
- e_or2i r4, __bss_start__@l
- e_lis r5, __bss_end__@h
- e_or2i r5, __bss_end__@l
- se_li r7, 0
-.bssloop:
- se_cmpl r4, r5
- se_bge .bssend
- se_stw r7, 0(r4)
- se_addi r4, 4
- se_b .bssloop
-.bssend:
-#endif
-
-#if CRT0_INIT_DATA == TRUE
- /* DATA initialization.*/
- e_lis r4, __romdata_start__@h
- e_or2i r4, __romdata_start__@l
- e_lis r5, __data_start__@h
- e_or2i r5, __data_start__@l
- e_lis r6, __data_end__@h
- e_or2i r6, __data_end__@l
-.dataloop:
- se_cmpl r5, r6
- se_bge .dataend
- se_lwz r7, 0(r4)
- se_addi r4, 4
- se_stw r7, 0(r5)
- se_addi r5, 4
- se_b .dataloop
-.dataend:
-#endif
-
- /* Late initialization.*/
- e_bl __late_init
-
-#if CRT0_CALL_CONSTRUCTORS == TRUE
- /* Constructors invocation.*/
- e_lis r4, __init_array_start@h
- e_or2i r4, __init_array_start@l
- e_lis r5, __init_array_end@h
- e_or2i r5, __init_array_end@l
-.iniloop:
- se_cmpl r4, r5
- se_bge .iniend
- se_lwz r6, 0(r4)
- se_mtctr r6
- se_addi r4, 4
- se_bctrl
- se_b .iniloop
-.iniend:
-#endif
-
- /* Main program invocation.*/
- e_bl main
-
-#if CRT0_CALL_DESTRUCTORS == TRUE
- /* Destructors invocation.*/
- e_lis r4, __fini_array_start@h
- e_or2i r4, __fini_array_start@l
- e_lis r5, __fini_array_end@h
- e_or2i r5, __fini_array_end@l
-.finiloop:
- se_cmpl r4, r5
- se_bge .finiend
- se_lwz r6, 0(r4)
- se_mtctr r6
- se_addi r4, 4
- se_bctrl
- se_b .finiloop
-.finiend:
-#endif
-
- /* Branching to the defined exit handler.*/
- e_b __default_exit
-
-#endif /* !defined(__DOXYGEN__) */
-
- .section .text_vle
- .align 4
-
- /* Default main exit code, infinite loop.*/
- .weak __default_exit
-__default_exit:
- e_b __default_exit
-
- /* Default early initialization code, none.*/
- .weak __early_init
- se_blr
-
- /* Default late initialization code, none.*/
- .weak __late_init
-__late_init:
- se_blr
-
-/** @} */
diff --git a/os/common/ports/e200/compilers/CW/unhandled.s b/os/common/ports/e200/compilers/CW/unhandled.s
deleted file mode 100644
index c129a92ed..000000000
--- a/os/common/ports/e200/compilers/CW/unhandled.s
+++ /dev/null
@@ -1,1861 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file weak.s
- * @brief Unhandled IRQs.
- *
- * @addtogroup PPC_CW_CORE
- * @{
- */
-
-#define _FROM_ASM_
-#include "ppcparams.h"
-
-#if defined(VECTORS_RENAMING)
-#include "isrs.h"
-#endif
-
-#if !defined(__DOXYGEN__)
-
- .section .text_vle
- .align 4
-
- .weak _IVOR0, _IVOR1, _IVOR2, _IVOR3, _IVOR4, _IVOR5
- .weak _IVOR6, _IVOR7, _IVOR8, _IVOR9, _IVOR10, _IVOR11
- .weak _IVOR12, _IVOR13, _IVOR14, _IVOR15
-_IVOR0:
-_IVOR1:
-_IVOR2:
-_IVOR3:
-_IVOR4:
-_IVOR5:
-_IVOR6:
-_IVOR7:
-_IVOR8:
-_IVOR9:
-_IVOR10:
-_IVOR11:
-_IVOR12:
-_IVOR13:
-_IVOR14:
-_IVOR15:
- .global _unhandled_exception
-_unhandled_exception:
- se_b _unhandled_exception
-
- .weak vector0, vector1, vector2, vector3
-#if PPC_NUM_VECTORS > 4
- .weak vector4, vector5, vector6, vector7
-#endif
-#if PPC_NUM_VECTORS > 8
- .weak vector8, vector9, vector10, vector11
-#endif
-#if PPC_NUM_VECTORS > 12
- .weak vector12, vector13, vector14, vector15
-#endif
-#if PPC_NUM_VECTORS > 16
- .weak vector16, vector17, vector18, vector19
-#endif
-#if PPC_NUM_VECTORS > 20
- .weak vector20, vector21, vector22, vector23
-#endif
-#if PPC_NUM_VECTORS > 24
- .weak vector24, vector25, vector26, vector27
-#endif
-#if PPC_NUM_VECTORS > 28
- .weak vector28, vector29, vector30, vector31
-#endif
-#if PPC_NUM_VECTORS > 32
- .weak vector32, vector33, vector34, vector35
-#endif
-#if PPC_NUM_VECTORS > 36
- .weak vector36, vector37, vector38, vector39
-#endif
-#if PPC_NUM_VECTORS > 40
- .weak vector40, vector41, vector42, vector43
-#endif
-#if PPC_NUM_VECTORS > 44
- .weak vector44, vector45, vector46, vector47
-#endif
-#if PPC_NUM_VECTORS > 48
- .weak vector48, vector49, vector50, vector51
-#endif
-#if PPC_NUM_VECTORS > 52
- .weak vector52, vector53, vector54, vector55
-#endif
-#if PPC_NUM_VECTORS > 56
- .weak vector56, vector57, vector58, vector59
-#endif
-#if PPC_NUM_VECTORS > 60
- .weak vector60, vector61, vector62, vector63
-#endif
-#if PPC_NUM_VECTORS > 64
- .weak vector64, vector65, vector66, vector67
-#endif
-#if PPC_NUM_VECTORS > 68
- .weak vector68, vector69, vector70, vector71
-#endif
-#if PPC_NUM_VECTORS > 72
- .weak vector72, vector73, vector74, vector75
-#endif
-#if PPC_NUM_VECTORS > 76
- .weak vector76, vector77, vector78, vector79
-#endif
-#if PPC_NUM_VECTORS > 80
- .weak vector80, vector81, vector82, vector83
-#endif
-#if PPC_NUM_VECTORS > 84
- .weak vector84, vector85, vector86, vector87
-#endif
-#if PPC_NUM_VECTORS > 88
- .weak vector88, vector89, vector90, vector91
-#endif
-#if PPC_NUM_VECTORS > 92
- .weak vector92, vector93, vector94, vector95
-#endif
-#if PPC_NUM_VECTORS > 96
- .weak vector96, vector97, vector98, vector99
-#endif
-#if PPC_NUM_VECTORS > 100
- .weak vector100, vector101, vector102, vector103
-#endif
-#if PPC_NUM_VECTORS > 104
- .weak vector104, vector105, vector106, vector107
-#endif
-#if PPC_NUM_VECTORS > 108
- .weak vector108, vector109, vector110, vector111
-#endif
-#if PPC_NUM_VECTORS > 112
- .weak vector112, vector113, vector114, vector115
-#endif
-#if PPC_NUM_VECTORS > 116
- .weak vector116, vector117, vector118, vector119
-#endif
-#if PPC_NUM_VECTORS > 120
- .weak vector120, vector121, vector122, vector123
-#endif
-#if PPC_NUM_VECTORS > 124
- .weak vector124, vector125, vector126, vector127
-#endif
-#if PPC_NUM_VECTORS > 128
- .weak vector128, vector129, vector130, vector131
-#endif
-#if PPC_NUM_VECTORS > 132
- .weak vector132, vector133, vector134, vector135
-#endif
-#if PPC_NUM_VECTORS > 136
- .weak vector136, vector137, vector138, vector139
-#endif
-#if PPC_NUM_VECTORS > 140
- .weak vector140, vector141, vector142, vector143
-#endif
-#if PPC_NUM_VECTORS > 144
- .weak vector144, vector145, vector146, vector147
-#endif
-#if PPC_NUM_VECTORS > 148
- .weak vector148, vector149, vector150, vector151
-#endif
-#if PPC_NUM_VECTORS > 152
- .weak vector152, vector153, vector154, vector155
-#endif
-#if PPC_NUM_VECTORS > 156
- .weak vector156, vector157, vector158, vector159
-#endif
-#if PPC_NUM_VECTORS > 160
- .weak vector160, vector161, vector162, vector163
-#endif
-#if PPC_NUM_VECTORS > 164
- .weak vector164, vector165, vector166, vector167
-#endif
-#if PPC_NUM_VECTORS > 168
- .weak vector168, vector169, vector170, vector171
-#endif
-#if PPC_NUM_VECTORS > 172
- .weak vector172, vector173, vector174, vector175
-#endif
-#if PPC_NUM_VECTORS > 176
- .weak vector176, vector177, vector178, vector179
-#endif
-#if PPC_NUM_VECTORS > 180
- .weak vector180, vector181, vector182, vector183
-#endif
-#if PPC_NUM_VECTORS > 184
- .weak vector184, vector185, vector186, vector187
-#endif
-#if PPC_NUM_VECTORS > 188
- .weak vector188, vector189, vector190, vector191
-#endif
-#if PPC_NUM_VECTORS > 192
- .weak vector192, vector193, vector194, vector195
-#endif
-#if PPC_NUM_VECTORS > 196
- .weak vector196, vector197, vector198, vector199
-#endif
-#if PPC_NUM_VECTORS > 200
- .weak vector200, vector201, vector202, vector203
-#endif
-#if PPC_NUM_VECTORS > 204
- .weak vector204, vector205, vector206, vector207
-#endif
-#if PPC_NUM_VECTORS > 208
- .weak vector208, vector209, vector210, vector211
-#endif
-#if PPC_NUM_VECTORS > 212
- .weak vector212, vector213, vector214, vector215
-#endif
-#if PPC_NUM_VECTORS > 216
- .weak vector216, vector217, vector218, vector219
-#endif
-#if PPC_NUM_VECTORS > 220
- .weak vector220, vector221, vector222, vector223
-#endif
-#if PPC_NUM_VECTORS > 224
- .weak vector224, vector225, vector226, vector227
-#endif
-#if PPC_NUM_VECTORS > 228
- .weak vector228, vector229, vector230, vector231
-#endif
-#if PPC_NUM_VECTORS > 232
- .weak vector232, vector233, vector234, vector235
-#endif
-#if PPC_NUM_VECTORS > 236
- .weak vector236, vector237, vector238, vector239
-#endif
-#if PPC_NUM_VECTORS > 240
- .weak vector240, vector241, vector242, vector243
-#endif
-#if PPC_NUM_VECTORS > 244
- .weak vector244, vector245, vector246, vector247
-#endif
-#if PPC_NUM_VECTORS > 248
- .weak vector248, vector249, vector250, vector251
-#endif
-#if PPC_NUM_VECTORS > 252
- .weak vector252, vector253, vector254, vector255
-#endif
-#if PPC_NUM_VECTORS > 256
- .weak vector256, vector257, vector258, vector259
-#endif
-#if PPC_NUM_VECTORS > 260
- .weak vector260, vector261, vector262, vector263
-#endif
-#if PPC_NUM_VECTORS > 264
- .weak vector264, vector265, vector266, vector267
-#endif
-#if PPC_NUM_VECTORS > 268
- .weak vector268, vector269, vector270, vector271
-#endif
-#if PPC_NUM_VECTORS > 272
- .weak vector272, vector273, vector274, vector275
-#endif
-#if PPC_NUM_VECTORS > 276
- .weak vector276, vector277, vector278, vector279
-#endif
-#if PPC_NUM_VECTORS > 280
- .weak vector280, vector281, vector282, vector283
-#endif
-#if PPC_NUM_VECTORS > 284
- .weak vector284, vector285, vector286, vector287
-#endif
-#if PPC_NUM_VECTORS > 288
- .weak vector288, vector289, vector290, vector291
-#endif
-#if PPC_NUM_VECTORS > 292
- .weak vector292, vector293, vector294, vector295
-#endif
-#if PPC_NUM_VECTORS > 296
- .weak vector296, vector297, vector298, vector299
-#endif
-#if PPC_NUM_VECTORS > 300
- .weak vector300, vector301, vector302, vector303
-#endif
-#if PPC_NUM_VECTORS > 304
- .weak vector304, vector305, vector306, vector307
-#endif
-#if PPC_NUM_VECTORS > 308
- .weak vector308, vector309, vector310, vector311
-#endif
-#if PPC_NUM_VECTORS > 312
- .weak vector312, vector313, vector314, vector315
-#endif
-#if PPC_NUM_VECTORS > 316
- .weak vector316, vector317, vector318, vector319
-#endif
-#if PPC_NUM_VECTORS > 320
- .weak vector320, vector321, vector322, vector323
-#endif
-#if PPC_NUM_VECTORS > 324
- .weak vector324, vector325, vector326, vector327
-#endif
-#if PPC_NUM_VECTORS > 328
- .weak vector328, vector329, vector330, vector331
-#endif
-#if PPC_NUM_VECTORS > 332
- .weak vector332, vector333, vector334, vector335
-#endif
-#if PPC_NUM_VECTORS > 336
- .weak vector336, vector337, vector338, vector339
-#endif
-#if PPC_NUM_VECTORS > 340
- .weak vector340, vector341, vector342, vector343
-#endif
-#if PPC_NUM_VECTORS > 344
- .weak vector344, vector345, vector346, vector347
-#endif
-#if PPC_NUM_VECTORS > 348
- .weak vector348, vector349, vector350, vector351
-#endif
-#if PPC_NUM_VECTORS > 352
- .weak vector352, vector353, vector354, vector355
-#endif
-#if PPC_NUM_VECTORS > 356
- .weak vector356, vector357, vector358, vector359
-#endif
-#if PPC_NUM_VECTORS > 360
- .weak vector360, vector361, vector362, vector363
-#endif
-#if PPC_NUM_VECTORS > 364
- .weak vector364, vector365, vector366, vector367
-#endif
-#if PPC_NUM_VECTORS > 368
- .weak vector368, vector369, vector370, vector371
-#endif
-#if PPC_NUM_VECTORS > 372
- .weak vector372, vector373, vector374, vector375
-#endif
-#if PPC_NUM_VECTORS > 376
- .weak vector376, vector377, vector378, vector379
-#endif
-#if PPC_NUM_VECTORS > 380
- .weak vector380, vector381, vector382, vector383
-#endif
-#if PPC_NUM_VECTORS > 384
- .weak vector384, vector385, vector386, vector387
-#endif
-#if PPC_NUM_VECTORS > 388
- .weak vector388, vector389, vector390, vector391
-#endif
-#if PPC_NUM_VECTORS > 392
- .weak vector392, vector393, vector394, vector395
-#endif
-#if PPC_NUM_VECTORS > 396
- .weak vector396, vector397, vector398, vector399
-#endif
-#if PPC_NUM_VECTORS > 400
- .weak vector400, vector401, vector402, vector403
-#endif
-#if PPC_NUM_VECTORS > 404
- .weak vector404, vector405, vector406, vector407
-#endif
-#if PPC_NUM_VECTORS > 408
- .weak vector408, vector409, vector410, vector411
-#endif
-#if PPC_NUM_VECTORS > 412
- .weak vector412, vector413, vector414, vector415
-#endif
-#if PPC_NUM_VECTORS > 416
- .weak vector416, vector417, vector418, vector419
-#endif
-#if PPC_NUM_VECTORS > 420
- .weak vector420, vector421, vector422, vector423
-#endif
-#if PPC_NUM_VECTORS > 424
- .weak vector424, vector425, vector426, vector427
-#endif
-#if PPC_NUM_VECTORS > 428
- .weak vector428, vector429, vector430, vector431
-#endif
-#if PPC_NUM_VECTORS > 432
- .weak vector432, vector433, vector434, vector435
-#endif
-#if PPC_NUM_VECTORS > 436
- .weak vector436, vector437, vector438, vector439
-#endif
-#if PPC_NUM_VECTORS > 440
- .weak vector440, vector441, vector442, vector443
-#endif
-#if PPC_NUM_VECTORS > 444
- .weak vector444, vector445, vector446, vector447
-#endif
-#if PPC_NUM_VECTORS > 448
- .weak vector448, vector449, vector450, vector451
-#endif
-#if PPC_NUM_VECTORS > 452
- .weak vector452, vector453, vector454, vector455
-#endif
-#if PPC_NUM_VECTORS > 456
- .weak vector456, vector457, vector458, vector459
-#endif
-#if PPC_NUM_VECTORS > 460
- .weak vector460, vector461, vector462, vector463
-#endif
-#if PPC_NUM_VECTORS > 464
- .weak vector464, vector465, vector466, vector467
-#endif
-#if PPC_NUM_VECTORS > 468
- .weak vector468, vector469, vector470, vector471
-#endif
-#if PPC_NUM_VECTORS > 472
- .weak vector472, vector473, vector474, vector475
-#endif
-#if PPC_NUM_VECTORS > 476
- .weak vector476, vector477, vector478, vector479
-#endif
-#if PPC_NUM_VECTORS > 480
- .weak vector480, vector481, vector482, vector483
-#endif
-#if PPC_NUM_VECTORS > 484
- .weak vector484, vector485, vector486, vector487
-#endif
-#if PPC_NUM_VECTORS > 488
- .weak vector488, vector489, vector490, vector491
-#endif
-#if PPC_NUM_VECTORS > 492
- .weak vector492, vector493, vector494, vector495
-#endif
-#if PPC_NUM_VECTORS > 496
- .weak vector496, vector497, vector498, vector499
-#endif
-#if PPC_NUM_VECTORS > 500
- .weak vector500, vector501, vector502, vector503
-#endif
-#if PPC_NUM_VECTORS > 504
- .weak vector504, vector505, vector506, vector507
-#endif
-#if PPC_NUM_VECTORS > 508
- .weak vector508, vector509, vector510, vector511
-#endif
-#if PPC_NUM_VECTORS > 512
- .weak vector512, vector513, vector514, vector515
-#endif
-#if PPC_NUM_VECTORS > 516
- .weak vector516, vector517, vector518, vector519
-#endif
-#if PPC_NUM_VECTORS > 520
- .weak vector520, vector521, vector522, vector523
-#endif
-#if PPC_NUM_VECTORS > 524
- .weak vector524, vector525, vector526, vector527
-#endif
-#if PPC_NUM_VECTORS > 528
- .weak vector528, vector529, vector530, vector531
-#endif
-#if PPC_NUM_VECTORS > 532
- .weak vector532, vector533, vector534, vector535
-#endif
-#if PPC_NUM_VECTORS > 536
- .weak vector536, vector537, vector538, vector539
-#endif
-#if PPC_NUM_VECTORS > 540
- .weak vector540, vector541, vector542, vector543
-#endif
-#if PPC_NUM_VECTORS > 544
- .weak vector544, vector545, vector546, vector547
-#endif
-#if PPC_NUM_VECTORS > 548
- .weak vector548, vector549, vector550, vector551
-#endif
-#if PPC_NUM_VECTORS > 552
- .weak vector552, vector553, vector554, vector555
-#endif
-#if PPC_NUM_VECTORS > 556
- .weak vector556, vector557, vector558, vector559
-#endif
-#if PPC_NUM_VECTORS > 560
- .weak vector560, vector561, vector562, vector563
-#endif
-#if PPC_NUM_VECTORS > 564
- .weak vector564, vector565, vector566, vector567
-#endif
-#if PPC_NUM_VECTORS > 568
- .weak vector568, vector569, vector570, vector571
-#endif
-#if PPC_NUM_VECTORS > 572
- .weak vector572, vector573, vector574, vector575
-#endif
-#if PPC_NUM_VECTORS > 576
- .weak vector576, vector577, vector578, vector579
-#endif
-#if PPC_NUM_VECTORS > 580
- .weak vector580, vector581, vector582, vector583
-#endif
-#if PPC_NUM_VECTORS > 584
- .weak vector584, vector585, vector586, vector587
-#endif
-#if PPC_NUM_VECTORS > 588
- .weak vector588, vector589, vector590, vector591
-#endif
-#if PPC_NUM_VECTORS > 592
- .weak vector592, vector593, vector594, vector595
-#endif
-#if PPC_NUM_VECTORS > 596
- .weak vector596, vector597, vector598, vector599
-#endif
-#if PPC_NUM_VECTORS > 600
- .weak vector600, vector601, vector602, vector603
-#endif
-#if PPC_NUM_VECTORS > 604
- .weak vector604, vector605, vector606, vector607
-#endif
-#if PPC_NUM_VECTORS > 608
- .weak vector608, vector609, vector610, vector611
-#endif
-#if PPC_NUM_VECTORS > 612
- .weak vector612, vector613, vector614, vector615
-#endif
-#if PPC_NUM_VECTORS > 616
- .weak vector616, vector617, vector618, vector619
-#endif
-#if PPC_NUM_VECTORS > 620
- .weak vector620, vector621, vector622, vector623
-#endif
-#if PPC_NUM_VECTORS > 624
- .weak vector624, vector625, vector626, vector627
-#endif
-#if PPC_NUM_VECTORS > 628
- .weak vector628, vector629, vector630, vector631
-#endif
-#if PPC_NUM_VECTORS > 632
- .weak vector632, vector633, vector634, vector635
-#endif
-#if PPC_NUM_VECTORS > 636
- .weak vector636, vector637, vector638, vector639
-#endif
-#if PPC_NUM_VECTORS > 640
- .weak vector640, vector641, vector642, vector643
-#endif
-#if PPC_NUM_VECTORS > 644
- .weak vector644, vector645, vector646, vector647
-#endif
-#if PPC_NUM_VECTORS > 648
- .weak vector648, vector649, vector650, vector651
-#endif
-#if PPC_NUM_VECTORS > 652
- .weak vector652, vector653, vector654, vector655
-#endif
-#if PPC_NUM_VECTORS > 656
- .weak vector656, vector657, vector658, vector659
-#endif
-#if PPC_NUM_VECTORS > 660
- .weak vector660, vector661, vector662, vector663
-#endif
-#if PPC_NUM_VECTORS > 664
- .weak vector664, vector665, vector666, vector667
-#endif
-#if PPC_NUM_VECTORS > 668
- .weak vector668, vector669, vector670, vector671
-#endif
-#if PPC_NUM_VECTORS > 672
- .weak vector672, vector673, vector674, vector675
-#endif
-#if PPC_NUM_VECTORS > 676
- .weak vector676, vector677, vector678, vector679
-#endif
-#if PPC_NUM_VECTORS > 680
- .weak vector680, vector681, vector682, vector683
-#endif
-#if PPC_NUM_VECTORS > 684
- .weak vector684, vector685, vector686, vector687
-#endif
-#if PPC_NUM_VECTORS > 688
- .weak vector688, vector689, vector690, vector691
-#endif
-#if PPC_NUM_VECTORS > 692
- .weak vector692, vector693, vector694, vector695
-#endif
-#if PPC_NUM_VECTORS > 696
- .weak vector696, vector697, vector698, vector699
-#endif
-#if PPC_NUM_VECTORS > 700
- .weak vector700, vector701, vector702, vector703
-#endif
-#if PPC_NUM_VECTORS > 704
- .weak vector704, vector705, vector706, vector707
-#endif
-#if PPC_NUM_VECTORS > 708
- .weak vector708, vector709, vector710, vector711
-#endif
-#if PPC_NUM_VECTORS > 712
- .weak vector712, vector713, vector714, vector715
-#endif
-#if PPC_NUM_VECTORS > 716
- .weak vector716, vector717, vector718, vector719
-#endif
-#if PPC_NUM_VECTORS > 720
- .weak vector720, vector721, vector722, vector723
-#endif
-#if PPC_NUM_VECTORS > 724
- .weak vector724, vector725, vector726, vector727
-#endif
-#if PPC_NUM_VECTORS > 728
- .weak vector728, vector729, vector730, vector731
-#endif
-#if PPC_NUM_VECTORS > 732
- .weak vector732, vector733, vector734, vector735
-#endif
-#if PPC_NUM_VECTORS > 736
- .weak vector736, vector737, vector738, vector739
-#endif
-#if PPC_NUM_VECTORS > 740
- .weak vector740, vector741, vector742, vector743
-#endif
-#if PPC_NUM_VECTORS > 744
- .weak vector744, vector745, vector746, vector747
-#endif
-#if PPC_NUM_VECTORS > 748
- .weak vector748, vector749, vector750, vector751
-#endif
-#if PPC_NUM_VECTORS > 752
- .weak vector752, vector753, vector754, vector755
-#endif
-#if PPC_NUM_VECTORS > 756
- .weak vector756, vector757, vector758, vector759
-#endif
-#if PPC_NUM_VECTORS > 760
- .weak vector760, vector761, vector762, vector763
-#endif
-#if PPC_NUM_VECTORS > 764
- .weak vector764, vector765, vector766, vector767
-#endif
-#if PPC_NUM_VECTORS > 768
- .weak vector768, vector769, vector770, vector771
-#endif
-#if PPC_NUM_VECTORS > 772
- .weak vector772, vector773, vector774, vector775
-#endif
-#if PPC_NUM_VECTORS > 776
- .weak vector776, vector777, vector778, vector779
-#endif
-#if PPC_NUM_VECTORS > 780
- .weak vector780, vector781, vector782, vector783
-#endif
-#if PPC_NUM_VECTORS > 784
- .weak vector784, vector785, vector786, vector787
-#endif
-#if PPC_NUM_VECTORS > 788
- .weak vector788, vector789, vector790, vector791
-#endif
-#if PPC_NUM_VECTORS > 792
- .weak vector792, vector793, vector794, vector795
-#endif
-#if PPC_NUM_VECTORS > 796
- .weak vector796, vector797, vector798, vector799
-#endif
-#if PPC_NUM_VECTORS > 800
- .weak vector800, vector801, vector802, vector803
-#endif
-#if PPC_NUM_VECTORS > 804
- .weak vector804, vector805, vector806, vector807
-#endif
-#if PPC_NUM_VECTORS > 808
- .weak vector808, vector809, vector810, vector811
-#endif
-#if PPC_NUM_VECTORS > 812
- .weak vector812, vector813, vector814, vector815
-#endif
-#if PPC_NUM_VECTORS > 816
- .weak vector816, vector817, vector818, vector819
-#endif
-#if PPC_NUM_VECTORS > 820
- .weak vector820, vector821, vector822, vector823
-#endif
-#if PPC_NUM_VECTORS > 824
- .weak vector824, vector825, vector826, vector827
-#endif
-#if PPC_NUM_VECTORS > 828
- .weak vector828, vector829, vector830, vector831
-#endif
-#if PPC_NUM_VECTORS > 832
- .weak vector832, vector833, vector834, vector835
-#endif
-#if PPC_NUM_VECTORS > 836
- .weak vector836, vector837, vector838, vector839
-#endif
-#if PPC_NUM_VECTORS > 840
- .weak vector840, vector841, vector842, vector843
-#endif
-#if PPC_NUM_VECTORS > 844
- .weak vector844, vector845, vector846, vector847
-#endif
-#if PPC_NUM_VECTORS > 848
- .weak vector848, vector849, vector850, vector851
-#endif
-#if PPC_NUM_VECTORS > 852
- .weak vector852, vector853, vector854, vector855
-#endif
-#if PPC_NUM_VECTORS > 856
- .weak vector856, vector857, vector858, vector859
-#endif
-#if PPC_NUM_VECTORS > 860
- .weak vector860, vector861, vector862, vector863
-#endif
-#if PPC_NUM_VECTORS > 864
- .weak vector864, vector865, vector866, vector867
-#endif
-#if PPC_NUM_VECTORS > 868
- .weak vector868, vector869, vector870, vector871
-#endif
-#if PPC_NUM_VECTORS > 872
- .weak vector872, vector873, vector874, vector875
-#endif
-#if PPC_NUM_VECTORS > 876
- .weak vector876, vector877, vector878, vector879
-#endif
-#if PPC_NUM_VECTORS > 880
- .weak vector880, vector881, vector882, vector883
-#endif
-#if PPC_NUM_VECTORS > 884
- .weak vector884, vector885, vector886, vector887
-#endif
-#if PPC_NUM_VECTORS > 888
- .weak vector888, vector889, vector890, vector891
-#endif
-#if PPC_NUM_VECTORS > 892
- .weak vector892, vector893, vector894, vector895
-#endif
-#if PPC_NUM_VECTORS > 896
- .weak vector896, vector897, vector898, vector899
-#endif
-#if PPC_NUM_VECTORS > 900
- .weak vector900, vector901, vector902, vector903
-#endif
-#if PPC_NUM_VECTORS > 904
- .weak vector904, vector905, vector906, vector907
-#endif
-#if PPC_NUM_VECTORS > 908
- .weak vector908, vector909, vector910, vector911
-#endif
-#if PPC_NUM_VECTORS > 912
- .weak vector912, vector913, vector914, vector915
-#endif
-#if PPC_NUM_VECTORS > 916
- .weak vector916, vector917, vector918, vector919
-#endif
-#if PPC_NUM_VECTORS > 920
- .weak vector920, vector921, vector922, vector923
-#endif
-#if PPC_NUM_VECTORS > 924
- .weak vector924, vector925, vector926, vector927
-#endif
-#if PPC_NUM_VECTORS > 928
- .weak vector928, vector929, vector930, vector931
-#endif
-#if PPC_NUM_VECTORS > 932
- .weak vector932, vector933, vector934, vector935
-#endif
-#if PPC_NUM_VECTORS > 936
- .weak vector936, vector937, vector938, vector939
-#endif
-#if PPC_NUM_VECTORS > 940
- .weak vector940, vector941, vector942, vector943
-#endif
-#if PPC_NUM_VECTORS > 944
- .weak vector944, vector945, vector946, vector947
-#endif
-#if PPC_NUM_VECTORS > 948
- .weak vector948, vector949, vector950, vector951
-#endif
-#if PPC_NUM_VECTORS > 952
- .weak vector952, vector953, vector954, vector955
-#endif
-#if PPC_NUM_VECTORS > 956
- .weak vector956, vector957, vector958, vector959
-#endif
-#if PPC_NUM_VECTORS > 960
- .weak vector960, vector961, vector962, vector963
-#endif
-#if PPC_NUM_VECTORS > 964
- .weak vector964, vector965, vector966, vector967
-#endif
-#if PPC_NUM_VECTORS > 968
- .weak vector968, vector969, vector970, vector971
-#endif
-#if PPC_NUM_VECTORS > 972
- .weak vector972, vector973, vector974, vector975
-#endif
-#if PPC_NUM_VECTORS > 976
- .weak vector976, vector977, vector978, vector979
-#endif
-#if PPC_NUM_VECTORS > 980
- .weak vector980, vector981, vector982, vector983
-#endif
-#if PPC_NUM_VECTORS > 984
- .weak vector984, vector985, vector986, vector987
-#endif
-#if PPC_NUM_VECTORS > 988
- .weak vector988, vector989, vector990, vector991
-#endif
-#if PPC_NUM_VECTORS > 992
- .weak vector992, vector993, vector994, vector995
-#endif
-#if PPC_NUM_VECTORS > 996
- .weak vector996, vector997, vector998, vector999
-#endif
-#if PPC_NUM_VECTORS > 1000
- .weak vector1000, vector1001, vector1002, vector1003
-#endif
-#if PPC_NUM_VECTORS > 1004
- .weak vector1004, vector1005, vector1006, vector1007
-#endif
-#if PPC_NUM_VECTORS > 1008
- .weak vector1008, vector1009, vector1010, vector1011
-#endif
-#if PPC_NUM_VECTORS > 1012
- .weak vector1012, vector1013, vector1014, vector1015
-#endif
-#if PPC_NUM_VECTORS > 1016
- .weak vector1016, vector1017, vector1018, vector1019
-#endif
-#if PPC_NUM_VECTORS > 1020
- .weak vector1020, vector1021, vector1022, vector1023
-#endif
-
-vector0:
-vector1:
-vector2:
-vector3:
-vector4:
-vector5:
-vector6:
-vector7:
-vector8:
-vector9:
-vector10:
-vector11:
-vector12:
-vector13:
-vector14:
-vector15:
-vector16:
-vector17:
-vector18:
-vector19:
-vector20:
-vector21:
-vector22:
-vector23:
-vector24:
-vector25:
-vector26:
-vector27:
-vector28:
-vector29:
-vector30:
-vector31:
-vector32:
-vector33:
-vector34:
-vector35:
-vector36:
-vector37:
-vector38:
-vector39:
-vector40:
-vector41:
-vector42:
-vector43:
-vector44:
-vector45:
-vector46:
-vector47:
-vector48:
-vector49:
-vector50:
-vector51:
-vector52:
-vector53:
-vector54:
-vector55:
-vector56:
-vector57:
-vector58:
-vector59:
-vector60:
-vector61:
-vector62:
-vector63:
-vector64:
-vector65:
-vector66:
-vector67:
-vector68:
-vector69:
-vector70:
-vector71:
-vector72:
-vector73:
-vector74:
-vector75:
-vector76:
-vector77:
-vector78:
-vector79:
-vector80:
-vector81:
-vector82:
-vector83:
-vector84:
-vector85:
-vector86:
-vector87:
-vector88:
-vector89:
-vector90:
-vector91:
-vector92:
-vector93:
-vector94:
-vector95:
-vector96:
-vector97:
-vector98:
-vector99:
-vector100:
-vector101:
-vector102:
-vector103:
-vector104:
-vector105:
-vector106:
-vector107:
-vector108:
-vector109:
-vector110:
-vector111:
-vector112:
-vector113:
-vector114:
-vector115:
-vector116:
-vector117:
-vector118:
-vector119:
-vector120:
-vector121:
-vector122:
-vector123:
-vector124:
-vector125:
-vector126:
-vector127:
-vector128:
-vector129:
-vector130:
-vector131:
-vector132:
-vector133:
-vector134:
-vector135:
-vector136:
-vector137:
-vector138:
-vector139:
-vector140:
-vector141:
-vector142:
-vector143:
-vector144:
-vector145:
-vector146:
-vector147:
-vector148:
-vector149:
-vector150:
-vector151:
-vector152:
-vector153:
-vector154:
-vector155:
-vector156:
-vector157:
-vector158:
-vector159:
-vector160:
-vector161:
-vector162:
-vector163:
-vector164:
-vector165:
-vector166:
-vector167:
-vector168:
-vector169:
-vector170:
-vector171:
-vector172:
-vector173:
-vector174:
-vector175:
-vector176:
-vector177:
-vector178:
-vector179:
-vector180:
-vector181:
-vector182:
-vector183:
-vector184:
-vector185:
-vector186:
-vector187:
-vector188:
-vector189:
-vector190:
-vector191:
-vector192:
-vector193:
-vector194:
-vector195:
-vector196:
-vector197:
-vector198:
-vector199:
-vector200:
-vector201:
-vector202:
-vector203:
-vector204:
-vector205:
-vector206:
-vector207:
-vector208:
-vector209:
-vector210:
-vector211:
-vector212:
-vector213:
-vector214:
-vector215:
-vector216:
-vector217:
-vector218:
-vector219:
-vector220:
-vector221:
-vector222:
-vector223:
-vector224:
-vector225:
-vector226:
-vector227:
-vector228:
-vector229:
-vector230:
-vector231:
-vector232:
-vector233:
-vector234:
-vector235:
-vector236:
-vector237:
-vector238:
-vector239:
-vector240:
-vector241:
-vector242:
-vector243:
-vector244:
-vector245:
-vector246:
-vector247:
-vector248:
-vector249:
-vector250:
-vector251:
-vector252:
-vector253:
-vector254:
-vector255:
-vector256:
-vector257:
-vector258:
-vector259:
-vector260:
-vector261:
-vector262:
-vector263:
-vector264:
-vector265:
-vector266:
-vector267:
-vector268:
-vector269:
-vector270:
-vector271:
-vector272:
-vector273:
-vector274:
-vector275:
-vector276:
-vector277:
-vector278:
-vector279:
-vector280:
-vector281:
-vector282:
-vector283:
-vector284:
-vector285:
-vector286:
-vector287:
-vector288:
-vector289:
-vector290:
-vector291:
-vector292:
-vector293:
-vector294:
-vector295:
-vector296:
-vector297:
-vector298:
-vector299:
-vector300:
-vector301:
-vector302:
-vector303:
-vector304:
-vector305:
-vector306:
-vector307:
-vector308:
-vector309:
-vector310:
-vector311:
-vector312:
-vector313:
-vector314:
-vector315:
-vector316:
-vector317:
-vector318:
-vector319:
-vector320:
-vector321:
-vector322:
-vector323:
-vector324:
-vector325:
-vector326:
-vector327:
-vector328:
-vector329:
-vector330:
-vector331:
-vector332:
-vector333:
-vector334:
-vector335:
-vector336:
-vector337:
-vector338:
-vector339:
-vector340:
-vector341:
-vector342:
-vector343:
-vector344:
-vector345:
-vector346:
-vector347:
-vector348:
-vector349:
-vector350:
-vector351:
-vector352:
-vector353:
-vector354:
-vector355:
-vector356:
-vector357:
-vector358:
-vector359:
-vector360:
-vector361:
-vector362:
-vector363:
-vector364:
-vector365:
-vector366:
-vector367:
-vector368:
-vector369:
-vector370:
-vector371:
-vector372:
-vector373:
-vector374:
-vector375:
-vector376:
-vector377:
-vector378:
-vector379:
-vector380:
-vector381:
-vector382:
-vector383:
-vector384:
-vector385:
-vector386:
-vector387:
-vector388:
-vector389:
-vector390:
-vector391:
-vector392:
-vector393:
-vector394:
-vector395:
-vector396:
-vector397:
-vector398:
-vector399:
-vector400:
-vector401:
-vector402:
-vector403:
-vector404:
-vector405:
-vector406:
-vector407:
-vector408:
-vector409:
-vector410:
-vector411:
-vector412:
-vector413:
-vector414:
-vector415:
-vector416:
-vector417:
-vector418:
-vector419:
-vector420:
-vector421:
-vector422:
-vector423:
-vector424:
-vector425:
-vector426:
-vector427:
-vector428:
-vector429:
-vector430:
-vector431:
-vector432:
-vector433:
-vector434:
-vector435:
-vector436:
-vector437:
-vector438:
-vector439:
-vector440:
-vector441:
-vector442:
-vector443:
-vector444:
-vector445:
-vector446:
-vector447:
-vector448:
-vector449:
-vector450:
-vector451:
-vector452:
-vector453:
-vector454:
-vector455:
-vector456:
-vector457:
-vector458:
-vector459:
-vector460:
-vector461:
-vector462:
-vector463:
-vector464:
-vector465:
-vector466:
-vector467:
-vector468:
-vector469:
-vector470:
-vector471:
-vector472:
-vector473:
-vector474:
-vector475:
-vector476:
-vector477:
-vector478:
-vector479:
-vector480:
-vector481:
-vector482:
-vector483:
-vector484:
-vector485:
-vector486:
-vector487:
-vector488:
-vector489:
-vector490:
-vector491:
-vector492:
-vector493:
-vector494:
-vector495:
-vector496:
-vector497:
-vector498:
-vector499:
-vector500:
-vector501:
-vector502:
-vector503:
-vector504:
-vector505:
-vector506:
-vector507:
-vector508:
-vector509:
-vector510:
-vector511:
-vector512:
-vector513:
-vector514:
-vector515:
-vector516:
-vector517:
-vector518:
-vector519:
-vector520:
-vector521:
-vector522:
-vector523:
-vector524:
-vector525:
-vector526:
-vector527:
-vector528:
-vector529:
-vector530:
-vector531:
-vector532:
-vector533:
-vector534:
-vector535:
-vector536:
-vector537:
-vector538:
-vector539:
-vector540:
-vector541:
-vector542:
-vector543:
-vector544:
-vector545:
-vector546:
-vector547:
-vector548:
-vector549:
-vector550:
-vector551:
-vector552:
-vector553:
-vector554:
-vector555:
-vector556:
-vector557:
-vector558:
-vector559:
-vector560:
-vector561:
-vector562:
-vector563:
-vector564:
-vector565:
-vector566:
-vector567:
-vector568:
-vector569:
-vector570:
-vector571:
-vector572:
-vector573:
-vector574:
-vector575:
-vector576:
-vector577:
-vector578:
-vector579:
-vector580:
-vector581:
-vector582:
-vector583:
-vector584:
-vector585:
-vector586:
-vector587:
-vector588:
-vector589:
-vector590:
-vector591:
-vector592:
-vector593:
-vector594:
-vector595:
-vector596:
-vector597:
-vector598:
-vector599:
-vector600:
-vector601:
-vector602:
-vector603:
-vector604:
-vector605:
-vector606:
-vector607:
-vector608:
-vector609:
-vector610:
-vector611:
-vector612:
-vector613:
-vector614:
-vector615:
-vector616:
-vector617:
-vector618:
-vector619:
-vector620:
-vector621:
-vector622:
-vector623:
-vector624:
-vector625:
-vector626:
-vector627:
-vector628:
-vector629:
-vector630:
-vector631:
-vector632:
-vector633:
-vector634:
-vector635:
-vector636:
-vector637:
-vector638:
-vector639:
-vector640:
-vector641:
-vector642:
-vector643:
-vector644:
-vector645:
-vector646:
-vector647:
-vector648:
-vector649:
-vector650:
-vector651:
-vector652:
-vector653:
-vector654:
-vector655:
-vector656:
-vector657:
-vector658:
-vector659:
-vector660:
-vector661:
-vector662:
-vector663:
-vector664:
-vector665:
-vector666:
-vector667:
-vector668:
-vector669:
-vector670:
-vector671:
-vector672:
-vector673:
-vector674:
-vector675:
-vector676:
-vector677:
-vector678:
-vector679:
-vector680:
-vector681:
-vector682:
-vector683:
-vector684:
-vector685:
-vector686:
-vector687:
-vector688:
-vector689:
-vector690:
-vector691:
-vector692:
-vector693:
-vector694:
-vector695:
-vector696:
-vector697:
-vector698:
-vector699:
-vector700:
-vector701:
-vector702:
-vector703:
-vector704:
-vector705:
-vector706:
-vector707:
-vector708:
-vector709:
-vector710:
-vector711:
-vector712:
-vector713:
-vector714:
-vector715:
-vector716:
-vector717:
-vector718:
-vector719:
-vector720:
-vector721:
-vector722:
-vector723:
-vector724:
-vector725:
-vector726:
-vector727:
-vector728:
-vector729:
-vector730:
-vector731:
-vector732:
-vector733:
-vector734:
-vector735:
-vector736:
-vector737:
-vector738:
-vector739:
-vector740:
-vector741:
-vector742:
-vector743:
-vector744:
-vector745:
-vector746:
-vector747:
-vector748:
-vector749:
-vector750:
-vector751:
-vector752:
-vector753:
-vector754:
-vector755:
-vector756:
-vector757:
-vector758:
-vector759:
-vector760:
-vector761:
-vector762:
-vector763:
-vector764:
-vector765:
-vector766:
-vector767:
-vector768:
-vector769:
-vector770:
-vector771:
-vector772:
-vector773:
-vector774:
-vector775:
-vector776:
-vector777:
-vector778:
-vector779:
-vector780:
-vector781:
-vector782:
-vector783:
-vector784:
-vector785:
-vector786:
-vector787:
-vector788:
-vector789:
-vector790:
-vector791:
-vector792:
-vector793:
-vector794:
-vector795:
-vector796:
-vector797:
-vector798:
-vector799:
-vector800:
-vector801:
-vector802:
-vector803:
-vector804:
-vector805:
-vector806:
-vector807:
-vector808:
-vector809:
-vector810:
-vector811:
-vector812:
-vector813:
-vector814:
-vector815:
-vector816:
-vector817:
-vector818:
-vector819:
-vector820:
-vector821:
-vector822:
-vector823:
-vector824:
-vector825:
-vector826:
-vector827:
-vector828:
-vector829:
-vector830:
-vector831:
-vector832:
-vector833:
-vector834:
-vector835:
-vector836:
-vector837:
-vector838:
-vector839:
-vector840:
-vector841:
-vector842:
-vector843:
-vector844:
-vector845:
-vector846:
-vector847:
-vector848:
-vector849:
-vector850:
-vector851:
-vector852:
-vector853:
-vector854:
-vector855:
-vector856:
-vector857:
-vector858:
-vector859:
-vector860:
-vector861:
-vector862:
-vector863:
-vector864:
-vector865:
-vector866:
-vector867:
-vector868:
-vector869:
-vector870:
-vector871:
-vector872:
-vector873:
-vector874:
-vector875:
-vector876:
-vector877:
-vector878:
-vector879:
-vector880:
-vector881:
-vector882:
-vector883:
-vector884:
-vector885:
-vector886:
-vector887:
-vector888:
-vector889:
-vector890:
-vector891:
-vector892:
-vector893:
-vector894:
-vector895:
-vector896:
-vector897:
-vector898:
-vector899:
-vector900:
-vector901:
-vector902:
-vector903:
-vector904:
-vector905:
-vector906:
-vector907:
-vector908:
-vector909:
-vector910:
-vector911:
-vector912:
-vector913:
-vector914:
-vector915:
-vector916:
-vector917:
-vector918:
-vector919:
-vector920:
-vector921:
-vector922:
-vector923:
-vector924:
-vector925:
-vector926:
-vector927:
-vector928:
-vector929:
-vector930:
-vector931:
-vector932:
-vector933:
-vector934:
-vector935:
-vector936:
-vector937:
-vector938:
-vector939:
-vector940:
-vector941:
-vector942:
-vector943:
-vector944:
-vector945:
-vector946:
-vector947:
-vector948:
-vector949:
-vector950:
-vector951:
-vector952:
-vector953:
-vector954:
-vector955:
-vector956:
-vector957:
-vector958:
-vector959:
-vector960:
-vector961:
-vector962:
-vector963:
-vector964:
-vector965:
-vector966:
-vector967:
-vector968:
-vector969:
-vector970:
-vector971:
-vector972:
-vector973:
-vector974:
-vector975:
-vector976:
-vector977:
-vector978:
-vector979:
-vector980:
-vector981:
-vector982:
-vector983:
-vector984:
-vector985:
-vector986:
-vector987:
-vector988:
-vector989:
-vector990:
-vector991:
-vector992:
-vector993:
-vector994:
-vector995:
-vector996:
-vector997:
-vector998:
-vector999:
-vector1000:
-vector1001:
-vector1002:
-vector1003:
-vector1004:
-vector1005:
-vector1006:
-vector1007:
-vector1008:
-vector1009:
-vector1010:
-vector1011:
-vector1012:
-vector1013:
-vector1014:
-vector1015:
-vector1016:
-vector1017:
-vector1018:
-vector1019:
-vector1020:
-vector1021:
-vector1022:
-vector1023:
-
- .global _unhandled_irq
-_unhandled_irq:
- se_b _unhandled_irq
-
-#endif /* !defined(__DOXYGEN__) */
-
-/** @} */
diff --git a/os/common/ports/e200/compilers/CW/vectors.h b/os/common/ports/e200/compilers/CW/vectors.h
deleted file mode 100644
index b07589d9c..000000000
--- a/os/common/ports/e200/compilers/CW/vectors.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file vectors.h
- * @brief ISR vector module header.
- *
- * @addtogroup PPC_CW_CORE
- * @{
- */
-
-#ifndef _VECTORS_H_
-#define _VECTORS_H_
-
-#include "ppcparams.h"
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module macros. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-/* The following code is not processed when the file is included from an
- asm module.*/
-#if !defined(_FROM_ASM_)
-
-#if !defined(__DOXYGEN__)
-extern uint32_t _vectors[PPC_NUM_VECTORS];
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
- void _unhandled_irq(void);
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* !defined(_FROM_ASM_) */
-
-/*===========================================================================*/
-/* Module inline functions. */
-/*===========================================================================*/
-
-#endif /* _VECTORS_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/compilers/CW/vectors.s b/os/common/ports/e200/compilers/CW/vectors.s
deleted file mode 100644
index 00e8c1dfe..000000000
--- a/os/common/ports/e200/compilers/CW/vectors.s
+++ /dev/null
@@ -1,1580 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file vectors.s
- * @brief SPC56x vectors table.
- *
- * @addtogroup PPC_CW_CORE
- * @{
- */
-
-#define _FROM_ASM_
-#include "ppcparams.h"
-
-#if defined(VECTORS_RENAMING)
-#include "isrs.h"
-#endif
-
-#if !defined(__DOXYGEN__)
-
- .global vector0, vector1, vector2, vector3
-#if PPC_NUM_VECTORS > 4
- .global vector4, vector5, vector6, vector7
-#endif
-#if PPC_NUM_VECTORS > 8
- .global vector8, vector9, vector10, vector11
-#endif
-#if PPC_NUM_VECTORS > 12
- .global vector12, vector13, vector14, vector15
-#endif
-#if PPC_NUM_VECTORS > 16
- .global vector16, vector17, vector18, vector19
-#endif
-#if PPC_NUM_VECTORS > 20
- .global vector20, vector21, vector22, vector23
-#endif
-#if PPC_NUM_VECTORS > 24
- .global vector24, vector25, vector26, vector27
-#endif
-#if PPC_NUM_VECTORS > 28
- .global vector28, vector29, vector30, vector31
-#endif
-#if PPC_NUM_VECTORS > 32
- .global vector32, vector33, vector34, vector35
-#endif
-#if PPC_NUM_VECTORS > 36
- .global vector36, vector37, vector38, vector39
-#endif
-#if PPC_NUM_VECTORS > 40
- .global vector40, vector41, vector42, vector43
-#endif
-#if PPC_NUM_VECTORS > 44
- .global vector44, vector45, vector46, vector47
-#endif
-#if PPC_NUM_VECTORS > 48
- .global vector48, vector49, vector50, vector51
-#endif
-#if PPC_NUM_VECTORS > 52
- .global vector52, vector53, vector54, vector55
-#endif
-#if PPC_NUM_VECTORS > 56
- .global vector56, vector57, vector58, vector59
-#endif
-#if PPC_NUM_VECTORS > 60
- .global vector60, vector61, vector62, vector63
-#endif
-#if PPC_NUM_VECTORS > 64
- .global vector64, vector65, vector66, vector67
-#endif
-#if PPC_NUM_VECTORS > 68
- .global vector68, vector69, vector70, vector71
-#endif
-#if PPC_NUM_VECTORS > 72
- .global vector72, vector73, vector74, vector75
-#endif
-#if PPC_NUM_VECTORS > 76
- .global vector76, vector77, vector78, vector79
-#endif
-#if PPC_NUM_VECTORS > 80
- .global vector80, vector81, vector82, vector83
-#endif
-#if PPC_NUM_VECTORS > 84
- .global vector84, vector85, vector86, vector87
-#endif
-#if PPC_NUM_VECTORS > 88
- .global vector88, vector89, vector90, vector91
-#endif
-#if PPC_NUM_VECTORS > 92
- .global vector92, vector93, vector94, vector95
-#endif
-#if PPC_NUM_VECTORS > 96
- .global vector96, vector97, vector98, vector99
-#endif
-#if PPC_NUM_VECTORS > 100
- .global vector100, vector101, vector102, vector103
-#endif
-#if PPC_NUM_VECTORS > 104
- .global vector104, vector105, vector106, vector107
-#endif
-#if PPC_NUM_VECTORS > 108
- .global vector108, vector109, vector110, vector111
-#endif
-#if PPC_NUM_VECTORS > 112
- .global vector112, vector113, vector114, vector115
-#endif
-#if PPC_NUM_VECTORS > 116
- .global vector116, vector117, vector118, vector119
-#endif
-#if PPC_NUM_VECTORS > 120
- .global vector120, vector121, vector122, vector123
-#endif
-#if PPC_NUM_VECTORS > 124
- .global vector124, vector125, vector126, vector127
-#endif
-#if PPC_NUM_VECTORS > 128
- .global vector128, vector129, vector130, vector131
-#endif
-#if PPC_NUM_VECTORS > 132
- .global vector132, vector133, vector134, vector135
-#endif
-#if PPC_NUM_VECTORS > 136
- .global vector136, vector137, vector138, vector139
-#endif
-#if PPC_NUM_VECTORS > 140
- .global vector140, vector141, vector142, vector143
-#endif
-#if PPC_NUM_VECTORS > 144
- .global vector144, vector145, vector146, vector147
-#endif
-#if PPC_NUM_VECTORS > 148
- .global vector148, vector149, vector150, vector151
-#endif
-#if PPC_NUM_VECTORS > 152
- .global vector152, vector153, vector154, vector155
-#endif
-#if PPC_NUM_VECTORS > 156
- .global vector156, vector157, vector158, vector159
-#endif
-#if PPC_NUM_VECTORS > 160
- .global vector160, vector161, vector162, vector163
-#endif
-#if PPC_NUM_VECTORS > 164
- .global vector164, vector165, vector166, vector167
-#endif
-#if PPC_NUM_VECTORS > 168
- .global vector168, vector169, vector170, vector171
-#endif
-#if PPC_NUM_VECTORS > 172
- .global vector172, vector173, vector174, vector175
-#endif
-#if PPC_NUM_VECTORS > 176
- .global vector176, vector177, vector178, vector179
-#endif
-#if PPC_NUM_VECTORS > 180
- .global vector180, vector181, vector182, vector183
-#endif
-#if PPC_NUM_VECTORS > 184
- .global vector184, vector185, vector186, vector187
-#endif
-#if PPC_NUM_VECTORS > 188
- .global vector188, vector189, vector190, vector191
-#endif
-#if PPC_NUM_VECTORS > 192
- .global vector192, vector193, vector194, vector195
-#endif
-#if PPC_NUM_VECTORS > 196
- .global vector196, vector197, vector198, vector199
-#endif
-#if PPC_NUM_VECTORS > 200
- .global vector200, vector201, vector202, vector203
-#endif
-#if PPC_NUM_VECTORS > 204
- .global vector204, vector205, vector206, vector207
-#endif
-#if PPC_NUM_VECTORS > 208
- .global vector208, vector209, vector210, vector211
-#endif
-#if PPC_NUM_VECTORS > 212
- .global vector212, vector213, vector214, vector215
-#endif
-#if PPC_NUM_VECTORS > 216
- .global vector216, vector217, vector218, vector219
-#endif
-#if PPC_NUM_VECTORS > 220
- .global vector220, vector221, vector222, vector223
-#endif
-#if PPC_NUM_VECTORS > 224
- .global vector224, vector225, vector226, vector227
-#endif
-#if PPC_NUM_VECTORS > 228
- .global vector228, vector229, vector230, vector231
-#endif
-#if PPC_NUM_VECTORS > 232
- .global vector232, vector233, vector234, vector235
-#endif
-#if PPC_NUM_VECTORS > 236
- .global vector236, vector237, vector238, vector239
-#endif
-#if PPC_NUM_VECTORS > 240
- .global vector240, vector241, vector242, vector243
-#endif
-#if PPC_NUM_VECTORS > 244
- .global vector244, vector245, vector246, vector247
-#endif
-#if PPC_NUM_VECTORS > 248
- .global vector248, vector249, vector250, vector251
-#endif
-#if PPC_NUM_VECTORS > 252
- .global vector252, vector253, vector254, vector255
-#endif
-#if PPC_NUM_VECTORS > 256
- .global vector256, vector257, vector258, vector259
-#endif
-#if PPC_NUM_VECTORS > 260
- .global vector260, vector261, vector262, vector263
-#endif
-#if PPC_NUM_VECTORS > 264
- .global vector264, vector265, vector266, vector267
-#endif
-#if PPC_NUM_VECTORS > 268
- .global vector268, vector269, vector270, vector271
-#endif
-#if PPC_NUM_VECTORS > 272
- .global vector272, vector273, vector274, vector275
-#endif
-#if PPC_NUM_VECTORS > 276
- .global vector276, vector277, vector278, vector279
-#endif
-#if PPC_NUM_VECTORS > 280
- .global vector280, vector281, vector282, vector283
-#endif
-#if PPC_NUM_VECTORS > 284
- .global vector284, vector285, vector286, vector287
-#endif
-#if PPC_NUM_VECTORS > 288
- .global vector288, vector289, vector290, vector291
-#endif
-#if PPC_NUM_VECTORS > 292
- .global vector292, vector293, vector294, vector295
-#endif
-#if PPC_NUM_VECTORS > 296
- .global vector296, vector297, vector298, vector299
-#endif
-#if PPC_NUM_VECTORS > 300
- .global vector300, vector301, vector302, vector303
-#endif
-#if PPC_NUM_VECTORS > 304
- .global vector304, vector305, vector306, vector307
-#endif
-#if PPC_NUM_VECTORS > 308
- .global vector308, vector309, vector310, vector311
-#endif
-#if PPC_NUM_VECTORS > 312
- .global vector312, vector313, vector314, vector315
-#endif
-#if PPC_NUM_VECTORS > 316
- .global vector316, vector317, vector318, vector319
-#endif
-#if PPC_NUM_VECTORS > 320
- .global vector320, vector321, vector322, vector323
-#endif
-#if PPC_NUM_VECTORS > 324
- .global vector324, vector325, vector326, vector327
-#endif
-#if PPC_NUM_VECTORS > 328
- .global vector328, vector329, vector330, vector331
-#endif
-#if PPC_NUM_VECTORS > 332
- .global vector332, vector333, vector334, vector335
-#endif
-#if PPC_NUM_VECTORS > 336
- .global vector336, vector337, vector338, vector339
-#endif
-#if PPC_NUM_VECTORS > 340
- .global vector340, vector341, vector342, vector343
-#endif
-#if PPC_NUM_VECTORS > 344
- .global vector344, vector345, vector346, vector347
-#endif
-#if PPC_NUM_VECTORS > 348
- .global vector348, vector349, vector350, vector351
-#endif
-#if PPC_NUM_VECTORS > 352
- .global vector352, vector353, vector354, vector355
-#endif
-#if PPC_NUM_VECTORS > 356
- .global vector356, vector357, vector358, vector359
-#endif
-#if PPC_NUM_VECTORS > 360
- .global vector360, vector361, vector362, vector363
-#endif
-#if PPC_NUM_VECTORS > 364
- .global vector364, vector365, vector366, vector367
-#endif
-#if PPC_NUM_VECTORS > 368
- .global vector368, vector369, vector370, vector371
-#endif
-#if PPC_NUM_VECTORS > 372
- .global vector372, vector373, vector374, vector375
-#endif
-#if PPC_NUM_VECTORS > 376
- .global vector376, vector377, vector378, vector379
-#endif
-#if PPC_NUM_VECTORS > 380
- .global vector380, vector381, vector382, vector383
-#endif
-#if PPC_NUM_VECTORS > 384
- .global vector384, vector385, vector386, vector387
-#endif
-#if PPC_NUM_VECTORS > 388
- .global vector388, vector389, vector390, vector391
-#endif
-#if PPC_NUM_VECTORS > 392
- .global vector392, vector393, vector394, vector395
-#endif
-#if PPC_NUM_VECTORS > 396
- .global vector396, vector397, vector398, vector399
-#endif
-#if PPC_NUM_VECTORS > 400
- .global vector400, vector401, vector402, vector403
-#endif
-#if PPC_NUM_VECTORS > 404
- .global vector404, vector405, vector406, vector407
-#endif
-#if PPC_NUM_VECTORS > 408
- .global vector408, vector409, vector410, vector411
-#endif
-#if PPC_NUM_VECTORS > 412
- .global vector412, vector413, vector414, vector415
-#endif
-#if PPC_NUM_VECTORS > 416
- .global vector416, vector417, vector418, vector419
-#endif
-#if PPC_NUM_VECTORS > 420
- .global vector420, vector421, vector422, vector423
-#endif
-#if PPC_NUM_VECTORS > 424
- .global vector424, vector425, vector426, vector427
-#endif
-#if PPC_NUM_VECTORS > 428
- .global vector428, vector429, vector430, vector431
-#endif
-#if PPC_NUM_VECTORS > 432
- .global vector432, vector433, vector434, vector435
-#endif
-#if PPC_NUM_VECTORS > 436
- .global vector436, vector437, vector438, vector439
-#endif
-#if PPC_NUM_VECTORS > 440
- .global vector440, vector441, vector442, vector443
-#endif
-#if PPC_NUM_VECTORS > 444
- .global vector444, vector445, vector446, vector447
-#endif
-#if PPC_NUM_VECTORS > 448
- .global vector448, vector449, vector450, vector451
-#endif
-#if PPC_NUM_VECTORS > 452
- .global vector452, vector453, vector454, vector455
-#endif
-#if PPC_NUM_VECTORS > 456
- .global vector456, vector457, vector458, vector459
-#endif
-#if PPC_NUM_VECTORS > 460
- .global vector460, vector461, vector462, vector463
-#endif
-#if PPC_NUM_VECTORS > 464
- .global vector464, vector465, vector466, vector467
-#endif
-#if PPC_NUM_VECTORS > 468
- .global vector468, vector469, vector470, vector471
-#endif
-#if PPC_NUM_VECTORS > 472
- .global vector472, vector473, vector474, vector475
-#endif
-#if PPC_NUM_VECTORS > 476
- .global vector476, vector477, vector478, vector479
-#endif
-#if PPC_NUM_VECTORS > 480
- .global vector480, vector481, vector482, vector483
-#endif
-#if PPC_NUM_VECTORS > 484
- .global vector484, vector485, vector486, vector487
-#endif
-#if PPC_NUM_VECTORS > 488
- .global vector488, vector489, vector490, vector491
-#endif
-#if PPC_NUM_VECTORS > 492
- .global vector492, vector493, vector494, vector495
-#endif
-#if PPC_NUM_VECTORS > 496
- .global vector496, vector497, vector498, vector499
-#endif
-#if PPC_NUM_VECTORS > 500
- .global vector500, vector501, vector502, vector503
-#endif
-#if PPC_NUM_VECTORS > 504
- .global vector504, vector505, vector506, vector507
-#endif
-#if PPC_NUM_VECTORS > 508
- .global vector508, vector509, vector510, vector511
-#endif
-#if PPC_NUM_VECTORS > 512
- .global vector512, vector513, vector514, vector515
-#endif
-#if PPC_NUM_VECTORS > 516
- .global vector516, vector517, vector518, vector519
-#endif
-#if PPC_NUM_VECTORS > 520
- .global vector520, vector521, vector522, vector523
-#endif
-#if PPC_NUM_VECTORS > 524
- .global vector524, vector525, vector526, vector527
-#endif
-#if PPC_NUM_VECTORS > 528
- .global vector528, vector529, vector530, vector531
-#endif
-#if PPC_NUM_VECTORS > 532
- .global vector532, vector533, vector534, vector535
-#endif
-#if PPC_NUM_VECTORS > 536
- .global vector536, vector537, vector538, vector539
-#endif
-#if PPC_NUM_VECTORS > 540
- .global vector540, vector541, vector542, vector543
-#endif
-#if PPC_NUM_VECTORS > 544
- .global vector544, vector545, vector546, vector547
-#endif
-#if PPC_NUM_VECTORS > 548
- .global vector548, vector549, vector550, vector551
-#endif
-#if PPC_NUM_VECTORS > 552
- .global vector552, vector553, vector554, vector555
-#endif
-#if PPC_NUM_VECTORS > 556
- .global vector556, vector557, vector558, vector559
-#endif
-#if PPC_NUM_VECTORS > 560
- .global vector560, vector561, vector562, vector563
-#endif
-#if PPC_NUM_VECTORS > 564
- .global vector564, vector565, vector566, vector567
-#endif
-#if PPC_NUM_VECTORS > 568
- .global vector568, vector569, vector570, vector571
-#endif
-#if PPC_NUM_VECTORS > 572
- .global vector572, vector573, vector574, vector575
-#endif
-#if PPC_NUM_VECTORS > 576
- .global vector576, vector577, vector578, vector579
-#endif
-#if PPC_NUM_VECTORS > 580
- .global vector580, vector581, vector582, vector583
-#endif
-#if PPC_NUM_VECTORS > 584
- .global vector584, vector585, vector586, vector587
-#endif
-#if PPC_NUM_VECTORS > 588
- .global vector588, vector589, vector590, vector591
-#endif
-#if PPC_NUM_VECTORS > 592
- .global vector592, vector593, vector594, vector595
-#endif
-#if PPC_NUM_VECTORS > 596
- .global vector596, vector597, vector598, vector599
-#endif
-#if PPC_NUM_VECTORS > 600
- .global vector600, vector601, vector602, vector603
-#endif
-#if PPC_NUM_VECTORS > 604
- .global vector604, vector605, vector606, vector607
-#endif
-#if PPC_NUM_VECTORS > 608
- .global vector608, vector609, vector610, vector611
-#endif
-#if PPC_NUM_VECTORS > 612
- .global vector612, vector613, vector614, vector615
-#endif
-#if PPC_NUM_VECTORS > 616
- .global vector616, vector617, vector618, vector619
-#endif
-#if PPC_NUM_VECTORS > 620
- .global vector620, vector621, vector622, vector623
-#endif
-#if PPC_NUM_VECTORS > 624
- .global vector624, vector625, vector626, vector627
-#endif
-#if PPC_NUM_VECTORS > 628
- .global vector628, vector629, vector630, vector631
-#endif
-#if PPC_NUM_VECTORS > 632
- .global vector632, vector633, vector634, vector635
-#endif
-#if PPC_NUM_VECTORS > 636
- .global vector636, vector637, vector638, vector639
-#endif
-#if PPC_NUM_VECTORS > 640
- .global vector640, vector641, vector642, vector643
-#endif
-#if PPC_NUM_VECTORS > 644
- .global vector644, vector645, vector646, vector647
-#endif
-#if PPC_NUM_VECTORS > 648
- .global vector648, vector649, vector650, vector651
-#endif
-#if PPC_NUM_VECTORS > 652
- .global vector652, vector653, vector654, vector655
-#endif
-#if PPC_NUM_VECTORS > 656
- .global vector656, vector657, vector658, vector659
-#endif
-#if PPC_NUM_VECTORS > 660
- .global vector660, vector661, vector662, vector663
-#endif
-#if PPC_NUM_VECTORS > 664
- .global vector664, vector665, vector666, vector667
-#endif
-#if PPC_NUM_VECTORS > 668
- .global vector668, vector669, vector670, vector671
-#endif
-#if PPC_NUM_VECTORS > 672
- .global vector672, vector673, vector674, vector675
-#endif
-#if PPC_NUM_VECTORS > 676
- .global vector676, vector677, vector678, vector679
-#endif
-#if PPC_NUM_VECTORS > 680
- .global vector680, vector681, vector682, vector683
-#endif
-#if PPC_NUM_VECTORS > 684
- .global vector684, vector685, vector686, vector687
-#endif
-#if PPC_NUM_VECTORS > 688
- .global vector688, vector689, vector690, vector691
-#endif
-#if PPC_NUM_VECTORS > 692
- .global vector692, vector693, vector694, vector695
-#endif
-#if PPC_NUM_VECTORS > 696
- .global vector696, vector697, vector698, vector699
-#endif
-#if PPC_NUM_VECTORS > 700
- .global vector700, vector701, vector702, vector703
-#endif
-#if PPC_NUM_VECTORS > 704
- .global vector704, vector705, vector706, vector707
-#endif
-#if PPC_NUM_VECTORS > 708
- .global vector708, vector709, vector710, vector711
-#endif
-#if PPC_NUM_VECTORS > 712
- .global vector712, vector713, vector714, vector715
-#endif
-#if PPC_NUM_VECTORS > 716
- .global vector716, vector717, vector718, vector719
-#endif
-#if PPC_NUM_VECTORS > 720
- .global vector720, vector721, vector722, vector723
-#endif
-#if PPC_NUM_VECTORS > 724
- .global vector724, vector725, vector726, vector727
-#endif
-#if PPC_NUM_VECTORS > 728
- .global vector728, vector729, vector730, vector731
-#endif
-#if PPC_NUM_VECTORS > 732
- .global vector732, vector733, vector734, vector735
-#endif
-#if PPC_NUM_VECTORS > 736
- .global vector736, vector737, vector738, vector739
-#endif
-#if PPC_NUM_VECTORS > 740
- .global vector740, vector741, vector742, vector743
-#endif
-#if PPC_NUM_VECTORS > 744
- .global vector744, vector745, vector746, vector747
-#endif
-#if PPC_NUM_VECTORS > 748
- .global vector748, vector749, vector750, vector751
-#endif
-#if PPC_NUM_VECTORS > 752
- .global vector752, vector753, vector754, vector755
-#endif
-#if PPC_NUM_VECTORS > 756
- .global vector756, vector757, vector758, vector759
-#endif
-#if PPC_NUM_VECTORS > 760
- .global vector760, vector761, vector762, vector763
-#endif
-#if PPC_NUM_VECTORS > 764
- .global vector764, vector765, vector766, vector767
-#endif
-#if PPC_NUM_VECTORS > 768
- .global vector768, vector769, vector770, vector771
-#endif
-#if PPC_NUM_VECTORS > 772
- .global vector772, vector773, vector774, vector775
-#endif
-#if PPC_NUM_VECTORS > 776
- .global vector776, vector777, vector778, vector779
-#endif
-#if PPC_NUM_VECTORS > 780
- .global vector780, vector781, vector782, vector783
-#endif
-#if PPC_NUM_VECTORS > 784
- .global vector784, vector785, vector786, vector787
-#endif
-#if PPC_NUM_VECTORS > 788
- .global vector788, vector789, vector790, vector791
-#endif
-#if PPC_NUM_VECTORS > 792
- .global vector792, vector793, vector794, vector795
-#endif
-#if PPC_NUM_VECTORS > 796
- .global vector796, vector797, vector798, vector799
-#endif
-#if PPC_NUM_VECTORS > 800
- .global vector800, vector801, vector802, vector803
-#endif
-#if PPC_NUM_VECTORS > 804
- .global vector804, vector805, vector806, vector807
-#endif
-#if PPC_NUM_VECTORS > 808
- .global vector808, vector809, vector810, vector811
-#endif
-#if PPC_NUM_VECTORS > 812
- .global vector812, vector813, vector814, vector815
-#endif
-#if PPC_NUM_VECTORS > 816
- .global vector816, vector817, vector818, vector819
-#endif
-#if PPC_NUM_VECTORS > 820
- .global vector820, vector821, vector822, vector823
-#endif
-#if PPC_NUM_VECTORS > 824
- .global vector824, vector825, vector826, vector827
-#endif
-#if PPC_NUM_VECTORS > 828
- .global vector828, vector829, vector830, vector831
-#endif
-#if PPC_NUM_VECTORS > 832
- .global vector832, vector833, vector834, vector835
-#endif
-#if PPC_NUM_VECTORS > 836
- .global vector836, vector837, vector838, vector839
-#endif
-#if PPC_NUM_VECTORS > 840
- .global vector840, vector841, vector842, vector843
-#endif
-#if PPC_NUM_VECTORS > 844
- .global vector844, vector845, vector846, vector847
-#endif
-#if PPC_NUM_VECTORS > 848
- .global vector848, vector849, vector850, vector851
-#endif
-#if PPC_NUM_VECTORS > 852
- .global vector852, vector853, vector854, vector855
-#endif
-#if PPC_NUM_VECTORS > 856
- .global vector856, vector857, vector858, vector859
-#endif
-#if PPC_NUM_VECTORS > 860
- .global vector860, vector861, vector862, vector863
-#endif
-#if PPC_NUM_VECTORS > 864
- .global vector864, vector865, vector866, vector867
-#endif
-#if PPC_NUM_VECTORS > 868
- .global vector868, vector869, vector870, vector871
-#endif
-#if PPC_NUM_VECTORS > 872
- .global vector872, vector873, vector874, vector875
-#endif
-#if PPC_NUM_VECTORS > 876
- .global vector876, vector877, vector878, vector879
-#endif
-#if PPC_NUM_VECTORS > 880
- .global vector880, vector881, vector882, vector883
-#endif
-#if PPC_NUM_VECTORS > 884
- .global vector884, vector885, vector886, vector887
-#endif
-#if PPC_NUM_VECTORS > 888
- .global vector888, vector889, vector890, vector891
-#endif
-#if PPC_NUM_VECTORS > 892
- .global vector892, vector893, vector894, vector895
-#endif
-#if PPC_NUM_VECTORS > 896
- .global vector896, vector897, vector898, vector899
-#endif
-#if PPC_NUM_VECTORS > 900
- .global vector900, vector901, vector902, vector903
-#endif
-#if PPC_NUM_VECTORS > 904
- .global vector904, vector905, vector906, vector907
-#endif
-#if PPC_NUM_VECTORS > 908
- .global vector908, vector909, vector910, vector911
-#endif
-#if PPC_NUM_VECTORS > 912
- .global vector912, vector913, vector914, vector915
-#endif
-#if PPC_NUM_VECTORS > 916
- .global vector916, vector917, vector918, vector919
-#endif
-#if PPC_NUM_VECTORS > 920
- .global vector920, vector921, vector922, vector923
-#endif
-#if PPC_NUM_VECTORS > 924
- .global vector924, vector925, vector926, vector927
-#endif
-#if PPC_NUM_VECTORS > 928
- .global vector928, vector929, vector930, vector931
-#endif
-#if PPC_NUM_VECTORS > 932
- .global vector932, vector933, vector934, vector935
-#endif
-#if PPC_NUM_VECTORS > 936
- .global vector936, vector937, vector938, vector939
-#endif
-#if PPC_NUM_VECTORS > 940
- .global vector940, vector941, vector942, vector943
-#endif
-#if PPC_NUM_VECTORS > 944
- .global vector944, vector945, vector946, vector947
-#endif
-#if PPC_NUM_VECTORS > 948
- .global vector948, vector949, vector950, vector951
-#endif
-#if PPC_NUM_VECTORS > 952
- .global vector952, vector953, vector954, vector955
-#endif
-#if PPC_NUM_VECTORS > 956
- .global vector956, vector957, vector958, vector959
-#endif
-#if PPC_NUM_VECTORS > 960
- .global vector960, vector961, vector962, vector963
-#endif
-#if PPC_NUM_VECTORS > 964
- .global vector964, vector965, vector966, vector967
-#endif
-#if PPC_NUM_VECTORS > 968
- .global vector968, vector969, vector970, vector971
-#endif
-#if PPC_NUM_VECTORS > 972
- .global vector972, vector973, vector974, vector975
-#endif
-#if PPC_NUM_VECTORS > 976
- .global vector976, vector977, vector978, vector979
-#endif
-#if PPC_NUM_VECTORS > 980
- .global vector980, vector981, vector982, vector983
-#endif
-#if PPC_NUM_VECTORS > 984
- .global vector984, vector985, vector986, vector987
-#endif
-#if PPC_NUM_VECTORS > 988
- .global vector988, vector989, vector990, vector991
-#endif
-#if PPC_NUM_VECTORS > 992
- .global vector992, vector993, vector994, vector995
-#endif
-#if PPC_NUM_VECTORS > 996
- .global vector996, vector997, vector998, vector999
-#endif
-#if PPC_NUM_VECTORS > 1000
- .global vector1000, vector1001, vector1002, vector1003
-#endif
-#if PPC_NUM_VECTORS > 1004
- .global vector1004, vector1005, vector1006, vector1007
-#endif
-#if PPC_NUM_VECTORS > 1008
- .global vector1008, vector1009, vector1010, vector1011
-#endif
-#if PPC_NUM_VECTORS > 1012
- .global vector1012, vector1013, vector1014, vector1015
-#endif
-#if PPC_NUM_VECTORS > 1016
- .global vector1016, vector1017, vector1018, vector1019
-#endif
-#if PPC_NUM_VECTORS > 1020
- .global vector1020, vector1021, vector1022, vector1023
-#endif
-
- /* Software vectors table. The vectors are accessed from the IVOR4
- handler only. In order to declare an interrupt handler just create
- a function withe the same name of a vector, the symbol will
- override the weak symbol declared here.*/
- .section .vectors
- .globl _vectors
-_vectors:
- .long vector0, vector1, vector2, vector3
-#if PPC_NUM_VECTORS > 4
- .long vector4, vector5, vector6, vector7
-#endif
-#if PPC_NUM_VECTORS > 8
- .long vector8, vector9, vector10, vector11
-#endif
-#if PPC_NUM_VECTORS > 12
- .long vector12, vector13, vector14, vector15
-#endif
-#if PPC_NUM_VECTORS > 16
- .long vector16, vector17, vector18, vector19
-#endif
-#if PPC_NUM_VECTORS > 20
- .long vector20, vector21, vector22, vector23
-#endif
-#if PPC_NUM_VECTORS > 24
- .long vector24, vector25, vector26, vector27
-#endif
-#if PPC_NUM_VECTORS > 28
- .long vector28, vector29, vector30, vector31
-#endif
-#if PPC_NUM_VECTORS > 32
- .long vector32, vector33, vector34, vector35
-#endif
-#if PPC_NUM_VECTORS > 36
- .long vector36, vector37, vector38, vector39
-#endif
-#if PPC_NUM_VECTORS > 40
- .long vector40, vector41, vector42, vector43
-#endif
-#if PPC_NUM_VECTORS > 44
- .long vector44, vector45, vector46, vector47
-#endif
-#if PPC_NUM_VECTORS > 48
- .long vector48, vector49, vector50, vector51
-#endif
-#if PPC_NUM_VECTORS > 52
- .long vector52, vector53, vector54, vector55
-#endif
-#if PPC_NUM_VECTORS > 56
- .long vector56, vector57, vector58, vector59
-#endif
-#if PPC_NUM_VECTORS > 60
- .long vector60, vector61, vector62, vector63
-#endif
-#if PPC_NUM_VECTORS > 64
- .long vector64, vector65, vector66, vector67
-#endif
-#if PPC_NUM_VECTORS > 68
- .long vector68, vector69, vector70, vector71
-#endif
-#if PPC_NUM_VECTORS > 72
- .long vector72, vector73, vector74, vector75
-#endif
-#if PPC_NUM_VECTORS > 76
- .long vector76, vector77, vector78, vector79
-#endif
-#if PPC_NUM_VECTORS > 80
- .long vector80, vector81, vector82, vector83
-#endif
-#if PPC_NUM_VECTORS > 84
- .long vector84, vector85, vector86, vector87
-#endif
-#if PPC_NUM_VECTORS > 88
- .long vector88, vector89, vector90, vector91
-#endif
-#if PPC_NUM_VECTORS > 92
- .long vector92, vector93, vector94, vector95
-#endif
-#if PPC_NUM_VECTORS > 96
- .long vector96, vector97, vector98, vector99
-#endif
-#if PPC_NUM_VECTORS > 100
- .long vector100, vector101, vector102, vector103
-#endif
-#if PPC_NUM_VECTORS > 104
- .long vector104, vector105, vector106, vector107
-#endif
-#if PPC_NUM_VECTORS > 108
- .long vector108, vector109, vector110, vector111
-#endif
-#if PPC_NUM_VECTORS > 112
- .long vector112, vector113, vector114, vector115
-#endif
-#if PPC_NUM_VECTORS > 116
- .long vector116, vector117, vector118, vector119
-#endif
-#if PPC_NUM_VECTORS > 120
- .long vector120, vector121, vector122, vector123
-#endif
-#if PPC_NUM_VECTORS > 124
- .long vector124, vector125, vector126, vector127
-#endif
-#if PPC_NUM_VECTORS > 128
- .long vector128, vector129, vector130, vector131
-#endif
-#if PPC_NUM_VECTORS > 132
- .long vector132, vector133, vector134, vector135
-#endif
-#if PPC_NUM_VECTORS > 136
- .long vector136, vector137, vector138, vector139
-#endif
-#if PPC_NUM_VECTORS > 140
- .long vector140, vector141, vector142, vector143
-#endif
-#if PPC_NUM_VECTORS > 144
- .long vector144, vector145, vector146, vector147
-#endif
-#if PPC_NUM_VECTORS > 148
- .long vector148, vector149, vector150, vector151
-#endif
-#if PPC_NUM_VECTORS > 152
- .long vector152, vector153, vector154, vector155
-#endif
-#if PPC_NUM_VECTORS > 156
- .long vector156, vector157, vector158, vector159
-#endif
-#if PPC_NUM_VECTORS > 160
- .long vector160, vector161, vector162, vector163
-#endif
-#if PPC_NUM_VECTORS > 164
- .long vector164, vector165, vector166, vector167
-#endif
-#if PPC_NUM_VECTORS > 168
- .long vector168, vector169, vector170, vector171
-#endif
-#if PPC_NUM_VECTORS > 172
- .long vector172, vector173, vector174, vector175
-#endif
-#if PPC_NUM_VECTORS > 176
- .long vector176, vector177, vector178, vector179
-#endif
-#if PPC_NUM_VECTORS > 180
- .long vector180, vector181, vector182, vector183
-#endif
-#if PPC_NUM_VECTORS > 184
- .long vector184, vector185, vector186, vector187
-#endif
-#if PPC_NUM_VECTORS > 188
- .long vector188, vector189, vector190, vector191
-#endif
-#if PPC_NUM_VECTORS > 192
- .long vector192, vector193, vector194, vector195
-#endif
-#if PPC_NUM_VECTORS > 196
- .long vector196, vector197, vector198, vector199
-#endif
-#if PPC_NUM_VECTORS > 200
- .long vector200, vector201, vector202, vector203
-#endif
-#if PPC_NUM_VECTORS > 204
- .long vector204, vector205, vector206, vector207
-#endif
-#if PPC_NUM_VECTORS > 208
- .long vector208, vector209, vector210, vector211
-#endif
-#if PPC_NUM_VECTORS > 212
- .long vector212, vector213, vector214, vector215
-#endif
-#if PPC_NUM_VECTORS > 216
- .long vector216, vector217, vector218, vector219
-#endif
-#if PPC_NUM_VECTORS > 220
- .long vector220, vector221, vector222, vector223
-#endif
-#if PPC_NUM_VECTORS > 224
- .long vector224, vector225, vector226, vector227
-#endif
-#if PPC_NUM_VECTORS > 228
- .long vector228, vector229, vector230, vector231
-#endif
-#if PPC_NUM_VECTORS > 232
- .long vector232, vector233, vector234, vector235
-#endif
-#if PPC_NUM_VECTORS > 236
- .long vector236, vector237, vector238, vector239
-#endif
-#if PPC_NUM_VECTORS > 240
- .long vector240, vector241, vector242, vector243
-#endif
-#if PPC_NUM_VECTORS > 244
- .long vector244, vector245, vector246, vector247
-#endif
-#if PPC_NUM_VECTORS > 248
- .long vector248, vector249, vector250, vector251
-#endif
-#if PPC_NUM_VECTORS > 252
- .long vector252, vector253, vector254, vector255
-#endif
-#if PPC_NUM_VECTORS > 256
- .long vector256, vector257, vector258, vector259
-#endif
-#if PPC_NUM_VECTORS > 260
- .long vector260, vector261, vector262, vector263
-#endif
-#if PPC_NUM_VECTORS > 264
- .long vector264, vector265, vector266, vector267
-#endif
-#if PPC_NUM_VECTORS > 268
- .long vector268, vector269, vector270, vector271
-#endif
-#if PPC_NUM_VECTORS > 272
- .long vector272, vector273, vector274, vector275
-#endif
-#if PPC_NUM_VECTORS > 276
- .long vector276, vector277, vector278, vector279
-#endif
-#if PPC_NUM_VECTORS > 280
- .long vector280, vector281, vector282, vector283
-#endif
-#if PPC_NUM_VECTORS > 284
- .long vector284, vector285, vector286, vector287
-#endif
-#if PPC_NUM_VECTORS > 288
- .long vector288, vector289, vector290, vector291
-#endif
-#if PPC_NUM_VECTORS > 292
- .long vector292, vector293, vector294, vector295
-#endif
-#if PPC_NUM_VECTORS > 296
- .long vector296, vector297, vector298, vector299
-#endif
-#if PPC_NUM_VECTORS > 300
- .long vector300, vector301, vector302, vector303
-#endif
-#if PPC_NUM_VECTORS > 304
- .long vector304, vector305, vector306, vector307
-#endif
-#if PPC_NUM_VECTORS > 308
- .long vector308, vector309, vector310, vector311
-#endif
-#if PPC_NUM_VECTORS > 312
- .long vector312, vector313, vector314, vector315
-#endif
-#if PPC_NUM_VECTORS > 316
- .long vector316, vector317, vector318, vector319
-#endif
-#if PPC_NUM_VECTORS > 320
- .long vector320, vector321, vector322, vector323
-#endif
-#if PPC_NUM_VECTORS > 324
- .long vector324, vector325, vector326, vector327
-#endif
-#if PPC_NUM_VECTORS > 328
- .long vector328, vector329, vector330, vector331
-#endif
-#if PPC_NUM_VECTORS > 332
- .long vector332, vector333, vector334, vector335
-#endif
-#if PPC_NUM_VECTORS > 336
- .long vector336, vector337, vector338, vector339
-#endif
-#if PPC_NUM_VECTORS > 340
- .long vector340, vector341, vector342, vector343
-#endif
-#if PPC_NUM_VECTORS > 344
- .long vector344, vector345, vector346, vector347
-#endif
-#if PPC_NUM_VECTORS > 348
- .long vector348, vector349, vector350, vector351
-#endif
-#if PPC_NUM_VECTORS > 352
- .long vector352, vector353, vector354, vector355
-#endif
-#if PPC_NUM_VECTORS > 356
- .long vector356, vector357, vector358, vector359
-#endif
-#if PPC_NUM_VECTORS > 360
- .long vector360, vector361, vector362, vector363
-#endif
-#if PPC_NUM_VECTORS > 364
- .long vector364, vector365, vector366, vector367
-#endif
-#if PPC_NUM_VECTORS > 368
- .long vector368, vector369, vector370, vector371
-#endif
-#if PPC_NUM_VECTORS > 372
- .long vector372, vector373, vector374, vector375
-#endif
-#if PPC_NUM_VECTORS > 376
- .long vector376, vector377, vector378, vector379
-#endif
-#if PPC_NUM_VECTORS > 380
- .long vector380, vector381, vector382, vector383
-#endif
-#if PPC_NUM_VECTORS > 384
- .long vector384, vector385, vector386, vector387
-#endif
-#if PPC_NUM_VECTORS > 388
- .long vector388, vector389, vector390, vector391
-#endif
-#if PPC_NUM_VECTORS > 392
- .long vector392, vector393, vector394, vector395
-#endif
-#if PPC_NUM_VECTORS > 396
- .long vector396, vector397, vector398, vector399
-#endif
-#if PPC_NUM_VECTORS > 400
- .long vector400, vector401, vector402, vector403
-#endif
-#if PPC_NUM_VECTORS > 404
- .long vector404, vector405, vector406, vector407
-#endif
-#if PPC_NUM_VECTORS > 408
- .long vector408, vector409, vector410, vector411
-#endif
-#if PPC_NUM_VECTORS > 412
- .long vector412, vector413, vector414, vector415
-#endif
-#if PPC_NUM_VECTORS > 416
- .long vector416, vector417, vector418, vector419
-#endif
-#if PPC_NUM_VECTORS > 420
- .long vector420, vector421, vector422, vector423
-#endif
-#if PPC_NUM_VECTORS > 424
- .long vector424, vector425, vector426, vector427
-#endif
-#if PPC_NUM_VECTORS > 428
- .long vector428, vector429, vector430, vector431
-#endif
-#if PPC_NUM_VECTORS > 432
- .long vector432, vector433, vector434, vector435
-#endif
-#if PPC_NUM_VECTORS > 436
- .long vector436, vector437, vector438, vector439
-#endif
-#if PPC_NUM_VECTORS > 440
- .long vector440, vector441, vector442, vector443
-#endif
-#if PPC_NUM_VECTORS > 444
- .long vector444, vector445, vector446, vector447
-#endif
-#if PPC_NUM_VECTORS > 448
- .long vector448, vector449, vector450, vector451
-#endif
-#if PPC_NUM_VECTORS > 452
- .long vector452, vector453, vector454, vector455
-#endif
-#if PPC_NUM_VECTORS > 456
- .long vector456, vector457, vector458, vector459
-#endif
-#if PPC_NUM_VECTORS > 460
- .long vector460, vector461, vector462, vector463
-#endif
-#if PPC_NUM_VECTORS > 464
- .long vector464, vector465, vector466, vector467
-#endif
-#if PPC_NUM_VECTORS > 468
- .long vector468, vector469, vector470, vector471
-#endif
-#if PPC_NUM_VECTORS > 472
- .long vector472, vector473, vector474, vector475
-#endif
-#if PPC_NUM_VECTORS > 476
- .long vector476, vector477, vector478, vector479
-#endif
-#if PPC_NUM_VECTORS > 480
- .long vector480, vector481, vector482, vector483
-#endif
-#if PPC_NUM_VECTORS > 484
- .long vector484, vector485, vector486, vector487
-#endif
-#if PPC_NUM_VECTORS > 488
- .long vector488, vector489, vector490, vector491
-#endif
-#if PPC_NUM_VECTORS > 492
- .long vector492, vector493, vector494, vector495
-#endif
-#if PPC_NUM_VECTORS > 496
- .long vector496, vector497, vector498, vector499
-#endif
-#if PPC_NUM_VECTORS > 500
- .long vector500, vector501, vector502, vector503
-#endif
-#if PPC_NUM_VECTORS > 504
- .long vector504, vector505, vector506, vector507
-#endif
-#if PPC_NUM_VECTORS > 508
- .long vector508, vector509, vector510, vector511
-#endif
-#if PPC_NUM_VECTORS > 512
- .long vector512, vector513, vector514, vector515
-#endif
-#if PPC_NUM_VECTORS > 516
- .long vector516, vector517, vector518, vector519
-#endif
-#if PPC_NUM_VECTORS > 520
- .long vector520, vector521, vector522, vector523
-#endif
-#if PPC_NUM_VECTORS > 524
- .long vector524, vector525, vector526, vector527
-#endif
-#if PPC_NUM_VECTORS > 528
- .long vector528, vector529, vector530, vector531
-#endif
-#if PPC_NUM_VECTORS > 532
- .long vector532, vector533, vector534, vector535
-#endif
-#if PPC_NUM_VECTORS > 536
- .long vector536, vector537, vector538, vector539
-#endif
-#if PPC_NUM_VECTORS > 540
- .long vector540, vector541, vector542, vector543
-#endif
-#if PPC_NUM_VECTORS > 544
- .long vector544, vector545, vector546, vector547
-#endif
-#if PPC_NUM_VECTORS > 548
- .long vector548, vector549, vector550, vector551
-#endif
-#if PPC_NUM_VECTORS > 552
- .long vector552, vector553, vector554, vector555
-#endif
-#if PPC_NUM_VECTORS > 556
- .long vector556, vector557, vector558, vector559
-#endif
-#if PPC_NUM_VECTORS > 560
- .long vector560, vector561, vector562, vector563
-#endif
-#if PPC_NUM_VECTORS > 564
- .long vector564, vector565, vector566, vector567
-#endif
-#if PPC_NUM_VECTORS > 568
- .long vector568, vector569, vector570, vector571
-#endif
-#if PPC_NUM_VECTORS > 572
- .long vector572, vector573, vector574, vector575
-#endif
-#if PPC_NUM_VECTORS > 576
- .long vector576, vector577, vector578, vector579
-#endif
-#if PPC_NUM_VECTORS > 580
- .long vector580, vector581, vector582, vector583
-#endif
-#if PPC_NUM_VECTORS > 584
- .long vector584, vector585, vector586, vector587
-#endif
-#if PPC_NUM_VECTORS > 588
- .long vector588, vector589, vector590, vector591
-#endif
-#if PPC_NUM_VECTORS > 592
- .long vector592, vector593, vector594, vector595
-#endif
-#if PPC_NUM_VECTORS > 596
- .long vector596, vector597, vector598, vector599
-#endif
-#if PPC_NUM_VECTORS > 600
- .long vector600, vector601, vector602, vector603
-#endif
-#if PPC_NUM_VECTORS > 604
- .long vector604, vector605, vector606, vector607
-#endif
-#if PPC_NUM_VECTORS > 608
- .long vector608, vector609, vector610, vector611
-#endif
-#if PPC_NUM_VECTORS > 612
- .long vector612, vector613, vector614, vector615
-#endif
-#if PPC_NUM_VECTORS > 616
- .long vector616, vector617, vector618, vector619
-#endif
-#if PPC_NUM_VECTORS > 620
- .long vector620, vector621, vector622, vector623
-#endif
-#if PPC_NUM_VECTORS > 624
- .long vector624, vector625, vector626, vector627
-#endif
-#if PPC_NUM_VECTORS > 628
- .long vector628, vector629, vector630, vector631
-#endif
-#if PPC_NUM_VECTORS > 632
- .long vector632, vector633, vector634, vector635
-#endif
-#if PPC_NUM_VECTORS > 636
- .long vector636, vector637, vector638, vector639
-#endif
-#if PPC_NUM_VECTORS > 640
- .long vector640, vector641, vector642, vector643
-#endif
-#if PPC_NUM_VECTORS > 644
- .long vector644, vector645, vector646, vector647
-#endif
-#if PPC_NUM_VECTORS > 648
- .long vector648, vector649, vector650, vector651
-#endif
-#if PPC_NUM_VECTORS > 652
- .long vector652, vector653, vector654, vector655
-#endif
-#if PPC_NUM_VECTORS > 656
- .long vector656, vector657, vector658, vector659
-#endif
-#if PPC_NUM_VECTORS > 660
- .long vector660, vector661, vector662, vector663
-#endif
-#if PPC_NUM_VECTORS > 664
- .long vector664, vector665, vector666, vector667
-#endif
-#if PPC_NUM_VECTORS > 668
- .long vector668, vector669, vector670, vector671
-#endif
-#if PPC_NUM_VECTORS > 672
- .long vector672, vector673, vector674, vector675
-#endif
-#if PPC_NUM_VECTORS > 676
- .long vector676, vector677, vector678, vector679
-#endif
-#if PPC_NUM_VECTORS > 680
- .long vector680, vector681, vector682, vector683
-#endif
-#if PPC_NUM_VECTORS > 684
- .long vector684, vector685, vector686, vector687
-#endif
-#if PPC_NUM_VECTORS > 688
- .long vector688, vector689, vector690, vector691
-#endif
-#if PPC_NUM_VECTORS > 692
- .long vector692, vector693, vector694, vector695
-#endif
-#if PPC_NUM_VECTORS > 696
- .long vector696, vector697, vector698, vector699
-#endif
-#if PPC_NUM_VECTORS > 700
- .long vector700, vector701, vector702, vector703
-#endif
-#if PPC_NUM_VECTORS > 704
- .long vector704, vector705, vector706, vector707
-#endif
-#if PPC_NUM_VECTORS > 708
- .long vector708, vector709, vector710, vector711
-#endif
-#if PPC_NUM_VECTORS > 712
- .long vector712, vector713, vector714, vector715
-#endif
-#if PPC_NUM_VECTORS > 716
- .long vector716, vector717, vector718, vector719
-#endif
-#if PPC_NUM_VECTORS > 720
- .long vector720, vector721, vector722, vector723
-#endif
-#if PPC_NUM_VECTORS > 724
- .long vector724, vector725, vector726, vector727
-#endif
-#if PPC_NUM_VECTORS > 728
- .long vector728, vector729, vector730, vector731
-#endif
-#if PPC_NUM_VECTORS > 732
- .long vector732, vector733, vector734, vector735
-#endif
-#if PPC_NUM_VECTORS > 736
- .long vector736, vector737, vector738, vector739
-#endif
-#if PPC_NUM_VECTORS > 740
- .long vector740, vector741, vector742, vector743
-#endif
-#if PPC_NUM_VECTORS > 744
- .long vector744, vector745, vector746, vector747
-#endif
-#if PPC_NUM_VECTORS > 748
- .long vector748, vector749, vector750, vector751
-#endif
-#if PPC_NUM_VECTORS > 752
- .long vector752, vector753, vector754, vector755
-#endif
-#if PPC_NUM_VECTORS > 756
- .long vector756, vector757, vector758, vector759
-#endif
-#if PPC_NUM_VECTORS > 760
- .long vector760, vector761, vector762, vector763
-#endif
-#if PPC_NUM_VECTORS > 764
- .long vector764, vector765, vector766, vector767
-#endif
-#if PPC_NUM_VECTORS > 768
- .long vector768, vector769, vector770, vector771
-#endif
-#if PPC_NUM_VECTORS > 772
- .long vector772, vector773, vector774, vector775
-#endif
-#if PPC_NUM_VECTORS > 776
- .long vector776, vector777, vector778, vector779
-#endif
-#if PPC_NUM_VECTORS > 780
- .long vector780, vector781, vector782, vector783
-#endif
-#if PPC_NUM_VECTORS > 784
- .long vector784, vector785, vector786, vector787
-#endif
-#if PPC_NUM_VECTORS > 788
- .long vector788, vector789, vector790, vector791
-#endif
-#if PPC_NUM_VECTORS > 792
- .long vector792, vector793, vector794, vector795
-#endif
-#if PPC_NUM_VECTORS > 796
- .long vector796, vector797, vector798, vector799
-#endif
-#if PPC_NUM_VECTORS > 800
- .long vector800, vector801, vector802, vector803
-#endif
-#if PPC_NUM_VECTORS > 804
- .long vector804, vector805, vector806, vector807
-#endif
-#if PPC_NUM_VECTORS > 808
- .long vector808, vector809, vector810, vector811
-#endif
-#if PPC_NUM_VECTORS > 812
- .long vector812, vector813, vector814, vector815
-#endif
-#if PPC_NUM_VECTORS > 816
- .long vector816, vector817, vector818, vector819
-#endif
-#if PPC_NUM_VECTORS > 820
- .long vector820, vector821, vector822, vector823
-#endif
-#if PPC_NUM_VECTORS > 824
- .long vector824, vector825, vector826, vector827
-#endif
-#if PPC_NUM_VECTORS > 828
- .long vector828, vector829, vector830, vector831
-#endif
-#if PPC_NUM_VECTORS > 832
- .long vector832, vector833, vector834, vector835
-#endif
-#if PPC_NUM_VECTORS > 836
- .long vector836, vector837, vector838, vector839
-#endif
-#if PPC_NUM_VECTORS > 840
- .long vector840, vector841, vector842, vector843
-#endif
-#if PPC_NUM_VECTORS > 844
- .long vector844, vector845, vector846, vector847
-#endif
-#if PPC_NUM_VECTORS > 848
- .long vector848, vector849, vector850, vector851
-#endif
-#if PPC_NUM_VECTORS > 852
- .long vector852, vector853, vector854, vector855
-#endif
-#if PPC_NUM_VECTORS > 856
- .long vector856, vector857, vector858, vector859
-#endif
-#if PPC_NUM_VECTORS > 860
- .long vector860, vector861, vector862, vector863
-#endif
-#if PPC_NUM_VECTORS > 864
- .long vector864, vector865, vector866, vector867
-#endif
-#if PPC_NUM_VECTORS > 868
- .long vector868, vector869, vector870, vector871
-#endif
-#if PPC_NUM_VECTORS > 872
- .long vector872, vector873, vector874, vector875
-#endif
-#if PPC_NUM_VECTORS > 876
- .long vector876, vector877, vector878, vector879
-#endif
-#if PPC_NUM_VECTORS > 880
- .long vector880, vector881, vector882, vector883
-#endif
-#if PPC_NUM_VECTORS > 884
- .long vector884, vector885, vector886, vector887
-#endif
-#if PPC_NUM_VECTORS > 888
- .long vector888, vector889, vector890, vector891
-#endif
-#if PPC_NUM_VECTORS > 892
- .long vector892, vector893, vector894, vector895
-#endif
-#if PPC_NUM_VECTORS > 896
- .long vector896, vector897, vector898, vector899
-#endif
-#if PPC_NUM_VECTORS > 900
- .long vector900, vector901, vector902, vector903
-#endif
-#if PPC_NUM_VECTORS > 904
- .long vector904, vector905, vector906, vector907
-#endif
-#if PPC_NUM_VECTORS > 908
- .long vector908, vector909, vector910, vector911
-#endif
-#if PPC_NUM_VECTORS > 912
- .long vector912, vector913, vector914, vector915
-#endif
-#if PPC_NUM_VECTORS > 916
- .long vector916, vector917, vector918, vector919
-#endif
-#if PPC_NUM_VECTORS > 920
- .long vector920, vector921, vector922, vector923
-#endif
-#if PPC_NUM_VECTORS > 924
- .long vector924, vector925, vector926, vector927
-#endif
-#if PPC_NUM_VECTORS > 928
- .long vector928, vector929, vector930, vector931
-#endif
-#if PPC_NUM_VECTORS > 932
- .long vector932, vector933, vector934, vector935
-#endif
-#if PPC_NUM_VECTORS > 936
- .long vector936, vector937, vector938, vector939
-#endif
-#if PPC_NUM_VECTORS > 940
- .long vector940, vector941, vector942, vector943
-#endif
-#if PPC_NUM_VECTORS > 944
- .long vector944, vector945, vector946, vector947
-#endif
-#if PPC_NUM_VECTORS > 948
- .long vector948, vector949, vector950, vector951
-#endif
-#if PPC_NUM_VECTORS > 952
- .long vector952, vector953, vector954, vector955
-#endif
-#if PPC_NUM_VECTORS > 956
- .long vector956, vector957, vector958, vector959
-#endif
-#if PPC_NUM_VECTORS > 960
- .long vector960, vector961, vector962, vector963
-#endif
-#if PPC_NUM_VECTORS > 964
- .long vector964, vector965, vector966, vector967
-#endif
-#if PPC_NUM_VECTORS > 968
- .long vector968, vector969, vector970, vector971
-#endif
-#if PPC_NUM_VECTORS > 972
- .long vector972, vector973, vector974, vector975
-#endif
-#if PPC_NUM_VECTORS > 976
- .long vector976, vector977, vector978, vector979
-#endif
-#if PPC_NUM_VECTORS > 980
- .long vector980, vector981, vector982, vector983
-#endif
-#if PPC_NUM_VECTORS > 984
- .long vector984, vector985, vector986, vector987
-#endif
-#if PPC_NUM_VECTORS > 988
- .long vector988, vector989, vector990, vector991
-#endif
-#if PPC_NUM_VECTORS > 992
- .long vector992, vector993, vector994, vector995
-#endif
-#if PPC_NUM_VECTORS > 996
- .long vector996, vector997, vector998, vector999
-#endif
-#if PPC_NUM_VECTORS > 1000
- .long vector1000, vector1001, vector1002, vector1003
-#endif
-#if PPC_NUM_VECTORS > 1004
- .long vector1004, vector1005, vector1006, vector1007
-#endif
-#if PPC_NUM_VECTORS > 1008
- .long vector1008, vector1009, vector1010, vector1011
-#endif
-#if PPC_NUM_VECTORS > 1012
- .long vector1012, vector1013, vector1014, vector1015
-#endif
-#if PPC_NUM_VECTORS > 1016
- .long vector1016, vector1017, vector1018, vector1019
-#endif
-#if PPC_NUM_VECTORS > 1020
- .long vector1020, vector1021, vector1022, vector1023
-#endif
-
-#endif /* !defined(__DOXYGEN__) */
-
-/** @} */
diff --git a/os/common/ports/e200/compilers/GCC/crt0.s b/os/common/ports/e200/compilers/GCC/crt0.s
deleted file mode 100644
index 92a8642cb..000000000
--- a/os/common/ports/e200/compilers/GCC/crt0.s
+++ /dev/null
@@ -1,245 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file GCC/crt0.s
- * @brief Generic PowerPC startup file for GCC.
- *
- * @addtogroup PPC_GCC_CORE
- * @{
- */
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-#if !defined(FALSE) || defined(__DOXYGEN__)
-#define FALSE 0
-#endif
-
-#if !defined(TRUE) || defined(__DOXYGEN__)
-#define TRUE 1
-#endif
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/**
- * @brief Stack segments initialization switch.
- */
-#if !defined(CRT0_STACKS_FILL_PATTERN) || defined(__DOXYGEN__)
-#define CRT0_STACKS_FILL_PATTERN 0x55555555
-#endif
-
-/**
- * @brief Stack segments initialization switch.
- */
-#if !defined(CRT0_INIT_STACKS) || defined(__DOXYGEN__)
-#define CRT0_INIT_STACKS TRUE
-#endif
-
-/**
- * @brief DATA segment initialization switch.
- */
-#if !defined(CRT0_INIT_DATA) || defined(__DOXYGEN__)
-#define CRT0_INIT_DATA TRUE
-#endif
-
-/**
- * @brief BSS segment initialization switch.
- */
-#if !defined(CRT0_INIT_BSS) || defined(__DOXYGEN__)
-#define CRT0_INIT_BSS TRUE
-#endif
-
-/**
- * @brief Constructors invocation switch.
- */
-#if !defined(CRT0_CALL_CONSTRUCTORS) || defined(__DOXYGEN__)
-#define CRT0_CALL_CONSTRUCTORS TRUE
-#endif
-
-/**
- * @brief Destructors invocation switch.
- */
-#if !defined(CRT0_CALL_DESTRUCTORS) || defined(__DOXYGEN__)
-#define CRT0_CALL_DESTRUCTORS TRUE
-#endif
-
-/*===========================================================================*/
-/* Code section. */
-/*===========================================================================*/
-
-#if !defined(__DOXYGEN__)
-
- .section .crt0, "ax"
- .align 2
- .globl _boot_address
- .type _boot_address, @function
-_boot_address:
- /* Stack setup.*/
- lis %r1, __process_stack_end__@h
- ori %r1, %r1, __process_stack_end__@l
- li %r0, 0
- stwu %r0, -8(%r1)
-
- /* Small sections registers initialization.*/
- lis %r2, __sdata2_start__@h
- ori %r2, %r2, __sdata2_start__@l
- lis %r13, __sdata_start__@h
- ori %r13, %r13, __sdata_start__@l
-
- /* Early initialization.*/
- bl __early_init
-
-#if CRT0_INIT_STACKS == TRUE
- /* Stacks fill pattern.*/
- lis %r7, CRT0_STACKS_FILL_PATTERN@h
- ori %r7, %r7, CRT0_STACKS_FILL_PATTERN@l
-
- /* IRQ Stack initialization. Note, the architecture does not use this
- stack, the size is usually zero. An OS can have special SW handling
- and require this. A 4 bytes alignment is assmend and required.*/
- lis %r4, __irq_stack_base__@h
- ori %r4, %r4, __irq_stack_base__@l
- lis %r5, __irq_stack_end__@h
- ori %r5, %r5, __irq_stack_end__@l
-.irqsloop:
- cmpl cr0, %r4, %r5
- bge cr0, .irqsend
- stw %r7, 0(%r4)
- addi %r4, %r4, 4
- b .irqsloop
-.irqsend:
-
- /* Process Stack initialization. Note, does not overwrite the already
- written EABI frame. A 4 bytes alignment is assmend and required.*/
- lis %r4, __process_stack_base__@h
- ori %r4, %r4, __process_stack_base__@l
- lis %r5, (__process_stack_end__ - 8)@h
- ori %r5, %r5, (__process_stack_end__ - 8)@l
-.prcsloop:
- cmpl cr0, %r4, %r5
- bge cr0, .prcsend
- stw %r7, 0(%r4)
- addi %r4, %r4, 4
- b .prcsloop
-.prcsend:
-#endif
-
-#if CRT0_INIT_BSS == TRUE
- /* BSS clearing.*/
- lis %r4, __bss_start__@h
- ori %r4, %r4, __bss_start__@l
- lis %r5, __bss_end__@h
- ori %r5, %r5, __bss_end__@l
- li %r7, 0
-.bssloop:
- cmpl cr0, %r4, %r5
- bge cr0, .bssend
- stw %r7, 0(%r4)
- addi %r4, %r4, 4
- b .bssloop
-.bssend:
-#endif
-
-#if CRT0_INIT_DATA == TRUE
- /* DATA initialization.*/
- lis %r4, __romdata_start__@h
- ori %r4, %r4, __romdata_start__@l
- lis %r5, __data_start__@h
- ori %r5, %r5, __data_start__@l
- lis %r6, __data_end__@h
- ori %r6, %r6, __data_end__@l
-.dataloop:
- cmpl cr0, %r5, %r6
- bge cr0, .dataend
- lwz %r7, 0(%r4)
- addi %r4, %r4, 4
- stw %r7, 0(%r5)
- addi %r5, %r5, 4
- b .dataloop
-.dataend:
-#endif
-
- /* Late initialization.*/
- bl __late_init
-
-#if CRT0_CALL_CONSTRUCTORS == TRUE
- /* Constructors invocation.*/
- lis %r4, __init_array_start@h
- ori %r4, %r4, __init_array_start@l
- lis %r5, __init_array_end@h
- ori %r5, %r5, __init_array_end@l
-.iniloop:
- cmplw %cr0, %r4, %r5
- bge %cr0, .iniend
- lwz %r6, 0(%r4)
- mtctr %r6
- addi %r4, %r4, 4
- bctrl
- b .iniloop
-.iniend:
-#endif
-
- /* Main program invocation.*/
- bl main
-
-#if CRT0_CALL_DESTRUCTORS == TRUE
- /* Destructors invocation.*/
- lis %r4, __fini_array_start@h
- ori %r4, %r4, __fini_array_start@l
- lis %r5, __fini_array_end@h
- ori %r5, %r5, __fini_array_end@l
-.finiloop:
- cmplw %cr0, %r4, %r5
- bge %cr0, .finiend
- lwz %r6, 0(%r4)
- mtctr %r6
- addi %r4, %r4, 4
- bctrl
- b .finiloop
-.finiend:
-#endif
-
- /* Branching to the defined exit handler.*/
- b __default_exit
-
- /* Default main exit code, infinite loop.*/
- .weak __default_exit
- .type __default_exit, @function
-__default_exit:
- b __default_exit
-
- /* Default early initialization code, none.*/
- .weak __early_init
- .type __early_init, @function
-__early_init:
- blr
-
- /* Default late initialization code, none.*/
- .weak __late_init
- .type __late_init, @function
-__late_init:
- blr
-
-#endif /* !defined(__DOXYGEN__) */
-
-/** @} */
diff --git a/os/common/ports/e200/compilers/GCC/ld/SPC560B50.ld b/os/common/ports/e200/compilers/GCC/ld/SPC560B50.ld
deleted file mode 100644
index 62f2abc76..000000000
--- a/os/common/ports/e200/compilers/GCC/ld/SPC560B50.ld
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/*
- * SPC560B50 memory setup.
- */
-MEMORY
-{
- flash : org = 0x00000000, len = 512k
- dataflash : org = 0x00800000, len = 64k
- ram : org = 0x40000000, len = 32k
-}
-
-INCLUDE rules_z0.ld
diff --git a/os/common/ports/e200/compilers/GCC/ld/SPC560B60.ld b/os/common/ports/e200/compilers/GCC/ld/SPC560B60.ld
deleted file mode 100644
index 73ca28d9a..000000000
--- a/os/common/ports/e200/compilers/GCC/ld/SPC560B60.ld
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/*
- * SPC560B60 memory setup.
- */
-MEMORY
-{
- flash : org = 0x00000000, len = 1024k
- dataflash : org = 0x00800000, len = 64k
- ram : org = 0x40000000, len = 80k
-}
-
-INCLUDE rules_z0.ld
diff --git a/os/common/ports/e200/compilers/GCC/ld/SPC560B64.ld b/os/common/ports/e200/compilers/GCC/ld/SPC560B64.ld
deleted file mode 100644
index 5961d8414..000000000
--- a/os/common/ports/e200/compilers/GCC/ld/SPC560B64.ld
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/*
- * SPC560B64 memory setup.
- */
-MEMORY
-{
- flash : org = 0x00000000, len = 1536k
- dataflash : org = 0x00800000, len = 64k
- ram : org = 0x40000000, len = 96k
-}
-
-INCLUDE rules_z0.ld
diff --git a/os/common/ports/e200/compilers/GCC/ld/SPC560D40.ld b/os/common/ports/e200/compilers/GCC/ld/SPC560D40.ld
deleted file mode 100644
index 45929e6e0..000000000
--- a/os/common/ports/e200/compilers/GCC/ld/SPC560D40.ld
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/*
- * SPC560D40 memory setup.
- */
-MEMORY
-{
- flash : org = 0x00000000, len = 256k
- dataflash : org = 0x00800000, len = 64k
- ram : org = 0x40000000, len = 16k
-}
-
-INCLUDE rules_z0.ld
diff --git a/os/common/ports/e200/compilers/GCC/ld/SPC560P50.ld b/os/common/ports/e200/compilers/GCC/ld/SPC560P50.ld
deleted file mode 100644
index f42dcda01..000000000
--- a/os/common/ports/e200/compilers/GCC/ld/SPC560P50.ld
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/*
- * SPC560P50 memory setup.
- */
-MEMORY
-{
- flash : org = 0x00000000, len = 512k
- dataflash : org = 0x00800000, len = 64k
- ram : org = 0x40000000, len = 40k
-}
-
-INCLUDE rules_z0.ld
diff --git a/os/common/ports/e200/compilers/GCC/ld/SPC563M64.ld b/os/common/ports/e200/compilers/GCC/ld/SPC563M64.ld
deleted file mode 100644
index 7753edc7f..000000000
--- a/os/common/ports/e200/compilers/GCC/ld/SPC563M64.ld
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/*
- * SPC563M64 memory setup.
- */
-MEMORY
-{
- flash : org = 0x00000000, len = 1536k
- ram : org = 0x40000000, len = 94k
-}
-
-INCLUDE rules_z3.ld
diff --git a/os/common/ports/e200/compilers/GCC/ld/SPC564A70.ld b/os/common/ports/e200/compilers/GCC/ld/SPC564A70.ld
deleted file mode 100644
index b3d78ca70..000000000
--- a/os/common/ports/e200/compilers/GCC/ld/SPC564A70.ld
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/*
- * SPC563A70 memory setup.
- */
-MEMORY
-{
- flash : org = 0x00000000, len = 2M
- ram : org = 0x40000000, len = 128k
-}
-
-INCLUDE rules_z4.ld
diff --git a/os/common/ports/e200/compilers/GCC/ld/SPC564A80.ld b/os/common/ports/e200/compilers/GCC/ld/SPC564A80.ld
deleted file mode 100644
index 313872487..000000000
--- a/os/common/ports/e200/compilers/GCC/ld/SPC564A80.ld
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/*
- * SPC563A80 memory setup.
- */
-MEMORY
-{
- flash : org = 0x00000000, len = 4M
- ram : org = 0x40000000, len = 192k
-}
-
-INCLUDE rules_z4.ld
diff --git a/os/common/ports/e200/compilers/GCC/ld/SPC56EC74.ld b/os/common/ports/e200/compilers/GCC/ld/SPC56EC74.ld
deleted file mode 100644
index d8285b953..000000000
--- a/os/common/ports/e200/compilers/GCC/ld/SPC56EC74.ld
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/*
- * SPC56EC74 memory setup.
- */
-MEMORY
-{
- flash : org = 0x00000000, len = 3M
- dataflash : org = 0x00800000, len = 64k
- ram : org = 0x40000000, len = 256k
-}
-
-INCLUDE rules_z4.ld
diff --git a/os/common/ports/e200/compilers/GCC/ld/SPC56EL54_LSM.ld b/os/common/ports/e200/compilers/GCC/ld/SPC56EL54_LSM.ld
deleted file mode 100644
index 191d49d41..000000000
--- a/os/common/ports/e200/compilers/GCC/ld/SPC56EL54_LSM.ld
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/*
- * SPC56EL54 memory setup in LSM mode.
- */
-MEMORY
-{
- flash : org = 0x00000000, len = 768k
- ram : org = 0x40000000, len = 128k
-}
-
-INCLUDE rules_z4.ld
diff --git a/os/common/ports/e200/compilers/GCC/ld/SPC56EL60_LSM.ld b/os/common/ports/e200/compilers/GCC/ld/SPC56EL60_LSM.ld
deleted file mode 100644
index 2001ac6f0..000000000
--- a/os/common/ports/e200/compilers/GCC/ld/SPC56EL60_LSM.ld
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/*
- * SPC56EL60 memory setup in LSM mode.
- */
-MEMORY
-{
- flash : org = 0x00000000, len = 1M
- ram : org = 0x40000000, len = 128k
-}
-
-INCLUDE rules_z4.ld
diff --git a/os/common/ports/e200/compilers/GCC/ld/SPC56EL70_LSM.ld b/os/common/ports/e200/compilers/GCC/ld/SPC56EL70_LSM.ld
deleted file mode 100644
index 0938cb008..000000000
--- a/os/common/ports/e200/compilers/GCC/ld/SPC56EL70_LSM.ld
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/*
- * SPC56EL70 memory setup in LSM mode.
- */
-MEMORY
-{
- flash : org = 0x00000000, len = 2M
- ram : org = 0x40000000, len = 192k
-}
-
-INCLUDE rules_z4.ld
diff --git a/os/common/ports/e200/compilers/GCC/ld/SPC57EM80_HSM.ld b/os/common/ports/e200/compilers/GCC/ld/SPC57EM80_HSM.ld
deleted file mode 100644
index d792364f5..000000000
--- a/os/common/ports/e200/compilers/GCC/ld/SPC57EM80_HSM.ld
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/*
- * SPC57EM80-HSM memory setup.
- */
-MEMORY
-{
- flash : org = 0x0060C000, len = 144k
- dflash0 : org = 0x00680000, len = 16k
- dflash1 : org = 0x00684000, len = 16k
- ram : org = 0xA0000000, len = 40k
-}
-
-INCLUDE rules_z0.ld
diff --git a/os/common/ports/e200/compilers/GCC/mk/startup_spc560bcxx.mk b/os/common/ports/e200/compilers/GCC/mk/startup_spc560bcxx.mk
deleted file mode 100644
index 2e067b149..000000000
--- a/os/common/ports/e200/compilers/GCC/mk/startup_spc560bcxx.mk
+++ /dev/null
@@ -1,11 +0,0 @@
-# List of the ChibiOS e200z0 SPC560BCxx startup files.
-STARTUPSRC =
-
-STARTUPASM = $(CHIBIOS)/os/common/ports/e200/devices/SPC560BCxx/boot.s \
- $(CHIBIOS)/os/common/ports/e200/compilers/GCC/vectors.s \
- $(CHIBIOS)/os/common/ports/e200/compilers/GCC/crt0.s
-
-STARTUPINC = ${CHIBIOS}/os/common/ports/e200/compilers/GCC \
- ${CHIBIOS}/os/common/ports/e200/devices/SPC560BCxx
-
-STARTUPLD = ${CHIBIOS}/os/common/ports/e200/compilers/GCC/ld
diff --git a/os/common/ports/e200/compilers/GCC/mk/startup_spc560bxx.mk b/os/common/ports/e200/compilers/GCC/mk/startup_spc560bxx.mk
deleted file mode 100644
index 5cfc4a81e..000000000
--- a/os/common/ports/e200/compilers/GCC/mk/startup_spc560bxx.mk
+++ /dev/null
@@ -1,11 +0,0 @@
-# List of the ChibiOS e200z0 SPC560Bxx startup files.
-STARTUPSRC =
-
-STARTUPASM = $(CHIBIOS)/os/common/ports/e200/devices/SPC560Bxx/boot.s \
- $(CHIBIOS)/os/common/ports/e200/compilers/GCC/vectors.s \
- $(CHIBIOS)/os/common/ports/e200/compilers/GCC/crt0.s
-
-STARTUPINC = ${CHIBIOS}/os/common/ports/e200/compilers/GCC \
- ${CHIBIOS}/os/common/ports/e200/devices/SPC560Bxx
-
-STARTUPLD = ${CHIBIOS}/os/common/ports/e200/compilers/GCC/ld
diff --git a/os/common/ports/e200/compilers/GCC/mk/startup_spc560dxx.mk b/os/common/ports/e200/compilers/GCC/mk/startup_spc560dxx.mk
deleted file mode 100644
index 4e8b633fd..000000000
--- a/os/common/ports/e200/compilers/GCC/mk/startup_spc560dxx.mk
+++ /dev/null
@@ -1,11 +0,0 @@
-# List of the ChibiOS e200z0 SPC560Dxx startup files.
-STARTUPSRC =
-
-STARTUPASM = $(CHIBIOS)/os/common/ports/e200/devices/SPC560Dxx/boot.s \
- $(CHIBIOS)/os/common/ports/e200/compilers/GCC/vectors.s \
- $(CHIBIOS)/os/common/ports/e200/compilers/GCC/crt0.s
-
-STARTUPINC = ${CHIBIOS}/os/common/ports/e200/compilers/GCC \
- ${CHIBIOS}/os/common/ports/e200/devices/SPC560Dxx
-
-STARTUPLD = ${CHIBIOS}/os/common/ports/e200/compilers/GCC/ld
diff --git a/os/common/ports/e200/compilers/GCC/mk/startup_spc560pxx.mk b/os/common/ports/e200/compilers/GCC/mk/startup_spc560pxx.mk
deleted file mode 100644
index 72a62d787..000000000
--- a/os/common/ports/e200/compilers/GCC/mk/startup_spc560pxx.mk
+++ /dev/null
@@ -1,11 +0,0 @@
-# List of the ChibiOS e200z0 SPC560Pxx startup files.
-STARTUPSRC =
-
-STARTUPASM = $(CHIBIOS)/os/common/ports/e200/devices/SPC560Pxx/boot.s \
- $(CHIBIOS)/os/common/ports/e200/compilers/GCC/vectors.s \
- $(CHIBIOS)/os/common/ports/e200/compilers/GCC/crt0.s
-
-STARTUPINC = ${CHIBIOS}/os/common/ports/e200/compilers/GCC \
- ${CHIBIOS}/os/common/ports/e200/devices/SPC560Pxx
-
-STARTUPLD = ${CHIBIOS}/os/common/ports/e200/compilers/GCC/ld
diff --git a/os/common/ports/e200/compilers/GCC/mk/startup_spc563mxx.mk b/os/common/ports/e200/compilers/GCC/mk/startup_spc563mxx.mk
deleted file mode 100644
index 92af14e4c..000000000
--- a/os/common/ports/e200/compilers/GCC/mk/startup_spc563mxx.mk
+++ /dev/null
@@ -1,11 +0,0 @@
-# List of the ChibiOS e200z3 SPC563Mxx startup files.
-STARTUPSRC =
-
-STARTUPASM = $(CHIBIOS)/os/common/ports/e200/devices/SPC563Mxx/boot.s \
- $(CHIBIOS)/os/common/ports/e200/compilers/GCC/vectors.s \
- $(CHIBIOS)/os/common/ports/e200/compilers/GCC/crt0.s
-
-STARTUPINC = ${CHIBIOS}/os/common/ports/e200/compilers/GCC \
- ${CHIBIOS}/os/common/ports/e200/devices/SPC563Mxx
-
-STARTUPLD = ${CHIBIOS}/os/common/ports/e200/compilers/GCC/ld
diff --git a/os/common/ports/e200/compilers/GCC/mk/startup_spc564axx.mk b/os/common/ports/e200/compilers/GCC/mk/startup_spc564axx.mk
deleted file mode 100644
index a903aa8ff..000000000
--- a/os/common/ports/e200/compilers/GCC/mk/startup_spc564axx.mk
+++ /dev/null
@@ -1,11 +0,0 @@
-# List of the ChibiOS e200z4 SPC564Axx startup files.
-STARTUPSRC =
-
-STARTUPASM = $(CHIBIOS)/os/common/ports/e200/devices/SPC564Axx/boot.s \
- $(CHIBIOS)/os/common/ports/e200/compilers/GCC/vectors.s \
- $(CHIBIOS)/os/common/ports/e200/compilers/GCC/crt0.s
-
-STARTUPINC = ${CHIBIOS}/os/common/ports/e200/compilers/GCC \
- ${CHIBIOS}/os/common/ports/e200/devices/SPC564Axx
-
-STARTUPLD = ${CHIBIOS}/os/common/ports/e200/compilers/GCC/ld
diff --git a/os/common/ports/e200/compilers/GCC/mk/startup_spc56ecxx.mk b/os/common/ports/e200/compilers/GCC/mk/startup_spc56ecxx.mk
deleted file mode 100644
index d2377e57f..000000000
--- a/os/common/ports/e200/compilers/GCC/mk/startup_spc56ecxx.mk
+++ /dev/null
@@ -1,11 +0,0 @@
-# List of the ChibiOS e200z4 SPC56ECxx startup files.
-STARTUPSRC =
-
-STARTUPASM = $(CHIBIOS)/os/common/ports/e200/devices/SPC56ECxx/boot.s \
- $(CHIBIOS)/os/common/ports/e200/compilers/GCC/vectors.s \
- $(CHIBIOS)/os/common/ports/e200/compilers/GCC/crt0.s
-
-STARTUPINC = ${CHIBIOS}/os/common/ports/e200/compilers/GCC \
- ${CHIBIOS}/os/common/ports/e200/devices/SPC56ECxx
-
-STARTUPLD = ${CHIBIOS}/os/common/ports/e200/compilers/GCC/ld
diff --git a/os/common/ports/e200/compilers/GCC/mk/startup_spc56elxx.mk b/os/common/ports/e200/compilers/GCC/mk/startup_spc56elxx.mk
deleted file mode 100644
index 40753b63f..000000000
--- a/os/common/ports/e200/compilers/GCC/mk/startup_spc56elxx.mk
+++ /dev/null
@@ -1,11 +0,0 @@
-# List of the ChibiOS e200z4 SPC56ELxx startup files.
-STARTUPSRC =
-
-STARTUPASM = $(CHIBIOS)/os/common/ports/e200/devices/SPC56ELxx/boot.s \
- $(CHIBIOS)/os/common/ports/e200/compilers/GCC/vectors.s \
- $(CHIBIOS)/os/common/ports/e200/compilers/GCC/crt0.s
-
-STARTUPINC = ${CHIBIOS}/os/common/ports/e200/compilers/GCC \
- ${CHIBIOS}/os/common/ports/e200/devices/SPC56ELxx
-
-STARTUPLD = ${CHIBIOS}/os/common/ports/e200/compilers/GCC/ld
diff --git a/os/common/ports/e200/compilers/GCC/rules.mk b/os/common/ports/e200/compilers/GCC/rules.mk
deleted file mode 100644
index c7f9d9b03..000000000
--- a/os/common/ports/e200/compilers/GCC/rules.mk
+++ /dev/null
@@ -1,242 +0,0 @@
-# e200z common makefile scripts and rules.
-
-##############################################################################
-# Processing options coming from the upper Makefile.
-#
-
-# Compiler options
-OPT = $(USE_OPT)
-COPT = $(USE_COPT)
-CPPOPT = $(USE_CPPOPT)
-
-# Garbage collection
-ifeq ($(USE_LINK_GC),yes)
- OPT += -ffunction-sections -fdata-sections -fno-common
- LDOPT := --gc-sections
-else
- LDOPT := --no-gc-sections
-endif
-
-# Linker extra options
-ifneq ($(USE_LDOPT),)
- LDOPT := $(LDOPT),$(USE_LDOPT)
-endif
-
-# Link time optimizations
-ifeq ($(USE_LTO),yes)
- OPT += -flto
-endif
-
-# VLE option handling.
-ifeq ($(USE_VLE),yes)
- DDEFS += -DPPC_USE_VLE=1
- DADEFS += -DPPC_USE_VLE=1
- MCU += -mvle
-else
- DDEFS += -DPPC_USE_VLE=0
- DADEFS += -DPPC_USE_VLE=0
-endif
-
-# Process stack size
-ifeq ($(USE_PROCESS_STACKSIZE),)
- LDOPT := $(LDOPT),--defsym=__process_stack_size__=0x400
-else
- LDOPT := $(LDOPT),--defsym=__process_stack_size__=$(USE_PROCESS_STACKSIZE)
-endif
-
-# Exceptions stack size
-ifeq ($(USE_EXCEPTIONS_STACKSIZE),)
- LDOPT := $(LDOPT),--defsym=__irq_stack_size__=0x400
-else
- LDOPT := $(LDOPT),--defsym=__irq_stack_size__=$(USE_EXCEPTIONS_STACKSIZE)
-endif
-
-# Output directory and files
-ifeq ($(BUILDDIR),)
- BUILDDIR = build
-endif
-ifeq ($(BUILDDIR),.)
- BUILDDIR = build
-endif
-OUTFILES = $(BUILDDIR)/$(PROJECT).elf $(BUILDDIR)/$(PROJECT).hex \
- $(BUILDDIR)/$(PROJECT).mot $(BUILDDIR)/$(PROJECT).bin \
- $(BUILDDIR)/$(PROJECT).dmp $(BUILDDIR)/$(PROJECT).list
-
-
-# Source files groups and paths
-SRC = $(CSRC)$(CPPSRC)
-SRCPATHS = $(sort $(dir $(ASMXSRC)) $(dir $(ASMSRC)) $(dir $(SRC)))
-
-# Various directories
-OBJDIR = $(BUILDDIR)/obj
-LSTDIR = $(BUILDDIR)/lst
-
-# Object files groups
-COBJS = $(addprefix $(OBJDIR)/, $(notdir $(CSRC:.c=.o)))
-CPPOBJS = $(addprefix $(OBJDIR)/, $(notdir $(CPPSRC:.cpp=.o)))
-ASMOBJS = $(addprefix $(OBJDIR)/, $(notdir $(ASMSRC:.s=.o)))
-ASMXOBJS = $(addprefix $(OBJDIR)/, $(notdir $(ASMXSRC:.S=.o)))
-OBJS = $(ASMXOBJS) $(ASMOBJS) $(COBJS) $(CPPOBJS)
-
-# Paths
-IINCDIR = $(patsubst %,-I%,$(INCDIR) $(DINCDIR) $(UINCDIR))
-LLIBDIR = $(patsubst %,-L%,$(DLIBDIR) $(ULIBDIR))
-
-# Macros
-DEFS = $(DDEFS) $(UDEFS)
-ADEFS = $(DADEFS) $(UADEFS)
-
-# Libs
-LIBS = $(DLIBS) $(ULIBS)
-
-# Various settings
-MCFLAGS = -mcpu=$(MCU)
-ODFLAGS = -x --syms
-ASFLAGS = $(MCFLAGS) -Wa,-amhls=$(LSTDIR)/$(notdir $(<:.s=.lst)) $(ADEFS)
-ASXFLAGS = $(MCFLAGS) -Wa,-amhls=$(LSTDIR)/$(notdir $(<:.S=.lst)) $(ADEFS)
-CFLAGS = $(MCFLAGS) $(OPT) $(COPT) $(CWARN) -Wa,-alms=$(LSTDIR)/$(notdir $(<:.c=.lst)) $(DEFS)
-CPPFLAGS = $(MCFLAGS) $(OPT) $(CPPOPT) $(CPPWARN) -Wa,-alms=$(LSTDIR)/$(notdir $(<:.cpp=.lst)) $(DEFS)
-LDFLAGS = $(MCFLAGS) $(OPT) -nostartfiles $(LLIBDIR) -Wl,-Map=$(BUILDDIR)/$(PROJECT).map,--cref,--no-warn-mismatch,--library-path=$(RULESPATH),$(LDOPT),--script=$(LDSCRIPT)
-
-# Generate dependency information
-ASFLAGS += -MD -MP -MF .dep/$(@F).d
-CFLAGS += -MD -MP -MF .dep/$(@F).d
-CPPFLAGS += -MD -MP -MF .dep/$(@F).d
-
-# Paths where to search for sources
-VPATH = $(SRCPATHS)
-
-#
-# Makefile rules
-#
-
-all: PRE_MAKE_ALL_RULE_HOOK $(OBJS) $(OUTFILES) POST_MAKE_ALL_RULE_HOOK
-
-PRE_MAKE_ALL_RULE_HOOK:
-
-POST_MAKE_ALL_RULE_HOOK:
-
-$(OBJS): | $(BUILDDIR) $(OBJDIR) $(LSTDIR)
-
-$(BUILDDIR):
-ifneq ($(USE_VERBOSE_COMPILE),yes)
- @echo Compiler Options
- @echo $(CC) -c $(CFLAGS) -I. $(IINCDIR) main.c -o main.o
- @echo
-endif
- @mkdir -p $(BUILDDIR)
-
-$(OBJDIR):
- @mkdir -p $(OBJDIR)
-
-$(LSTDIR):
- @mkdir -p $(LSTDIR)
-
-$(CPPOBJS) : $(OBJDIR)/%.o : %.cpp Makefile
-ifeq ($(USE_VERBOSE_COMPILE),yes)
- @echo
- $(CPPC) -c $(CPPFLAGS) -I. $(IINCDIR) $< -o $@
-else
- @echo Compiling $(<F)
- @$(CPPC) -c $(CPPFLAGS) -I. $(IINCDIR) $< -o $@
-endif
-
-$(COBJS) : $(OBJDIR)/%.o : %.c Makefile
-ifeq ($(USE_VERBOSE_COMPILE),yes)
- @echo
- $(CC) -c $(CFLAGS) -I. $(IINCDIR) $< -o $@
-else
- @echo Compiling $(<F)
- @$(CC) -c $(CFLAGS) -I. $(IINCDIR) $< -o $@
-endif
-
-$(ASMOBJS) : $(OBJDIR)/%.o : %.s Makefile
-ifeq ($(USE_VERBOSE_COMPILE),yes)
- @echo
- $(AS) -c $(ASFLAGS) -I. $(IINCDIR) $< -o $@
-else
- @echo Compiling $(<F)
- @$(AS) -c $(ASFLAGS) -I. $(IINCDIR) $< -o $@
-endif
-
-$(ASMXOBJS) : $(OBJDIR)/%.o : %.S Makefile
-ifeq ($(USE_VERBOSE_COMPILE),yes)
- @echo
- $(CC) -c $(ASXFLAGS) -I. $(IINCDIR) $< -o $@
-else
- @echo Compiling $(<F)
- @$(CC) -c $(ASXFLAGS) -I. $(IINCDIR) $< -o $@
-endif
-
-%.elf: $(OBJS) $(LDSCRIPT)
-ifeq ($(USE_VERBOSE_COMPILE),yes)
- @echo
- $(LD) $(OBJS) $(LDFLAGS) $(LIBS) -o $@
-else
- @echo Linking $@
- @$(LD) $(OBJS) $(LDFLAGS) $(LIBS) -o $@
-endif
-
-%.hex: %.elf $(LDSCRIPT)
-ifeq ($(USE_VERBOSE_COMPILE),yes)
- $(HEX) $< $@
-else
- @echo Creating $@
- @$(HEX) $< $@
-endif
-
-%.mot: %.elf $(LDSCRIPT)
-ifeq ($(USE_VERBOSE_COMPILE),yes)
- $(MOT) $< $@
-else
- @echo Creating $@
- @$(MOT) $< $@
-endif
-
-%.bin: %.elf $(LDSCRIPT)
-ifeq ($(USE_VERBOSE_COMPILE),yes)
- $(BIN) $< $@
-else
- @echo Creating $@
- @$(BIN) $< $@
-endif
-
-%.dmp: %.elf $(LDSCRIPT)
-ifeq ($(USE_VERBOSE_COMPILE),yes)
- $(OD) $(ODFLAGS) $< > $@
- $(SZ) $<
-else
- @echo Creating $@
- @$(OD) $(ODFLAGS) $< > $@
- @echo
- @$(SZ) $<
-endif
-
-%.list: %.elf $(LDSCRIPT)
-ifeq ($(USE_VERBOSE_COMPILE),yes)
- $(OD) -S $< > $@
-else
- @echo Creating $@
- @$(OD) -S $< > $@
- @echo Done
-endif
-
-lib: $(OBJS) $(BUILDDIR)/lib$(PROJECT).a
-
-$(BUILDDIR)/lib$(PROJECT).a: $(OBJS)
- @$(AR) -r $@ $^
- @echo
- @echo Done
-
-clean:
- @echo Cleaning
- -rm -fR .dep $(BUILDDIR)
- @echo
- @echo Done
-
-#
-# Include the dependency files, should be the last of the makefile
-#
--include $(shell mkdir .dep 2>/dev/null) $(wildcard .dep/*)
-
-# *** EOF ***
diff --git a/os/common/ports/e200/compilers/GCC/rules_z0.ld b/os/common/ports/e200/compilers/GCC/rules_z0.ld
deleted file mode 100644
index 7474fcb4f..000000000
--- a/os/common/ports/e200/compilers/GCC/rules_z0.ld
+++ /dev/null
@@ -1,162 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-__ram_size__ = LENGTH(ram);
-__ram_start__ = ORIGIN(ram);
-__ram_end__ = ORIGIN(ram) + LENGTH(ram);
-
-ENTRY(_reset_address)
-
-SECTIONS
-{
- . = ORIGIN(flash);
- .boot0 : ALIGN(16) SUBALIGN(16)
- {
- KEEP(*(.boot))
- } > flash
-
- .boot1 : ALIGN(16) SUBALIGN(16)
- {
- KEEP(*(.handlers))
- KEEP(*(.crt0))
- /* The vectors table requires a 2kB alignment.*/
- . = ALIGN(0x800);
- KEEP(*(.vectors))
- /* The IVPR register requires a 4kB alignment.*/
- . = ALIGN(0x1000);
- __ivpr_base__ = .;
- KEEP(*(.ivors))
- } > flash
-
- constructors : ALIGN(4) SUBALIGN(4)
- {
- PROVIDE(__init_array_start = .);
- KEEP(*(SORT(.init_array.*)))
- KEEP(*(.init_array))
- PROVIDE(__init_array_end = .);
- } > flash
-
- destructors : ALIGN(4) SUBALIGN(4)
- {
- PROVIDE(__fini_array_start = .);
- KEEP(*(.fini_array))
- KEEP(*(SORT(.fini_array.*)))
- PROVIDE(__fini_array_end = .);
- } > flash
-
- .text_vle : ALIGN(16) SUBALIGN(16)
- {
- *(.text_vle)
- *(.text_vle.*)
- *(.gnu.linkonce.t_vle.*)
- } > flash
-
- .text : ALIGN(16) SUBALIGN(16)
- {
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- } > flash
-
- .rodata : ALIGN(16) SUBALIGN(16)
- {
- *(.glue_7t)
- *(.glue_7)
- *(.gcc*)
- *(.rodata)
- *(.rodata.*)
- *(.rodata1)
- } > flash
-
- .sdata2 : ALIGN(16) SUBALIGN(16)
- {
- __sdata2_start__ = . + 0x8000;
- *(.sdata2)
- *(.sdata2.*)
- *(.gnu.linkonce.s2.*)
- *(.sbss2)
- *(.sbss2.*)
- *(.gnu.linkonce.sb2.*)
- } > flash
-
- .eh_frame_hdr :
- {
- *(.eh_frame_hdr)
- } > flash
-
- .eh_frame : ONLY_IF_RO
- {
- *(.eh_frame)
- } > flash
-
- .romdata : ALIGN(16) SUBALIGN(16)
- {
- __romdata_start__ = .;
- } > flash
-
- .stacks : ALIGN(16) SUBALIGN(16)
- {
- . = ALIGN(8);
- __irq_stack_base__ = .;
- . += __irq_stack_size__;
- . = ALIGN(8);
- __irq_stack_end__ = .;
- __process_stack_base__ = .;
- __main_thread_stack_base__ = .;
- . += __process_stack_size__;
- . = ALIGN(8);
- __process_stack_end__ = .;
- __main_thread_stack_end__ = .;
- } > ram
-
- .data : AT(__romdata_start__)
- {
- . = ALIGN(4);
- __data_start__ = .;
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- __sdata_start__ = . + 0x8000;
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- __data_end__ = .;
- } > ram
-
- .sbss :
- {
- __bss_start__ = .;
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- } > ram
-
- .bss :
- {
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- __bss_end__ = .;
- } > ram
-
- __heap_base__ = __bss_end__;
- __heap_end__ = __ram_end__;
-}
diff --git a/os/common/ports/e200/compilers/GCC/rules_z3.ld b/os/common/ports/e200/compilers/GCC/rules_z3.ld
deleted file mode 100644
index a73e3b757..000000000
--- a/os/common/ports/e200/compilers/GCC/rules_z3.ld
+++ /dev/null
@@ -1,159 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-__ram_size__ = LENGTH(ram);
-__ram_start__ = ORIGIN(ram);
-__ram_end__ = ORIGIN(ram) + LENGTH(ram);
-
-ENTRY(_reset_address)
-
-SECTIONS
-{
- . = ORIGIN(flash);
- .boot0 : ALIGN(16) SUBALIGN(16)
- {
- __ivpr_base__ = .;
- KEEP(*(.boot))
- } > flash
-
- .boot1 : ALIGN(16) SUBALIGN(16)
- {
- KEEP(*(.handlers))
- KEEP(*(.crt0))
- /* The vectors table requires a 2kB alignment.*/
- . = ALIGN(0x800);
- KEEP(*(.vectors))
- } > flash
-
- constructors : ALIGN(4) SUBALIGN(4)
- {
- PROVIDE(__init_array_start = .);
- KEEP(*(SORT(.init_array.*)))
- KEEP(*(.init_array))
- PROVIDE(__init_array_end = .);
- } > flash
-
- destructors : ALIGN(4) SUBALIGN(4)
- {
- PROVIDE(__fini_array_start = .);
- KEEP(*(.fini_array))
- KEEP(*(SORT(.fini_array.*)))
- PROVIDE(__fini_array_end = .);
- } > flash
-
- .text_vle : ALIGN(16) SUBALIGN(16)
- {
- *(.text_vle)
- *(.text_vle.*)
- *(.gnu.linkonce.t_vle.*)
- } > flash
-
- .text : ALIGN(16) SUBALIGN(16)
- {
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- } > flash
-
- .rodata : ALIGN(16) SUBALIGN(16)
- {
- *(.glue_7t)
- *(.glue_7)
- *(.gcc*)
- *(.rodata)
- *(.rodata.*)
- *(.rodata1)
- } > flash
-
- .sdata2 : ALIGN(16) SUBALIGN(16)
- {
- __sdata2_start__ = . + 0x8000;
- *(.sdata2)
- *(.sdata2.*)
- *(.gnu.linkonce.s2.*)
- *(.sbss2)
- *(.sbss2.*)
- *(.gnu.linkonce.sb2.*)
- } > flash
-
- .eh_frame_hdr :
- {
- *(.eh_frame_hdr)
- } > flash
-
- .eh_frame : ONLY_IF_RO
- {
- *(.eh_frame)
- } > flash
-
- .romdata : ALIGN(16) SUBALIGN(16)
- {
- __romdata_start__ = .;
- } > flash
-
- .stacks : ALIGN(16) SUBALIGN(16)
- {
- . = ALIGN(8);
- __irq_stack_base__ = .;
- . += __irq_stack_size__;
- . = ALIGN(8);
- __irq_stack_end__ = .;
- __process_stack_base__ = .;
- __main_thread_stack_base__ = .;
- . += __process_stack_size__;
- . = ALIGN(8);
- __process_stack_end__ = .;
- __main_thread_stack_end__ = .;
- } > ram
-
- .data : AT(__romdata_start__)
- {
- . = ALIGN(4);
- __data_start__ = .;
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- __sdata_start__ = . + 0x8000;
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- __data_end__ = .;
- } > ram
-
- .sbss :
- {
- __bss_start__ = .;
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- } > ram
-
- .bss :
- {
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- __bss_end__ = .;
- } > ram
-
- __heap_base__ = __bss_end__;
- __heap_end__ = __ram_end__;
-}
diff --git a/os/common/ports/e200/compilers/GCC/rules_z4.ld b/os/common/ports/e200/compilers/GCC/rules_z4.ld
deleted file mode 100644
index a73e3b757..000000000
--- a/os/common/ports/e200/compilers/GCC/rules_z4.ld
+++ /dev/null
@@ -1,159 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-__ram_size__ = LENGTH(ram);
-__ram_start__ = ORIGIN(ram);
-__ram_end__ = ORIGIN(ram) + LENGTH(ram);
-
-ENTRY(_reset_address)
-
-SECTIONS
-{
- . = ORIGIN(flash);
- .boot0 : ALIGN(16) SUBALIGN(16)
- {
- __ivpr_base__ = .;
- KEEP(*(.boot))
- } > flash
-
- .boot1 : ALIGN(16) SUBALIGN(16)
- {
- KEEP(*(.handlers))
- KEEP(*(.crt0))
- /* The vectors table requires a 2kB alignment.*/
- . = ALIGN(0x800);
- KEEP(*(.vectors))
- } > flash
-
- constructors : ALIGN(4) SUBALIGN(4)
- {
- PROVIDE(__init_array_start = .);
- KEEP(*(SORT(.init_array.*)))
- KEEP(*(.init_array))
- PROVIDE(__init_array_end = .);
- } > flash
-
- destructors : ALIGN(4) SUBALIGN(4)
- {
- PROVIDE(__fini_array_start = .);
- KEEP(*(.fini_array))
- KEEP(*(SORT(.fini_array.*)))
- PROVIDE(__fini_array_end = .);
- } > flash
-
- .text_vle : ALIGN(16) SUBALIGN(16)
- {
- *(.text_vle)
- *(.text_vle.*)
- *(.gnu.linkonce.t_vle.*)
- } > flash
-
- .text : ALIGN(16) SUBALIGN(16)
- {
- *(.text)
- *(.text.*)
- *(.gnu.linkonce.t.*)
- } > flash
-
- .rodata : ALIGN(16) SUBALIGN(16)
- {
- *(.glue_7t)
- *(.glue_7)
- *(.gcc*)
- *(.rodata)
- *(.rodata.*)
- *(.rodata1)
- } > flash
-
- .sdata2 : ALIGN(16) SUBALIGN(16)
- {
- __sdata2_start__ = . + 0x8000;
- *(.sdata2)
- *(.sdata2.*)
- *(.gnu.linkonce.s2.*)
- *(.sbss2)
- *(.sbss2.*)
- *(.gnu.linkonce.sb2.*)
- } > flash
-
- .eh_frame_hdr :
- {
- *(.eh_frame_hdr)
- } > flash
-
- .eh_frame : ONLY_IF_RO
- {
- *(.eh_frame)
- } > flash
-
- .romdata : ALIGN(16) SUBALIGN(16)
- {
- __romdata_start__ = .;
- } > flash
-
- .stacks : ALIGN(16) SUBALIGN(16)
- {
- . = ALIGN(8);
- __irq_stack_base__ = .;
- . += __irq_stack_size__;
- . = ALIGN(8);
- __irq_stack_end__ = .;
- __process_stack_base__ = .;
- __main_thread_stack_base__ = .;
- . += __process_stack_size__;
- . = ALIGN(8);
- __process_stack_end__ = .;
- __main_thread_stack_end__ = .;
- } > ram
-
- .data : AT(__romdata_start__)
- {
- . = ALIGN(4);
- __data_start__ = .;
- *(.data)
- *(.data.*)
- *(.gnu.linkonce.d.*)
- __sdata_start__ = . + 0x8000;
- *(.sdata)
- *(.sdata.*)
- *(.gnu.linkonce.s.*)
- __data_end__ = .;
- } > ram
-
- .sbss :
- {
- __bss_start__ = .;
- *(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
- *(.scommon)
- } > ram
-
- .bss :
- {
- *(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
- *(COMMON)
- __bss_end__ = .;
- } > ram
-
- __heap_base__ = __bss_end__;
- __heap_end__ = __ram_end__;
-}
diff --git a/os/common/ports/e200/compilers/GCC/vectors.h b/os/common/ports/e200/compilers/GCC/vectors.h
deleted file mode 100644
index a374a87c7..000000000
--- a/os/common/ports/e200/compilers/GCC/vectors.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file vectors.h
- * @brief ISR vector module header.
- *
- * @addtogroup PPC_GCC_CORE
- * @{
- */
-
-#ifndef _VECTORS_H_
-#define _VECTORS_H_
-
-#include "ppcparams.h"
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module macros. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-/* The following code is not processed when the file is included from an
- asm module.*/
-#if !defined(_FROM_ASM_)
-
-#if !defined(__DOXYGEN__)
-extern uint32_t _vectors[PPC_NUM_VECTORS];
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
- void _unhandled_irq(void);
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* !defined(_FROM_ASM_) */
-
-/*===========================================================================*/
-/* Module inline functions. */
-/*===========================================================================*/
-
-#endif /* _VECTORS_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/compilers/GCC/vectors.s b/os/common/ports/e200/compilers/GCC/vectors.s
deleted file mode 100644
index e142f1150..000000000
--- a/os/common/ports/e200/compilers/GCC/vectors.s
+++ /dev/null
@@ -1,2615 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file vectors.s
- * @brief SPC56x vectors table.
- *
- * @addtogroup PPC_GCC_CORE
- * @{
- */
-
-#define _FROM_ASM_
-#include "ppcparams.h"
-
-#if defined(VECTORS_RENAMING)
-#include "isrs.h"
-#endif
-
-#if !defined(__DOXYGEN__)
-
- /* Software vectors table. The vectors are accessed from the IVOR4
- handler only. In order to declare an interrupt handler just create
- a function withe the same name of a vector, the symbol will
- override the weak symbol declared here.*/
- .section .vectors, "ax"
- .align 4
- .globl _vectors
-_vectors:
- .long vector0, vector1, vector2, vector3
-#if PPC_NUM_VECTORS > 4
- .long vector4, vector5, vector6, vector7
-#endif
-#if PPC_NUM_VECTORS > 8
- .long vector8, vector9, vector10, vector11
-#endif
-#if PPC_NUM_VECTORS > 12
- .long vector12, vector13, vector14, vector15
-#endif
-#if PPC_NUM_VECTORS > 16
- .long vector16, vector17, vector18, vector19
-#endif
-#if PPC_NUM_VECTORS > 20
- .long vector20, vector21, vector22, vector23
-#endif
-#if PPC_NUM_VECTORS > 24
- .long vector24, vector25, vector26, vector27
-#endif
-#if PPC_NUM_VECTORS > 28
- .long vector28, vector29, vector30, vector31
-#endif
-#if PPC_NUM_VECTORS > 32
- .long vector32, vector33, vector34, vector35
-#endif
-#if PPC_NUM_VECTORS > 36
- .long vector36, vector37, vector38, vector39
-#endif
-#if PPC_NUM_VECTORS > 40
- .long vector40, vector41, vector42, vector43
-#endif
-#if PPC_NUM_VECTORS > 44
- .long vector44, vector45, vector46, vector47
-#endif
-#if PPC_NUM_VECTORS > 48
- .long vector48, vector49, vector50, vector51
-#endif
-#if PPC_NUM_VECTORS > 52
- .long vector52, vector53, vector54, vector55
-#endif
-#if PPC_NUM_VECTORS > 56
- .long vector56, vector57, vector58, vector59
-#endif
-#if PPC_NUM_VECTORS > 60
- .long vector60, vector61, vector62, vector63
-#endif
-#if PPC_NUM_VECTORS > 64
- .long vector64, vector65, vector66, vector67
-#endif
-#if PPC_NUM_VECTORS > 68
- .long vector68, vector69, vector70, vector71
-#endif
-#if PPC_NUM_VECTORS > 72
- .long vector72, vector73, vector74, vector75
-#endif
-#if PPC_NUM_VECTORS > 76
- .long vector76, vector77, vector78, vector79
-#endif
-#if PPC_NUM_VECTORS > 80
- .long vector80, vector81, vector82, vector83
-#endif
-#if PPC_NUM_VECTORS > 84
- .long vector84, vector85, vector86, vector87
-#endif
-#if PPC_NUM_VECTORS > 88
- .long vector88, vector89, vector90, vector91
-#endif
-#if PPC_NUM_VECTORS > 92
- .long vector92, vector93, vector94, vector95
-#endif
-#if PPC_NUM_VECTORS > 96
- .long vector96, vector97, vector98, vector99
-#endif
-#if PPC_NUM_VECTORS > 100
- .long vector100, vector101, vector102, vector103
-#endif
-#if PPC_NUM_VECTORS > 104
- .long vector104, vector105, vector106, vector107
-#endif
-#if PPC_NUM_VECTORS > 108
- .long vector108, vector109, vector110, vector111
-#endif
-#if PPC_NUM_VECTORS > 112
- .long vector112, vector113, vector114, vector115
-#endif
-#if PPC_NUM_VECTORS > 116
- .long vector116, vector117, vector118, vector119
-#endif
-#if PPC_NUM_VECTORS > 120
- .long vector120, vector121, vector122, vector123
-#endif
-#if PPC_NUM_VECTORS > 124
- .long vector124, vector125, vector126, vector127
-#endif
-#if PPC_NUM_VECTORS > 128
- .long vector128, vector129, vector130, vector131
-#endif
-#if PPC_NUM_VECTORS > 132
- .long vector132, vector133, vector134, vector135
-#endif
-#if PPC_NUM_VECTORS > 136
- .long vector136, vector137, vector138, vector139
-#endif
-#if PPC_NUM_VECTORS > 140
- .long vector140, vector141, vector142, vector143
-#endif
-#if PPC_NUM_VECTORS > 144
- .long vector144, vector145, vector146, vector147
-#endif
-#if PPC_NUM_VECTORS > 148
- .long vector148, vector149, vector150, vector151
-#endif
-#if PPC_NUM_VECTORS > 152
- .long vector152, vector153, vector154, vector155
-#endif
-#if PPC_NUM_VECTORS > 156
- .long vector156, vector157, vector158, vector159
-#endif
-#if PPC_NUM_VECTORS > 160
- .long vector160, vector161, vector162, vector163
-#endif
-#if PPC_NUM_VECTORS > 164
- .long vector164, vector165, vector166, vector167
-#endif
-#if PPC_NUM_VECTORS > 168
- .long vector168, vector169, vector170, vector171
-#endif
-#if PPC_NUM_VECTORS > 172
- .long vector172, vector173, vector174, vector175
-#endif
-#if PPC_NUM_VECTORS > 176
- .long vector176, vector177, vector178, vector179
-#endif
-#if PPC_NUM_VECTORS > 180
- .long vector180, vector181, vector182, vector183
-#endif
-#if PPC_NUM_VECTORS > 184
- .long vector184, vector185, vector186, vector187
-#endif
-#if PPC_NUM_VECTORS > 188
- .long vector188, vector189, vector190, vector191
-#endif
-#if PPC_NUM_VECTORS > 192
- .long vector192, vector193, vector194, vector195
-#endif
-#if PPC_NUM_VECTORS > 196
- .long vector196, vector197, vector198, vector199
-#endif
-#if PPC_NUM_VECTORS > 200
- .long vector200, vector201, vector202, vector203
-#endif
-#if PPC_NUM_VECTORS > 204
- .long vector204, vector205, vector206, vector207
-#endif
-#if PPC_NUM_VECTORS > 208
- .long vector208, vector209, vector210, vector211
-#endif
-#if PPC_NUM_VECTORS > 212
- .long vector212, vector213, vector214, vector215
-#endif
-#if PPC_NUM_VECTORS > 216
- .long vector216, vector217, vector218, vector219
-#endif
-#if PPC_NUM_VECTORS > 220
- .long vector220, vector221, vector222, vector223
-#endif
-#if PPC_NUM_VECTORS > 224
- .long vector224, vector225, vector226, vector227
-#endif
-#if PPC_NUM_VECTORS > 228
- .long vector228, vector229, vector230, vector231
-#endif
-#if PPC_NUM_VECTORS > 232
- .long vector232, vector233, vector234, vector235
-#endif
-#if PPC_NUM_VECTORS > 236
- .long vector236, vector237, vector238, vector239
-#endif
-#if PPC_NUM_VECTORS > 240
- .long vector240, vector241, vector242, vector243
-#endif
-#if PPC_NUM_VECTORS > 244
- .long vector244, vector245, vector246, vector247
-#endif
-#if PPC_NUM_VECTORS > 248
- .long vector248, vector249, vector250, vector251
-#endif
-#if PPC_NUM_VECTORS > 252
- .long vector252, vector253, vector254, vector255
-#endif
-#if PPC_NUM_VECTORS > 256
- .long vector256, vector257, vector258, vector259
-#endif
-#if PPC_NUM_VECTORS > 260
- .long vector260, vector261, vector262, vector263
-#endif
-#if PPC_NUM_VECTORS > 264
- .long vector264, vector265, vector266, vector267
-#endif
-#if PPC_NUM_VECTORS > 268
- .long vector268, vector269, vector270, vector271
-#endif
-#if PPC_NUM_VECTORS > 272
- .long vector272, vector273, vector274, vector275
-#endif
-#if PPC_NUM_VECTORS > 276
- .long vector276, vector277, vector278, vector279
-#endif
-#if PPC_NUM_VECTORS > 280
- .long vector280, vector281, vector282, vector283
-#endif
-#if PPC_NUM_VECTORS > 284
- .long vector284, vector285, vector286, vector287
-#endif
-#if PPC_NUM_VECTORS > 288
- .long vector288, vector289, vector290, vector291
-#endif
-#if PPC_NUM_VECTORS > 292
- .long vector292, vector293, vector294, vector295
-#endif
-#if PPC_NUM_VECTORS > 296
- .long vector296, vector297, vector298, vector299
-#endif
-#if PPC_NUM_VECTORS > 300
- .long vector300, vector301, vector302, vector303
-#endif
-#if PPC_NUM_VECTORS > 304
- .long vector304, vector305, vector306, vector307
-#endif
-#if PPC_NUM_VECTORS > 308
- .long vector308, vector309, vector310, vector311
-#endif
-#if PPC_NUM_VECTORS > 312
- .long vector312, vector313, vector314, vector315
-#endif
-#if PPC_NUM_VECTORS > 316
- .long vector316, vector317, vector318, vector319
-#endif
-#if PPC_NUM_VECTORS > 320
- .long vector320, vector321, vector322, vector323
-#endif
-#if PPC_NUM_VECTORS > 324
- .long vector324, vector325, vector326, vector327
-#endif
-#if PPC_NUM_VECTORS > 328
- .long vector328, vector329, vector330, vector331
-#endif
-#if PPC_NUM_VECTORS > 332
- .long vector332, vector333, vector334, vector335
-#endif
-#if PPC_NUM_VECTORS > 336
- .long vector336, vector337, vector338, vector339
-#endif
-#if PPC_NUM_VECTORS > 340
- .long vector340, vector341, vector342, vector343
-#endif
-#if PPC_NUM_VECTORS > 344
- .long vector344, vector345, vector346, vector347
-#endif
-#if PPC_NUM_VECTORS > 348
- .long vector348, vector349, vector350, vector351
-#endif
-#if PPC_NUM_VECTORS > 352
- .long vector352, vector353, vector354, vector355
-#endif
-#if PPC_NUM_VECTORS > 356
- .long vector356, vector357, vector358, vector359
-#endif
-#if PPC_NUM_VECTORS > 360
- .long vector360, vector361, vector362, vector363
-#endif
-#if PPC_NUM_VECTORS > 364
- .long vector364, vector365, vector366, vector367
-#endif
-#if PPC_NUM_VECTORS > 368
- .long vector368, vector369, vector370, vector371
-#endif
-#if PPC_NUM_VECTORS > 372
- .long vector372, vector373, vector374, vector375
-#endif
-#if PPC_NUM_VECTORS > 376
- .long vector376, vector377, vector378, vector379
-#endif
-#if PPC_NUM_VECTORS > 380
- .long vector380, vector381, vector382, vector383
-#endif
-#if PPC_NUM_VECTORS > 384
- .long vector384, vector385, vector386, vector387
-#endif
-#if PPC_NUM_VECTORS > 388
- .long vector388, vector389, vector390, vector391
-#endif
-#if PPC_NUM_VECTORS > 392
- .long vector392, vector393, vector394, vector395
-#endif
-#if PPC_NUM_VECTORS > 396
- .long vector396, vector397, vector398, vector399
-#endif
-#if PPC_NUM_VECTORS > 400
- .long vector400, vector401, vector402, vector403
-#endif
-#if PPC_NUM_VECTORS > 404
- .long vector404, vector405, vector406, vector407
-#endif
-#if PPC_NUM_VECTORS > 408
- .long vector408, vector409, vector410, vector411
-#endif
-#if PPC_NUM_VECTORS > 412
- .long vector412, vector413, vector414, vector415
-#endif
-#if PPC_NUM_VECTORS > 416
- .long vector416, vector417, vector418, vector419
-#endif
-#if PPC_NUM_VECTORS > 420
- .long vector420, vector421, vector422, vector423
-#endif
-#if PPC_NUM_VECTORS > 424
- .long vector424, vector425, vector426, vector427
-#endif
-#if PPC_NUM_VECTORS > 428
- .long vector428, vector429, vector430, vector431
-#endif
-#if PPC_NUM_VECTORS > 432
- .long vector432, vector433, vector434, vector435
-#endif
-#if PPC_NUM_VECTORS > 436
- .long vector436, vector437, vector438, vector439
-#endif
-#if PPC_NUM_VECTORS > 440
- .long vector440, vector441, vector442, vector443
-#endif
-#if PPC_NUM_VECTORS > 444
- .long vector444, vector445, vector446, vector447
-#endif
-#if PPC_NUM_VECTORS > 448
- .long vector448, vector449, vector450, vector451
-#endif
-#if PPC_NUM_VECTORS > 452
- .long vector452, vector453, vector454, vector455
-#endif
-#if PPC_NUM_VECTORS > 456
- .long vector456, vector457, vector458, vector459
-#endif
-#if PPC_NUM_VECTORS > 460
- .long vector460, vector461, vector462, vector463
-#endif
-#if PPC_NUM_VECTORS > 464
- .long vector464, vector465, vector466, vector467
-#endif
-#if PPC_NUM_VECTORS > 468
- .long vector468, vector469, vector470, vector471
-#endif
-#if PPC_NUM_VECTORS > 472
- .long vector472, vector473, vector474, vector475
-#endif
-#if PPC_NUM_VECTORS > 476
- .long vector476, vector477, vector478, vector479
-#endif
-#if PPC_NUM_VECTORS > 480
- .long vector480, vector481, vector482, vector483
-#endif
-#if PPC_NUM_VECTORS > 484
- .long vector484, vector485, vector486, vector487
-#endif
-#if PPC_NUM_VECTORS > 488
- .long vector488, vector489, vector490, vector491
-#endif
-#if PPC_NUM_VECTORS > 492
- .long vector492, vector493, vector494, vector495
-#endif
-#if PPC_NUM_VECTORS > 496
- .long vector496, vector497, vector498, vector499
-#endif
-#if PPC_NUM_VECTORS > 500
- .long vector500, vector501, vector502, vector503
-#endif
-#if PPC_NUM_VECTORS > 504
- .long vector504, vector505, vector506, vector507
-#endif
-#if PPC_NUM_VECTORS > 508
- .long vector508, vector509, vector510, vector511
-#endif
-#if PPC_NUM_VECTORS > 512
- .long vector512, vector513, vector514, vector515
-#endif
-#if PPC_NUM_VECTORS > 516
- .long vector516, vector517, vector518, vector519
-#endif
-#if PPC_NUM_VECTORS > 520
- .long vector520, vector521, vector522, vector523
-#endif
-#if PPC_NUM_VECTORS > 524
- .long vector524, vector525, vector526, vector527
-#endif
-#if PPC_NUM_VECTORS > 528
- .long vector528, vector529, vector530, vector531
-#endif
-#if PPC_NUM_VECTORS > 532
- .long vector532, vector533, vector534, vector535
-#endif
-#if PPC_NUM_VECTORS > 536
- .long vector536, vector537, vector538, vector539
-#endif
-#if PPC_NUM_VECTORS > 540
- .long vector540, vector541, vector542, vector543
-#endif
-#if PPC_NUM_VECTORS > 544
- .long vector544, vector545, vector546, vector547
-#endif
-#if PPC_NUM_VECTORS > 548
- .long vector548, vector549, vector550, vector551
-#endif
-#if PPC_NUM_VECTORS > 552
- .long vector552, vector553, vector554, vector555
-#endif
-#if PPC_NUM_VECTORS > 556
- .long vector556, vector557, vector558, vector559
-#endif
-#if PPC_NUM_VECTORS > 560
- .long vector560, vector561, vector562, vector563
-#endif
-#if PPC_NUM_VECTORS > 564
- .long vector564, vector565, vector566, vector567
-#endif
-#if PPC_NUM_VECTORS > 568
- .long vector568, vector569, vector570, vector571
-#endif
-#if PPC_NUM_VECTORS > 572
- .long vector572, vector573, vector574, vector575
-#endif
-#if PPC_NUM_VECTORS > 576
- .long vector576, vector577, vector578, vector579
-#endif
-#if PPC_NUM_VECTORS > 580
- .long vector580, vector581, vector582, vector583
-#endif
-#if PPC_NUM_VECTORS > 584
- .long vector584, vector585, vector586, vector587
-#endif
-#if PPC_NUM_VECTORS > 588
- .long vector588, vector589, vector590, vector591
-#endif
-#if PPC_NUM_VECTORS > 592
- .long vector592, vector593, vector594, vector595
-#endif
-#if PPC_NUM_VECTORS > 596
- .long vector596, vector597, vector598, vector599
-#endif
-#if PPC_NUM_VECTORS > 600
- .long vector600, vector601, vector602, vector603
-#endif
-#if PPC_NUM_VECTORS > 604
- .long vector604, vector605, vector606, vector607
-#endif
-#if PPC_NUM_VECTORS > 608
- .long vector608, vector609, vector610, vector611
-#endif
-#if PPC_NUM_VECTORS > 612
- .long vector612, vector613, vector614, vector615
-#endif
-#if PPC_NUM_VECTORS > 616
- .long vector616, vector617, vector618, vector619
-#endif
-#if PPC_NUM_VECTORS > 620
- .long vector620, vector621, vector622, vector623
-#endif
-#if PPC_NUM_VECTORS > 624
- .long vector624, vector625, vector626, vector627
-#endif
-#if PPC_NUM_VECTORS > 628
- .long vector628, vector629, vector630, vector631
-#endif
-#if PPC_NUM_VECTORS > 632
- .long vector632, vector633, vector634, vector635
-#endif
-#if PPC_NUM_VECTORS > 636
- .long vector636, vector637, vector638, vector639
-#endif
-#if PPC_NUM_VECTORS > 640
- .long vector640, vector641, vector642, vector643
-#endif
-#if PPC_NUM_VECTORS > 644
- .long vector644, vector645, vector646, vector647
-#endif
-#if PPC_NUM_VECTORS > 648
- .long vector648, vector649, vector650, vector651
-#endif
-#if PPC_NUM_VECTORS > 652
- .long vector652, vector653, vector654, vector655
-#endif
-#if PPC_NUM_VECTORS > 656
- .long vector656, vector657, vector658, vector659
-#endif
-#if PPC_NUM_VECTORS > 660
- .long vector660, vector661, vector662, vector663
-#endif
-#if PPC_NUM_VECTORS > 664
- .long vector664, vector665, vector666, vector667
-#endif
-#if PPC_NUM_VECTORS > 668
- .long vector668, vector669, vector670, vector671
-#endif
-#if PPC_NUM_VECTORS > 672
- .long vector672, vector673, vector674, vector675
-#endif
-#if PPC_NUM_VECTORS > 676
- .long vector676, vector677, vector678, vector679
-#endif
-#if PPC_NUM_VECTORS > 680
- .long vector680, vector681, vector682, vector683
-#endif
-#if PPC_NUM_VECTORS > 684
- .long vector684, vector685, vector686, vector687
-#endif
-#if PPC_NUM_VECTORS > 688
- .long vector688, vector689, vector690, vector691
-#endif
-#if PPC_NUM_VECTORS > 692
- .long vector692, vector693, vector694, vector695
-#endif
-#if PPC_NUM_VECTORS > 696
- .long vector696, vector697, vector698, vector699
-#endif
-#if PPC_NUM_VECTORS > 700
- .long vector700, vector701, vector702, vector703
-#endif
-#if PPC_NUM_VECTORS > 704
- .long vector704, vector705, vector706, vector707
-#endif
-#if PPC_NUM_VECTORS > 708
- .long vector708, vector709, vector710, vector711
-#endif
-#if PPC_NUM_VECTORS > 712
- .long vector712, vector713, vector714, vector715
-#endif
-#if PPC_NUM_VECTORS > 716
- .long vector716, vector717, vector718, vector719
-#endif
-#if PPC_NUM_VECTORS > 720
- .long vector720, vector721, vector722, vector723
-#endif
-#if PPC_NUM_VECTORS > 724
- .long vector724, vector725, vector726, vector727
-#endif
-#if PPC_NUM_VECTORS > 728
- .long vector728, vector729, vector730, vector731
-#endif
-#if PPC_NUM_VECTORS > 732
- .long vector732, vector733, vector734, vector735
-#endif
-#if PPC_NUM_VECTORS > 736
- .long vector736, vector737, vector738, vector739
-#endif
-#if PPC_NUM_VECTORS > 740
- .long vector740, vector741, vector742, vector743
-#endif
-#if PPC_NUM_VECTORS > 744
- .long vector744, vector745, vector746, vector747
-#endif
-#if PPC_NUM_VECTORS > 748
- .long vector748, vector749, vector750, vector751
-#endif
-#if PPC_NUM_VECTORS > 752
- .long vector752, vector753, vector754, vector755
-#endif
-#if PPC_NUM_VECTORS > 756
- .long vector756, vector757, vector758, vector759
-#endif
-#if PPC_NUM_VECTORS > 760
- .long vector760, vector761, vector762, vector763
-#endif
-#if PPC_NUM_VECTORS > 764
- .long vector764, vector765, vector766, vector767
-#endif
-#if PPC_NUM_VECTORS > 768
- .long vector768, vector769, vector770, vector771
-#endif
-#if PPC_NUM_VECTORS > 772
- .long vector772, vector773, vector774, vector775
-#endif
-#if PPC_NUM_VECTORS > 776
- .long vector776, vector777, vector778, vector779
-#endif
-#if PPC_NUM_VECTORS > 780
- .long vector780, vector781, vector782, vector783
-#endif
-#if PPC_NUM_VECTORS > 784
- .long vector784, vector785, vector786, vector787
-#endif
-#if PPC_NUM_VECTORS > 788
- .long vector788, vector789, vector790, vector791
-#endif
-#if PPC_NUM_VECTORS > 792
- .long vector792, vector793, vector794, vector795
-#endif
-#if PPC_NUM_VECTORS > 796
- .long vector796, vector797, vector798, vector799
-#endif
-#if PPC_NUM_VECTORS > 800
- .long vector800, vector801, vector802, vector803
-#endif
-#if PPC_NUM_VECTORS > 804
- .long vector804, vector805, vector806, vector807
-#endif
-#if PPC_NUM_VECTORS > 808
- .long vector808, vector809, vector810, vector811
-#endif
-#if PPC_NUM_VECTORS > 812
- .long vector812, vector813, vector814, vector815
-#endif
-#if PPC_NUM_VECTORS > 816
- .long vector816, vector817, vector818, vector819
-#endif
-#if PPC_NUM_VECTORS > 820
- .long vector820, vector821, vector822, vector823
-#endif
-#if PPC_NUM_VECTORS > 824
- .long vector824, vector825, vector826, vector827
-#endif
-#if PPC_NUM_VECTORS > 828
- .long vector828, vector829, vector830, vector831
-#endif
-#if PPC_NUM_VECTORS > 832
- .long vector832, vector833, vector834, vector835
-#endif
-#if PPC_NUM_VECTORS > 836
- .long vector836, vector837, vector838, vector839
-#endif
-#if PPC_NUM_VECTORS > 840
- .long vector840, vector841, vector842, vector843
-#endif
-#if PPC_NUM_VECTORS > 844
- .long vector844, vector845, vector846, vector847
-#endif
-#if PPC_NUM_VECTORS > 848
- .long vector848, vector849, vector850, vector851
-#endif
-#if PPC_NUM_VECTORS > 852
- .long vector852, vector853, vector854, vector855
-#endif
-#if PPC_NUM_VECTORS > 856
- .long vector856, vector857, vector858, vector859
-#endif
-#if PPC_NUM_VECTORS > 860
- .long vector860, vector861, vector862, vector863
-#endif
-#if PPC_NUM_VECTORS > 864
- .long vector864, vector865, vector866, vector867
-#endif
-#if PPC_NUM_VECTORS > 868
- .long vector868, vector869, vector870, vector871
-#endif
-#if PPC_NUM_VECTORS > 872
- .long vector872, vector873, vector874, vector875
-#endif
-#if PPC_NUM_VECTORS > 876
- .long vector876, vector877, vector878, vector879
-#endif
-#if PPC_NUM_VECTORS > 880
- .long vector880, vector881, vector882, vector883
-#endif
-#if PPC_NUM_VECTORS > 884
- .long vector884, vector885, vector886, vector887
-#endif
-#if PPC_NUM_VECTORS > 888
- .long vector888, vector889, vector890, vector891
-#endif
-#if PPC_NUM_VECTORS > 892
- .long vector892, vector893, vector894, vector895
-#endif
-#if PPC_NUM_VECTORS > 896
- .long vector896, vector897, vector898, vector899
-#endif
-#if PPC_NUM_VECTORS > 900
- .long vector900, vector901, vector902, vector903
-#endif
-#if PPC_NUM_VECTORS > 904
- .long vector904, vector905, vector906, vector907
-#endif
-#if PPC_NUM_VECTORS > 908
- .long vector908, vector909, vector910, vector911
-#endif
-#if PPC_NUM_VECTORS > 912
- .long vector912, vector913, vector914, vector915
-#endif
-#if PPC_NUM_VECTORS > 916
- .long vector916, vector917, vector918, vector919
-#endif
-#if PPC_NUM_VECTORS > 920
- .long vector920, vector921, vector922, vector923
-#endif
-#if PPC_NUM_VECTORS > 924
- .long vector924, vector925, vector926, vector927
-#endif
-#if PPC_NUM_VECTORS > 928
- .long vector928, vector929, vector930, vector931
-#endif
-#if PPC_NUM_VECTORS > 932
- .long vector932, vector933, vector934, vector935
-#endif
-#if PPC_NUM_VECTORS > 936
- .long vector936, vector937, vector938, vector939
-#endif
-#if PPC_NUM_VECTORS > 940
- .long vector940, vector941, vector942, vector943
-#endif
-#if PPC_NUM_VECTORS > 944
- .long vector944, vector945, vector946, vector947
-#endif
-#if PPC_NUM_VECTORS > 948
- .long vector948, vector949, vector950, vector951
-#endif
-#if PPC_NUM_VECTORS > 952
- .long vector952, vector953, vector954, vector955
-#endif
-#if PPC_NUM_VECTORS > 956
- .long vector956, vector957, vector958, vector959
-#endif
-#if PPC_NUM_VECTORS > 960
- .long vector960, vector961, vector962, vector963
-#endif
-#if PPC_NUM_VECTORS > 964
- .long vector964, vector965, vector966, vector967
-#endif
-#if PPC_NUM_VECTORS > 968
- .long vector968, vector969, vector970, vector971
-#endif
-#if PPC_NUM_VECTORS > 972
- .long vector972, vector973, vector974, vector975
-#endif
-#if PPC_NUM_VECTORS > 976
- .long vector976, vector977, vector978, vector979
-#endif
-#if PPC_NUM_VECTORS > 980
- .long vector980, vector981, vector982, vector983
-#endif
-#if PPC_NUM_VECTORS > 984
- .long vector984, vector985, vector986, vector987
-#endif
-#if PPC_NUM_VECTORS > 988
- .long vector988, vector989, vector990, vector991
-#endif
-#if PPC_NUM_VECTORS > 992
- .long vector992, vector993, vector994, vector995
-#endif
-#if PPC_NUM_VECTORS > 996
- .long vector996, vector997, vector998, vector999
-#endif
-#if PPC_NUM_VECTORS > 1000
- .long vector1000, vector1001, vector1002, vector1003
-#endif
-#if PPC_NUM_VECTORS > 1004
- .long vector1004, vector1005, vector1006, vector1007
-#endif
-#if PPC_NUM_VECTORS > 1008
- .long vector1008, vector1009, vector1010, vector1011
-#endif
-#if PPC_NUM_VECTORS > 1012
- .long vector1012, vector1013, vector1014, vector1015
-#endif
-#if PPC_NUM_VECTORS > 1016
- .long vector1016, vector1017, vector1018, vector1019
-#endif
-#if PPC_NUM_VECTORS > 1020
- .long vector1020, vector1021, vector1022, vector1023
-#endif
-
- .text
- .align 2
-
- .weak vector0, vector1, vector2, vector3
-#if PPC_NUM_VECTORS > 4
- .weak vector4, vector5, vector6, vector7
-#endif
-#if PPC_NUM_VECTORS > 8
- .weak vector8, vector9, vector10, vector11
-#endif
-#if PPC_NUM_VECTORS > 12
- .weak vector12, vector13, vector14, vector15
-#endif
-#if PPC_NUM_VECTORS > 16
- .weak vector16, vector17, vector18, vector19
-#endif
-#if PPC_NUM_VECTORS > 20
- .weak vector20, vector21, vector22, vector23
-#endif
-#if PPC_NUM_VECTORS > 24
- .weak vector24, vector25, vector26, vector27
-#endif
-#if PPC_NUM_VECTORS > 28
- .weak vector28, vector29, vector30, vector31
-#endif
-#if PPC_NUM_VECTORS > 32
- .weak vector32, vector33, vector34, vector35
-#endif
-#if PPC_NUM_VECTORS > 36
- .weak vector36, vector37, vector38, vector39
-#endif
-#if PPC_NUM_VECTORS > 40
- .weak vector40, vector41, vector42, vector43
-#endif
-#if PPC_NUM_VECTORS > 44
- .weak vector44, vector45, vector46, vector47
-#endif
-#if PPC_NUM_VECTORS > 48
- .weak vector48, vector49, vector50, vector51
-#endif
-#if PPC_NUM_VECTORS > 52
- .weak vector52, vector53, vector54, vector55
-#endif
-#if PPC_NUM_VECTORS > 56
- .weak vector56, vector57, vector58, vector59
-#endif
-#if PPC_NUM_VECTORS > 60
- .weak vector60, vector61, vector62, vector63
-#endif
-#if PPC_NUM_VECTORS > 64
- .weak vector64, vector65, vector66, vector67
-#endif
-#if PPC_NUM_VECTORS > 68
- .weak vector68, vector69, vector70, vector71
-#endif
-#if PPC_NUM_VECTORS > 72
- .weak vector72, vector73, vector74, vector75
-#endif
-#if PPC_NUM_VECTORS > 76
- .weak vector76, vector77, vector78, vector79
-#endif
-#if PPC_NUM_VECTORS > 80
- .weak vector80, vector81, vector82, vector83
-#endif
-#if PPC_NUM_VECTORS > 84
- .weak vector84, vector85, vector86, vector87
-#endif
-#if PPC_NUM_VECTORS > 88
- .weak vector88, vector89, vector90, vector91
-#endif
-#if PPC_NUM_VECTORS > 92
- .weak vector92, vector93, vector94, vector95
-#endif
-#if PPC_NUM_VECTORS > 96
- .weak vector96, vector97, vector98, vector99
-#endif
-#if PPC_NUM_VECTORS > 100
- .weak vector100, vector101, vector102, vector103
-#endif
-#if PPC_NUM_VECTORS > 104
- .weak vector104, vector105, vector106, vector107
-#endif
-#if PPC_NUM_VECTORS > 108
- .weak vector108, vector109, vector110, vector111
-#endif
-#if PPC_NUM_VECTORS > 112
- .weak vector112, vector113, vector114, vector115
-#endif
-#if PPC_NUM_VECTORS > 116
- .weak vector116, vector117, vector118, vector119
-#endif
-#if PPC_NUM_VECTORS > 120
- .weak vector120, vector121, vector122, vector123
-#endif
-#if PPC_NUM_VECTORS > 124
- .weak vector124, vector125, vector126, vector127
-#endif
-#if PPC_NUM_VECTORS > 128
- .weak vector128, vector129, vector130, vector131
-#endif
-#if PPC_NUM_VECTORS > 132
- .weak vector132, vector133, vector134, vector135
-#endif
-#if PPC_NUM_VECTORS > 136
- .weak vector136, vector137, vector138, vector139
-#endif
-#if PPC_NUM_VECTORS > 140
- .weak vector140, vector141, vector142, vector143
-#endif
-#if PPC_NUM_VECTORS > 144
- .weak vector144, vector145, vector146, vector147
-#endif
-#if PPC_NUM_VECTORS > 148
- .weak vector148, vector149, vector150, vector151
-#endif
-#if PPC_NUM_VECTORS > 152
- .weak vector152, vector153, vector154, vector155
-#endif
-#if PPC_NUM_VECTORS > 156
- .weak vector156, vector157, vector158, vector159
-#endif
-#if PPC_NUM_VECTORS > 160
- .weak vector160, vector161, vector162, vector163
-#endif
-#if PPC_NUM_VECTORS > 164
- .weak vector164, vector165, vector166, vector167
-#endif
-#if PPC_NUM_VECTORS > 168
- .weak vector168, vector169, vector170, vector171
-#endif
-#if PPC_NUM_VECTORS > 172
- .weak vector172, vector173, vector174, vector175
-#endif
-#if PPC_NUM_VECTORS > 176
- .weak vector176, vector177, vector178, vector179
-#endif
-#if PPC_NUM_VECTORS > 180
- .weak vector180, vector181, vector182, vector183
-#endif
-#if PPC_NUM_VECTORS > 184
- .weak vector184, vector185, vector186, vector187
-#endif
-#if PPC_NUM_VECTORS > 188
- .weak vector188, vector189, vector190, vector191
-#endif
-#if PPC_NUM_VECTORS > 192
- .weak vector192, vector193, vector194, vector195
-#endif
-#if PPC_NUM_VECTORS > 196
- .weak vector196, vector197, vector198, vector199
-#endif
-#if PPC_NUM_VECTORS > 200
- .weak vector200, vector201, vector202, vector203
-#endif
-#if PPC_NUM_VECTORS > 204
- .weak vector204, vector205, vector206, vector207
-#endif
-#if PPC_NUM_VECTORS > 208
- .weak vector208, vector209, vector210, vector211
-#endif
-#if PPC_NUM_VECTORS > 212
- .weak vector212, vector213, vector214, vector215
-#endif
-#if PPC_NUM_VECTORS > 216
- .weak vector216, vector217, vector218, vector219
-#endif
-#if PPC_NUM_VECTORS > 220
- .weak vector220, vector221, vector222, vector223
-#endif
-#if PPC_NUM_VECTORS > 224
- .weak vector224, vector225, vector226, vector227
-#endif
-#if PPC_NUM_VECTORS > 228
- .weak vector228, vector229, vector230, vector231
-#endif
-#if PPC_NUM_VECTORS > 232
- .weak vector232, vector233, vector234, vector235
-#endif
-#if PPC_NUM_VECTORS > 236
- .weak vector236, vector237, vector238, vector239
-#endif
-#if PPC_NUM_VECTORS > 240
- .weak vector240, vector241, vector242, vector243
-#endif
-#if PPC_NUM_VECTORS > 244
- .weak vector244, vector245, vector246, vector247
-#endif
-#if PPC_NUM_VECTORS > 248
- .weak vector248, vector249, vector250, vector251
-#endif
-#if PPC_NUM_VECTORS > 252
- .weak vector252, vector253, vector254, vector255
-#endif
-#if PPC_NUM_VECTORS > 256
- .weak vector256, vector257, vector258, vector259
-#endif
-#if PPC_NUM_VECTORS > 260
- .weak vector260, vector261, vector262, vector263
-#endif
-#if PPC_NUM_VECTORS > 264
- .weak vector264, vector265, vector266, vector267
-#endif
-#if PPC_NUM_VECTORS > 268
- .weak vector268, vector269, vector270, vector271
-#endif
-#if PPC_NUM_VECTORS > 272
- .weak vector272, vector273, vector274, vector275
-#endif
-#if PPC_NUM_VECTORS > 276
- .weak vector276, vector277, vector278, vector279
-#endif
-#if PPC_NUM_VECTORS > 280
- .weak vector280, vector281, vector282, vector283
-#endif
-#if PPC_NUM_VECTORS > 284
- .weak vector284, vector285, vector286, vector287
-#endif
-#if PPC_NUM_VECTORS > 288
- .weak vector288, vector289, vector290, vector291
-#endif
-#if PPC_NUM_VECTORS > 292
- .weak vector292, vector293, vector294, vector295
-#endif
-#if PPC_NUM_VECTORS > 296
- .weak vector296, vector297, vector298, vector299
-#endif
-#if PPC_NUM_VECTORS > 300
- .weak vector300, vector301, vector302, vector303
-#endif
-#if PPC_NUM_VECTORS > 304
- .weak vector304, vector305, vector306, vector307
-#endif
-#if PPC_NUM_VECTORS > 308
- .weak vector308, vector309, vector310, vector311
-#endif
-#if PPC_NUM_VECTORS > 312
- .weak vector312, vector313, vector314, vector315
-#endif
-#if PPC_NUM_VECTORS > 316
- .weak vector316, vector317, vector318, vector319
-#endif
-#if PPC_NUM_VECTORS > 320
- .weak vector320, vector321, vector322, vector323
-#endif
-#if PPC_NUM_VECTORS > 324
- .weak vector324, vector325, vector326, vector327
-#endif
-#if PPC_NUM_VECTORS > 328
- .weak vector328, vector329, vector330, vector331
-#endif
-#if PPC_NUM_VECTORS > 332
- .weak vector332, vector333, vector334, vector335
-#endif
-#if PPC_NUM_VECTORS > 336
- .weak vector336, vector337, vector338, vector339
-#endif
-#if PPC_NUM_VECTORS > 340
- .weak vector340, vector341, vector342, vector343
-#endif
-#if PPC_NUM_VECTORS > 344
- .weak vector344, vector345, vector346, vector347
-#endif
-#if PPC_NUM_VECTORS > 348
- .weak vector348, vector349, vector350, vector351
-#endif
-#if PPC_NUM_VECTORS > 352
- .weak vector352, vector353, vector354, vector355
-#endif
-#if PPC_NUM_VECTORS > 356
- .weak vector356, vector357, vector358, vector359
-#endif
-#if PPC_NUM_VECTORS > 360
- .weak vector360, vector361, vector362, vector363
-#endif
-#if PPC_NUM_VECTORS > 364
- .weak vector364, vector365, vector366, vector367
-#endif
-#if PPC_NUM_VECTORS > 368
- .weak vector368, vector369, vector370, vector371
-#endif
-#if PPC_NUM_VECTORS > 372
- .weak vector372, vector373, vector374, vector375
-#endif
-#if PPC_NUM_VECTORS > 376
- .weak vector376, vector377, vector378, vector379
-#endif
-#if PPC_NUM_VECTORS > 380
- .weak vector380, vector381, vector382, vector383
-#endif
-#if PPC_NUM_VECTORS > 384
- .weak vector384, vector385, vector386, vector387
-#endif
-#if PPC_NUM_VECTORS > 388
- .weak vector388, vector389, vector390, vector391
-#endif
-#if PPC_NUM_VECTORS > 392
- .weak vector392, vector393, vector394, vector395
-#endif
-#if PPC_NUM_VECTORS > 396
- .weak vector396, vector397, vector398, vector399
-#endif
-#if PPC_NUM_VECTORS > 400
- .weak vector400, vector401, vector402, vector403
-#endif
-#if PPC_NUM_VECTORS > 404
- .weak vector404, vector405, vector406, vector407
-#endif
-#if PPC_NUM_VECTORS > 408
- .weak vector408, vector409, vector410, vector411
-#endif
-#if PPC_NUM_VECTORS > 412
- .weak vector412, vector413, vector414, vector415
-#endif
-#if PPC_NUM_VECTORS > 416
- .weak vector416, vector417, vector418, vector419
-#endif
-#if PPC_NUM_VECTORS > 420
- .weak vector420, vector421, vector422, vector423
-#endif
-#if PPC_NUM_VECTORS > 424
- .weak vector424, vector425, vector426, vector427
-#endif
-#if PPC_NUM_VECTORS > 428
- .weak vector428, vector429, vector430, vector431
-#endif
-#if PPC_NUM_VECTORS > 432
- .weak vector432, vector433, vector434, vector435
-#endif
-#if PPC_NUM_VECTORS > 436
- .weak vector436, vector437, vector438, vector439
-#endif
-#if PPC_NUM_VECTORS > 440
- .weak vector440, vector441, vector442, vector443
-#endif
-#if PPC_NUM_VECTORS > 444
- .weak vector444, vector445, vector446, vector447
-#endif
-#if PPC_NUM_VECTORS > 448
- .weak vector448, vector449, vector450, vector451
-#endif
-#if PPC_NUM_VECTORS > 452
- .weak vector452, vector453, vector454, vector455
-#endif
-#if PPC_NUM_VECTORS > 456
- .weak vector456, vector457, vector458, vector459
-#endif
-#if PPC_NUM_VECTORS > 460
- .weak vector460, vector461, vector462, vector463
-#endif
-#if PPC_NUM_VECTORS > 464
- .weak vector464, vector465, vector466, vector467
-#endif
-#if PPC_NUM_VECTORS > 468
- .weak vector468, vector469, vector470, vector471
-#endif
-#if PPC_NUM_VECTORS > 472
- .weak vector472, vector473, vector474, vector475
-#endif
-#if PPC_NUM_VECTORS > 476
- .weak vector476, vector477, vector478, vector479
-#endif
-#if PPC_NUM_VECTORS > 480
- .weak vector480, vector481, vector482, vector483
-#endif
-#if PPC_NUM_VECTORS > 484
- .weak vector484, vector485, vector486, vector487
-#endif
-#if PPC_NUM_VECTORS > 488
- .weak vector488, vector489, vector490, vector491
-#endif
-#if PPC_NUM_VECTORS > 492
- .weak vector492, vector493, vector494, vector495
-#endif
-#if PPC_NUM_VECTORS > 496
- .weak vector496, vector497, vector498, vector499
-#endif
-#if PPC_NUM_VECTORS > 500
- .weak vector500, vector501, vector502, vector503
-#endif
-#if PPC_NUM_VECTORS > 504
- .weak vector504, vector505, vector506, vector507
-#endif
-#if PPC_NUM_VECTORS > 508
- .weak vector508, vector509, vector510, vector511
-#endif
-#if PPC_NUM_VECTORS > 512
- .weak vector512, vector513, vector514, vector515
-#endif
-#if PPC_NUM_VECTORS > 516
- .weak vector516, vector517, vector518, vector519
-#endif
-#if PPC_NUM_VECTORS > 520
- .weak vector520, vector521, vector522, vector523
-#endif
-#if PPC_NUM_VECTORS > 524
- .weak vector524, vector525, vector526, vector527
-#endif
-#if PPC_NUM_VECTORS > 528
- .weak vector528, vector529, vector530, vector531
-#endif
-#if PPC_NUM_VECTORS > 532
- .weak vector532, vector533, vector534, vector535
-#endif
-#if PPC_NUM_VECTORS > 536
- .weak vector536, vector537, vector538, vector539
-#endif
-#if PPC_NUM_VECTORS > 540
- .weak vector540, vector541, vector542, vector543
-#endif
-#if PPC_NUM_VECTORS > 544
- .weak vector544, vector545, vector546, vector547
-#endif
-#if PPC_NUM_VECTORS > 548
- .weak vector548, vector549, vector550, vector551
-#endif
-#if PPC_NUM_VECTORS > 552
- .weak vector552, vector553, vector554, vector555
-#endif
-#if PPC_NUM_VECTORS > 556
- .weak vector556, vector557, vector558, vector559
-#endif
-#if PPC_NUM_VECTORS > 560
- .weak vector560, vector561, vector562, vector563
-#endif
-#if PPC_NUM_VECTORS > 564
- .weak vector564, vector565, vector566, vector567
-#endif
-#if PPC_NUM_VECTORS > 568
- .weak vector568, vector569, vector570, vector571
-#endif
-#if PPC_NUM_VECTORS > 572
- .weak vector572, vector573, vector574, vector575
-#endif
-#if PPC_NUM_VECTORS > 576
- .weak vector576, vector577, vector578, vector579
-#endif
-#if PPC_NUM_VECTORS > 580
- .weak vector580, vector581, vector582, vector583
-#endif
-#if PPC_NUM_VECTORS > 584
- .weak vector584, vector585, vector586, vector587
-#endif
-#if PPC_NUM_VECTORS > 588
- .weak vector588, vector589, vector590, vector591
-#endif
-#if PPC_NUM_VECTORS > 592
- .weak vector592, vector593, vector594, vector595
-#endif
-#if PPC_NUM_VECTORS > 596
- .weak vector596, vector597, vector598, vector599
-#endif
-#if PPC_NUM_VECTORS > 600
- .weak vector600, vector601, vector602, vector603
-#endif
-#if PPC_NUM_VECTORS > 604
- .weak vector604, vector605, vector606, vector607
-#endif
-#if PPC_NUM_VECTORS > 608
- .weak vector608, vector609, vector610, vector611
-#endif
-#if PPC_NUM_VECTORS > 612
- .weak vector612, vector613, vector614, vector615
-#endif
-#if PPC_NUM_VECTORS > 616
- .weak vector616, vector617, vector618, vector619
-#endif
-#if PPC_NUM_VECTORS > 620
- .weak vector620, vector621, vector622, vector623
-#endif
-#if PPC_NUM_VECTORS > 624
- .weak vector624, vector625, vector626, vector627
-#endif
-#if PPC_NUM_VECTORS > 628
- .weak vector628, vector629, vector630, vector631
-#endif
-#if PPC_NUM_VECTORS > 632
- .weak vector632, vector633, vector634, vector635
-#endif
-#if PPC_NUM_VECTORS > 636
- .weak vector636, vector637, vector638, vector639
-#endif
-#if PPC_NUM_VECTORS > 640
- .weak vector640, vector641, vector642, vector643
-#endif
-#if PPC_NUM_VECTORS > 644
- .weak vector644, vector645, vector646, vector647
-#endif
-#if PPC_NUM_VECTORS > 648
- .weak vector648, vector649, vector650, vector651
-#endif
-#if PPC_NUM_VECTORS > 652
- .weak vector652, vector653, vector654, vector655
-#endif
-#if PPC_NUM_VECTORS > 656
- .weak vector656, vector657, vector658, vector659
-#endif
-#if PPC_NUM_VECTORS > 660
- .weak vector660, vector661, vector662, vector663
-#endif
-#if PPC_NUM_VECTORS > 664
- .weak vector664, vector665, vector666, vector667
-#endif
-#if PPC_NUM_VECTORS > 668
- .weak vector668, vector669, vector670, vector671
-#endif
-#if PPC_NUM_VECTORS > 672
- .weak vector672, vector673, vector674, vector675
-#endif
-#if PPC_NUM_VECTORS > 676
- .weak vector676, vector677, vector678, vector679
-#endif
-#if PPC_NUM_VECTORS > 680
- .weak vector680, vector681, vector682, vector683
-#endif
-#if PPC_NUM_VECTORS > 684
- .weak vector684, vector685, vector686, vector687
-#endif
-#if PPC_NUM_VECTORS > 688
- .weak vector688, vector689, vector690, vector691
-#endif
-#if PPC_NUM_VECTORS > 692
- .weak vector692, vector693, vector694, vector695
-#endif
-#if PPC_NUM_VECTORS > 696
- .weak vector696, vector697, vector698, vector699
-#endif
-#if PPC_NUM_VECTORS > 700
- .weak vector700, vector701, vector702, vector703
-#endif
-#if PPC_NUM_VECTORS > 704
- .weak vector704, vector705, vector706, vector707
-#endif
-#if PPC_NUM_VECTORS > 708
- .weak vector708, vector709, vector710, vector711
-#endif
-#if PPC_NUM_VECTORS > 712
- .weak vector712, vector713, vector714, vector715
-#endif
-#if PPC_NUM_VECTORS > 716
- .weak vector716, vector717, vector718, vector719
-#endif
-#if PPC_NUM_VECTORS > 720
- .weak vector720, vector721, vector722, vector723
-#endif
-#if PPC_NUM_VECTORS > 724
- .weak vector724, vector725, vector726, vector727
-#endif
-#if PPC_NUM_VECTORS > 728
- .weak vector728, vector729, vector730, vector731
-#endif
-#if PPC_NUM_VECTORS > 732
- .weak vector732, vector733, vector734, vector735
-#endif
-#if PPC_NUM_VECTORS > 736
- .weak vector736, vector737, vector738, vector739
-#endif
-#if PPC_NUM_VECTORS > 740
- .weak vector740, vector741, vector742, vector743
-#endif
-#if PPC_NUM_VECTORS > 744
- .weak vector744, vector745, vector746, vector747
-#endif
-#if PPC_NUM_VECTORS > 748
- .weak vector748, vector749, vector750, vector751
-#endif
-#if PPC_NUM_VECTORS > 752
- .weak vector752, vector753, vector754, vector755
-#endif
-#if PPC_NUM_VECTORS > 756
- .weak vector756, vector757, vector758, vector759
-#endif
-#if PPC_NUM_VECTORS > 760
- .weak vector760, vector761, vector762, vector763
-#endif
-#if PPC_NUM_VECTORS > 764
- .weak vector764, vector765, vector766, vector767
-#endif
-#if PPC_NUM_VECTORS > 768
- .weak vector768, vector769, vector770, vector771
-#endif
-#if PPC_NUM_VECTORS > 772
- .weak vector772, vector773, vector774, vector775
-#endif
-#if PPC_NUM_VECTORS > 776
- .weak vector776, vector777, vector778, vector779
-#endif
-#if PPC_NUM_VECTORS > 780
- .weak vector780, vector781, vector782, vector783
-#endif
-#if PPC_NUM_VECTORS > 784
- .weak vector784, vector785, vector786, vector787
-#endif
-#if PPC_NUM_VECTORS > 788
- .weak vector788, vector789, vector790, vector791
-#endif
-#if PPC_NUM_VECTORS > 792
- .weak vector792, vector793, vector794, vector795
-#endif
-#if PPC_NUM_VECTORS > 796
- .weak vector796, vector797, vector798, vector799
-#endif
-#if PPC_NUM_VECTORS > 800
- .weak vector800, vector801, vector802, vector803
-#endif
-#if PPC_NUM_VECTORS > 804
- .weak vector804, vector805, vector806, vector807
-#endif
-#if PPC_NUM_VECTORS > 808
- .weak vector808, vector809, vector810, vector811
-#endif
-#if PPC_NUM_VECTORS > 812
- .weak vector812, vector813, vector814, vector815
-#endif
-#if PPC_NUM_VECTORS > 816
- .weak vector816, vector817, vector818, vector819
-#endif
-#if PPC_NUM_VECTORS > 820
- .weak vector820, vector821, vector822, vector823
-#endif
-#if PPC_NUM_VECTORS > 824
- .weak vector824, vector825, vector826, vector827
-#endif
-#if PPC_NUM_VECTORS > 828
- .weak vector828, vector829, vector830, vector831
-#endif
-#if PPC_NUM_VECTORS > 832
- .weak vector832, vector833, vector834, vector835
-#endif
-#if PPC_NUM_VECTORS > 836
- .weak vector836, vector837, vector838, vector839
-#endif
-#if PPC_NUM_VECTORS > 840
- .weak vector840, vector841, vector842, vector843
-#endif
-#if PPC_NUM_VECTORS > 844
- .weak vector844, vector845, vector846, vector847
-#endif
-#if PPC_NUM_VECTORS > 848
- .weak vector848, vector849, vector850, vector851
-#endif
-#if PPC_NUM_VECTORS > 852
- .weak vector852, vector853, vector854, vector855
-#endif
-#if PPC_NUM_VECTORS > 856
- .weak vector856, vector857, vector858, vector859
-#endif
-#if PPC_NUM_VECTORS > 860
- .weak vector860, vector861, vector862, vector863
-#endif
-#if PPC_NUM_VECTORS > 864
- .weak vector864, vector865, vector866, vector867
-#endif
-#if PPC_NUM_VECTORS > 868
- .weak vector868, vector869, vector870, vector871
-#endif
-#if PPC_NUM_VECTORS > 872
- .weak vector872, vector873, vector874, vector875
-#endif
-#if PPC_NUM_VECTORS > 876
- .weak vector876, vector877, vector878, vector879
-#endif
-#if PPC_NUM_VECTORS > 880
- .weak vector880, vector881, vector882, vector883
-#endif
-#if PPC_NUM_VECTORS > 884
- .weak vector884, vector885, vector886, vector887
-#endif
-#if PPC_NUM_VECTORS > 888
- .weak vector888, vector889, vector890, vector891
-#endif
-#if PPC_NUM_VECTORS > 892
- .weak vector892, vector893, vector894, vector895
-#endif
-#if PPC_NUM_VECTORS > 896
- .weak vector896, vector897, vector898, vector899
-#endif
-#if PPC_NUM_VECTORS > 900
- .weak vector900, vector901, vector902, vector903
-#endif
-#if PPC_NUM_VECTORS > 904
- .weak vector904, vector905, vector906, vector907
-#endif
-#if PPC_NUM_VECTORS > 908
- .weak vector908, vector909, vector910, vector911
-#endif
-#if PPC_NUM_VECTORS > 912
- .weak vector912, vector913, vector914, vector915
-#endif
-#if PPC_NUM_VECTORS > 916
- .weak vector916, vector917, vector918, vector919
-#endif
-#if PPC_NUM_VECTORS > 920
- .weak vector920, vector921, vector922, vector923
-#endif
-#if PPC_NUM_VECTORS > 924
- .weak vector924, vector925, vector926, vector927
-#endif
-#if PPC_NUM_VECTORS > 928
- .weak vector928, vector929, vector930, vector931
-#endif
-#if PPC_NUM_VECTORS > 932
- .weak vector932, vector933, vector934, vector935
-#endif
-#if PPC_NUM_VECTORS > 936
- .weak vector936, vector937, vector938, vector939
-#endif
-#if PPC_NUM_VECTORS > 940
- .weak vector940, vector941, vector942, vector943
-#endif
-#if PPC_NUM_VECTORS > 944
- .weak vector944, vector945, vector946, vector947
-#endif
-#if PPC_NUM_VECTORS > 948
- .weak vector948, vector949, vector950, vector951
-#endif
-#if PPC_NUM_VECTORS > 952
- .weak vector952, vector953, vector954, vector955
-#endif
-#if PPC_NUM_VECTORS > 956
- .weak vector956, vector957, vector958, vector959
-#endif
-#if PPC_NUM_VECTORS > 960
- .weak vector960, vector961, vector962, vector963
-#endif
-#if PPC_NUM_VECTORS > 964
- .weak vector964, vector965, vector966, vector967
-#endif
-#if PPC_NUM_VECTORS > 968
- .weak vector968, vector969, vector970, vector971
-#endif
-#if PPC_NUM_VECTORS > 972
- .weak vector972, vector973, vector974, vector975
-#endif
-#if PPC_NUM_VECTORS > 976
- .weak vector976, vector977, vector978, vector979
-#endif
-#if PPC_NUM_VECTORS > 980
- .weak vector980, vector981, vector982, vector983
-#endif
-#if PPC_NUM_VECTORS > 984
- .weak vector984, vector985, vector986, vector987
-#endif
-#if PPC_NUM_VECTORS > 988
- .weak vector988, vector989, vector990, vector991
-#endif
-#if PPC_NUM_VECTORS > 992
- .weak vector992, vector993, vector994, vector995
-#endif
-#if PPC_NUM_VECTORS > 996
- .weak vector996, vector997, vector998, vector999
-#endif
-#if PPC_NUM_VECTORS > 1000
- .weak vector1000, vector1001, vector1002, vector1003
-#endif
-#if PPC_NUM_VECTORS > 1004
- .weak vector1004, vector1005, vector1006, vector1007
-#endif
-#if PPC_NUM_VECTORS > 1008
- .weak vector1008, vector1009, vector1010, vector1011
-#endif
-#if PPC_NUM_VECTORS > 1012
- .weak vector1012, vector1013, vector1014, vector1015
-#endif
-#if PPC_NUM_VECTORS > 1016
- .weak vector1016, vector1017, vector1018, vector1019
-#endif
-#if PPC_NUM_VECTORS > 1020
- .weak vector1020, vector1021, vector1022, vector1023
-#endif
-
-vector0:
-vector1:
-vector2:
-vector3:
-vector4:
-vector5:
-vector6:
-vector7:
-vector8:
-vector9:
-vector10:
-vector11:
-vector12:
-vector13:
-vector14:
-vector15:
-vector16:
-vector17:
-vector18:
-vector19:
-vector20:
-vector21:
-vector22:
-vector23:
-vector24:
-vector25:
-vector26:
-vector27:
-vector28:
-vector29:
-vector30:
-vector31:
-vector32:
-vector33:
-vector34:
-vector35:
-vector36:
-vector37:
-vector38:
-vector39:
-vector40:
-vector41:
-vector42:
-vector43:
-vector44:
-vector45:
-vector46:
-vector47:
-vector48:
-vector49:
-vector50:
-vector51:
-vector52:
-vector53:
-vector54:
-vector55:
-vector56:
-vector57:
-vector58:
-vector59:
-vector60:
-vector61:
-vector62:
-vector63:
-vector64:
-vector65:
-vector66:
-vector67:
-vector68:
-vector69:
-vector70:
-vector71:
-vector72:
-vector73:
-vector74:
-vector75:
-vector76:
-vector77:
-vector78:
-vector79:
-vector80:
-vector81:
-vector82:
-vector83:
-vector84:
-vector85:
-vector86:
-vector87:
-vector88:
-vector89:
-vector90:
-vector91:
-vector92:
-vector93:
-vector94:
-vector95:
-vector96:
-vector97:
-vector98:
-vector99:
-vector100:
-vector101:
-vector102:
-vector103:
-vector104:
-vector105:
-vector106:
-vector107:
-vector108:
-vector109:
-vector110:
-vector111:
-vector112:
-vector113:
-vector114:
-vector115:
-vector116:
-vector117:
-vector118:
-vector119:
-vector120:
-vector121:
-vector122:
-vector123:
-vector124:
-vector125:
-vector126:
-vector127:
-vector128:
-vector129:
-vector130:
-vector131:
-vector132:
-vector133:
-vector134:
-vector135:
-vector136:
-vector137:
-vector138:
-vector139:
-vector140:
-vector141:
-vector142:
-vector143:
-vector144:
-vector145:
-vector146:
-vector147:
-vector148:
-vector149:
-vector150:
-vector151:
-vector152:
-vector153:
-vector154:
-vector155:
-vector156:
-vector157:
-vector158:
-vector159:
-vector160:
-vector161:
-vector162:
-vector163:
-vector164:
-vector165:
-vector166:
-vector167:
-vector168:
-vector169:
-vector170:
-vector171:
-vector172:
-vector173:
-vector174:
-vector175:
-vector176:
-vector177:
-vector178:
-vector179:
-vector180:
-vector181:
-vector182:
-vector183:
-vector184:
-vector185:
-vector186:
-vector187:
-vector188:
-vector189:
-vector190:
-vector191:
-vector192:
-vector193:
-vector194:
-vector195:
-vector196:
-vector197:
-vector198:
-vector199:
-vector200:
-vector201:
-vector202:
-vector203:
-vector204:
-vector205:
-vector206:
-vector207:
-vector208:
-vector209:
-vector210:
-vector211:
-vector212:
-vector213:
-vector214:
-vector215:
-vector216:
-vector217:
-vector218:
-vector219:
-vector220:
-vector221:
-vector222:
-vector223:
-vector224:
-vector225:
-vector226:
-vector227:
-vector228:
-vector229:
-vector230:
-vector231:
-vector232:
-vector233:
-vector234:
-vector235:
-vector236:
-vector237:
-vector238:
-vector239:
-vector240:
-vector241:
-vector242:
-vector243:
-vector244:
-vector245:
-vector246:
-vector247:
-vector248:
-vector249:
-vector250:
-vector251:
-vector252:
-vector253:
-vector254:
-vector255:
-vector256:
-vector257:
-vector258:
-vector259:
-vector260:
-vector261:
-vector262:
-vector263:
-vector264:
-vector265:
-vector266:
-vector267:
-vector268:
-vector269:
-vector270:
-vector271:
-vector272:
-vector273:
-vector274:
-vector275:
-vector276:
-vector277:
-vector278:
-vector279:
-vector280:
-vector281:
-vector282:
-vector283:
-vector284:
-vector285:
-vector286:
-vector287:
-vector288:
-vector289:
-vector290:
-vector291:
-vector292:
-vector293:
-vector294:
-vector295:
-vector296:
-vector297:
-vector298:
-vector299:
-vector300:
-vector301:
-vector302:
-vector303:
-vector304:
-vector305:
-vector306:
-vector307:
-vector308:
-vector309:
-vector310:
-vector311:
-vector312:
-vector313:
-vector314:
-vector315:
-vector316:
-vector317:
-vector318:
-vector319:
-vector320:
-vector321:
-vector322:
-vector323:
-vector324:
-vector325:
-vector326:
-vector327:
-vector328:
-vector329:
-vector330:
-vector331:
-vector332:
-vector333:
-vector334:
-vector335:
-vector336:
-vector337:
-vector338:
-vector339:
-vector340:
-vector341:
-vector342:
-vector343:
-vector344:
-vector345:
-vector346:
-vector347:
-vector348:
-vector349:
-vector350:
-vector351:
-vector352:
-vector353:
-vector354:
-vector355:
-vector356:
-vector357:
-vector358:
-vector359:
-vector360:
-vector361:
-vector362:
-vector363:
-vector364:
-vector365:
-vector366:
-vector367:
-vector368:
-vector369:
-vector370:
-vector371:
-vector372:
-vector373:
-vector374:
-vector375:
-vector376:
-vector377:
-vector378:
-vector379:
-vector380:
-vector381:
-vector382:
-vector383:
-vector384:
-vector385:
-vector386:
-vector387:
-vector388:
-vector389:
-vector390:
-vector391:
-vector392:
-vector393:
-vector394:
-vector395:
-vector396:
-vector397:
-vector398:
-vector399:
-vector400:
-vector401:
-vector402:
-vector403:
-vector404:
-vector405:
-vector406:
-vector407:
-vector408:
-vector409:
-vector410:
-vector411:
-vector412:
-vector413:
-vector414:
-vector415:
-vector416:
-vector417:
-vector418:
-vector419:
-vector420:
-vector421:
-vector422:
-vector423:
-vector424:
-vector425:
-vector426:
-vector427:
-vector428:
-vector429:
-vector430:
-vector431:
-vector432:
-vector433:
-vector434:
-vector435:
-vector436:
-vector437:
-vector438:
-vector439:
-vector440:
-vector441:
-vector442:
-vector443:
-vector444:
-vector445:
-vector446:
-vector447:
-vector448:
-vector449:
-vector450:
-vector451:
-vector452:
-vector453:
-vector454:
-vector455:
-vector456:
-vector457:
-vector458:
-vector459:
-vector460:
-vector461:
-vector462:
-vector463:
-vector464:
-vector465:
-vector466:
-vector467:
-vector468:
-vector469:
-vector470:
-vector471:
-vector472:
-vector473:
-vector474:
-vector475:
-vector476:
-vector477:
-vector478:
-vector479:
-vector480:
-vector481:
-vector482:
-vector483:
-vector484:
-vector485:
-vector486:
-vector487:
-vector488:
-vector489:
-vector490:
-vector491:
-vector492:
-vector493:
-vector494:
-vector495:
-vector496:
-vector497:
-vector498:
-vector499:
-vector500:
-vector501:
-vector502:
-vector503:
-vector504:
-vector505:
-vector506:
-vector507:
-vector508:
-vector509:
-vector510:
-vector511:
-vector512:
-vector513:
-vector514:
-vector515:
-vector516:
-vector517:
-vector518:
-vector519:
-vector520:
-vector521:
-vector522:
-vector523:
-vector524:
-vector525:
-vector526:
-vector527:
-vector528:
-vector529:
-vector530:
-vector531:
-vector532:
-vector533:
-vector534:
-vector535:
-vector536:
-vector537:
-vector538:
-vector539:
-vector540:
-vector541:
-vector542:
-vector543:
-vector544:
-vector545:
-vector546:
-vector547:
-vector548:
-vector549:
-vector550:
-vector551:
-vector552:
-vector553:
-vector554:
-vector555:
-vector556:
-vector557:
-vector558:
-vector559:
-vector560:
-vector561:
-vector562:
-vector563:
-vector564:
-vector565:
-vector566:
-vector567:
-vector568:
-vector569:
-vector570:
-vector571:
-vector572:
-vector573:
-vector574:
-vector575:
-vector576:
-vector577:
-vector578:
-vector579:
-vector580:
-vector581:
-vector582:
-vector583:
-vector584:
-vector585:
-vector586:
-vector587:
-vector588:
-vector589:
-vector590:
-vector591:
-vector592:
-vector593:
-vector594:
-vector595:
-vector596:
-vector597:
-vector598:
-vector599:
-vector600:
-vector601:
-vector602:
-vector603:
-vector604:
-vector605:
-vector606:
-vector607:
-vector608:
-vector609:
-vector610:
-vector611:
-vector612:
-vector613:
-vector614:
-vector615:
-vector616:
-vector617:
-vector618:
-vector619:
-vector620:
-vector621:
-vector622:
-vector623:
-vector624:
-vector625:
-vector626:
-vector627:
-vector628:
-vector629:
-vector630:
-vector631:
-vector632:
-vector633:
-vector634:
-vector635:
-vector636:
-vector637:
-vector638:
-vector639:
-vector640:
-vector641:
-vector642:
-vector643:
-vector644:
-vector645:
-vector646:
-vector647:
-vector648:
-vector649:
-vector650:
-vector651:
-vector652:
-vector653:
-vector654:
-vector655:
-vector656:
-vector657:
-vector658:
-vector659:
-vector660:
-vector661:
-vector662:
-vector663:
-vector664:
-vector665:
-vector666:
-vector667:
-vector668:
-vector669:
-vector670:
-vector671:
-vector672:
-vector673:
-vector674:
-vector675:
-vector676:
-vector677:
-vector678:
-vector679:
-vector680:
-vector681:
-vector682:
-vector683:
-vector684:
-vector685:
-vector686:
-vector687:
-vector688:
-vector689:
-vector690:
-vector691:
-vector692:
-vector693:
-vector694:
-vector695:
-vector696:
-vector697:
-vector698:
-vector699:
-vector700:
-vector701:
-vector702:
-vector703:
-vector704:
-vector705:
-vector706:
-vector707:
-vector708:
-vector709:
-vector710:
-vector711:
-vector712:
-vector713:
-vector714:
-vector715:
-vector716:
-vector717:
-vector718:
-vector719:
-vector720:
-vector721:
-vector722:
-vector723:
-vector724:
-vector725:
-vector726:
-vector727:
-vector728:
-vector729:
-vector730:
-vector731:
-vector732:
-vector733:
-vector734:
-vector735:
-vector736:
-vector737:
-vector738:
-vector739:
-vector740:
-vector741:
-vector742:
-vector743:
-vector744:
-vector745:
-vector746:
-vector747:
-vector748:
-vector749:
-vector750:
-vector751:
-vector752:
-vector753:
-vector754:
-vector755:
-vector756:
-vector757:
-vector758:
-vector759:
-vector760:
-vector761:
-vector762:
-vector763:
-vector764:
-vector765:
-vector766:
-vector767:
-vector768:
-vector769:
-vector770:
-vector771:
-vector772:
-vector773:
-vector774:
-vector775:
-vector776:
-vector777:
-vector778:
-vector779:
-vector780:
-vector781:
-vector782:
-vector783:
-vector784:
-vector785:
-vector786:
-vector787:
-vector788:
-vector789:
-vector790:
-vector791:
-vector792:
-vector793:
-vector794:
-vector795:
-vector796:
-vector797:
-vector798:
-vector799:
-vector800:
-vector801:
-vector802:
-vector803:
-vector804:
-vector805:
-vector806:
-vector807:
-vector808:
-vector809:
-vector810:
-vector811:
-vector812:
-vector813:
-vector814:
-vector815:
-vector816:
-vector817:
-vector818:
-vector819:
-vector820:
-vector821:
-vector822:
-vector823:
-vector824:
-vector825:
-vector826:
-vector827:
-vector828:
-vector829:
-vector830:
-vector831:
-vector832:
-vector833:
-vector834:
-vector835:
-vector836:
-vector837:
-vector838:
-vector839:
-vector840:
-vector841:
-vector842:
-vector843:
-vector844:
-vector845:
-vector846:
-vector847:
-vector848:
-vector849:
-vector850:
-vector851:
-vector852:
-vector853:
-vector854:
-vector855:
-vector856:
-vector857:
-vector858:
-vector859:
-vector860:
-vector861:
-vector862:
-vector863:
-vector864:
-vector865:
-vector866:
-vector867:
-vector868:
-vector869:
-vector870:
-vector871:
-vector872:
-vector873:
-vector874:
-vector875:
-vector876:
-vector877:
-vector878:
-vector879:
-vector880:
-vector881:
-vector882:
-vector883:
-vector884:
-vector885:
-vector886:
-vector887:
-vector888:
-vector889:
-vector890:
-vector891:
-vector892:
-vector893:
-vector894:
-vector895:
-vector896:
-vector897:
-vector898:
-vector899:
-vector900:
-vector901:
-vector902:
-vector903:
-vector904:
-vector905:
-vector906:
-vector907:
-vector908:
-vector909:
-vector910:
-vector911:
-vector912:
-vector913:
-vector914:
-vector915:
-vector916:
-vector917:
-vector918:
-vector919:
-vector920:
-vector921:
-vector922:
-vector923:
-vector924:
-vector925:
-vector926:
-vector927:
-vector928:
-vector929:
-vector930:
-vector931:
-vector932:
-vector933:
-vector934:
-vector935:
-vector936:
-vector937:
-vector938:
-vector939:
-vector940:
-vector941:
-vector942:
-vector943:
-vector944:
-vector945:
-vector946:
-vector947:
-vector948:
-vector949:
-vector950:
-vector951:
-vector952:
-vector953:
-vector954:
-vector955:
-vector956:
-vector957:
-vector958:
-vector959:
-vector960:
-vector961:
-vector962:
-vector963:
-vector964:
-vector965:
-vector966:
-vector967:
-vector968:
-vector969:
-vector970:
-vector971:
-vector972:
-vector973:
-vector974:
-vector975:
-vector976:
-vector977:
-vector978:
-vector979:
-vector980:
-vector981:
-vector982:
-vector983:
-vector984:
-vector985:
-vector986:
-vector987:
-vector988:
-vector989:
-vector990:
-vector991:
-vector992:
-vector993:
-vector994:
-vector995:
-vector996:
-vector997:
-vector998:
-vector999:
-vector1000:
-vector1001:
-vector1002:
-vector1003:
-vector1004:
-vector1005:
-vector1006:
-vector1007:
-vector1008:
-vector1009:
-vector1010:
-vector1011:
-vector1012:
-vector1013:
-vector1014:
-vector1015:
-vector1016:
-vector1017:
-vector1018:
-vector1019:
-vector1020:
-vector1021:
-vector1022:
-vector1023:
- b _unhandled_irq
-
- .weak _unhandled_irq
- .type _unhandled_irq, @function
-_unhandled_irq:
- b _unhandled_irq
-
-#endif /* !defined(__DOXYGEN__) */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC560BCxx/boot.h b/os/common/ports/e200/devices/SPC560BCxx/boot.h
deleted file mode 100644
index 7af28f997..000000000
--- a/os/common/ports/e200/devices/SPC560BCxx/boot.h
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file boot.h
- * @brief Boot parameters for the SPC560BCxx.
- * @{
- */
-
-#ifndef _BOOT_H_
-#define _BOOT_H_
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/**
- * @name BUCSR registers definitions
- * @{
- */
-#define BUCSR_BPEN 0x00000001
-#define BUCSR_BALLOC_BFI 0x00000200
-/** @} */
-
-/**
- * @name MSR register definitions
- * @{
- */
-#define MSR_WE 0x00040000
-#define MSR_CE 0x00020000
-#define MSR_EE 0x00008000
-#define MSR_PR 0x00004000
-#define MSR_ME 0x00001000
-#define MSR_DE 0x00000200
-#define MSR_IS 0x00000020
-#define MSR_DS 0x00000010
-#define MSR_RI 0x00000002
-/** @} */
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*
- * BUCSR default settings.
- */
-#if !defined(BOOT_BUCSR_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_BUCSR_DEFAULT (BUCSR_BPEN | BUCSR_BALLOC_BFI)
-#endif
-
-/*
- * MSR default settings.
- */
-#if !defined(BOOT_MSR_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_MSR_DEFAULT (MSR_WE | MSR_CE | MSR_ME)
-#endif
-
-/*
- * Boot default settings.
- */
-#if !defined(BOOT_PERFORM_CORE_INIT) || defined(__DOXYGEN__)
-#define BOOT_PERFORM_CORE_INIT 1
-#endif
-
-/*
- * VLE mode default settings.
- */
-#if !defined(BOOT_USE_VLE) || defined(__DOXYGEN__)
-#define BOOT_USE_VLE 1
-#endif
-
-/*
- * RAM relocation flag.
- */
-#if !defined(BOOT_RELOCATE_IN_RAM) || defined(__DOXYGEN__)
-#define BOOT_RELOCATE_IN_RAM 0
-#endif
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module macros. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module inline functions. */
-/*===========================================================================*/
-
-#endif /* _BOOT_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC560BCxx/boot.s b/os/common/ports/e200/devices/SPC560BCxx/boot.s
deleted file mode 100644
index 089095be2..000000000
--- a/os/common/ports/e200/devices/SPC560BCxx/boot.s
+++ /dev/null
@@ -1,217 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC560BCxx/boot.s
- * @brief SPC560BCxx boot-related code.
- *
- * @addtogroup PPC_BOOT
- * @{
- */
-
-#include "boot.h"
-
-#if !defined(__DOXYGEN__)
-
- /* BAM record.*/
- .section .boot, "ax"
-
- .long 0x015A0000
- .long _reset_address
-
- .align 2
- .globl _reset_address
- .type _reset_address, @function
-_reset_address:
-#if BOOT_PERFORM_CORE_INIT
- bl _coreinit
-#endif
- bl _ivinit
-
-#if BOOT_RELOCATE_IN_RAM
- /*
- * Image relocation in RAM.
- */
- lis %r4, __ram_reloc_start__@h
- ori %r4, %r4, __ram_reloc_start__@l
- lis %r5, __ram_reloc_dest__@h
- ori %r5, %r5, __ram_reloc_dest__@l
- lis %r6, __ram_reloc_end__@h
- ori %r6, %r6, __ram_reloc_end__@l
-.relloop:
- cmpl cr0, %r4, %r6
- bge cr0, .relend
- lwz %r7, 0(%r4)
- addi %r4, %r4, 4
- stw %r7, 0(%r5)
- addi %r5, %r5, 4
- b .relloop
-.relend:
- lis %r3, _boot_address@h
- ori %r3, %r3, _boot_address@l
- mtctr %r3
- bctrl
-#else
- b _boot_address
-#endif
-
-#if BOOT_PERFORM_CORE_INIT
- .align 2
-_coreinit:
- /*
- * RAM clearing, this device requires a write to all RAM location in
- * order to initialize the ECC detection hardware, this is going to
- * slow down the startup but there is no way around.
- */
- xor %r0, %r0, %r0
- xor %r1, %r1, %r1
- xor %r2, %r2, %r2
- xor %r3, %r3, %r3
- xor %r4, %r4, %r4
- xor %r5, %r5, %r5
- xor %r6, %r6, %r6
- xor %r7, %r7, %r7
- xor %r8, %r8, %r8
- xor %r9, %r9, %r9
- xor %r10, %r10, %r10
- xor %r11, %r11, %r11
- xor %r12, %r12, %r12
- xor %r13, %r13, %r13
- xor %r14, %r14, %r14
- xor %r15, %r15, %r15
- xor %r16, %r16, %r16
- xor %r17, %r17, %r17
- xor %r18, %r18, %r18
- xor %r19, %r19, %r19
- xor %r20, %r20, %r20
- xor %r21, %r21, %r21
- xor %r22, %r22, %r22
- xor %r23, %r23, %r23
- xor %r24, %r24, %r24
- xor %r25, %r25, %r25
- xor %r26, %r26, %r26
- xor %r27, %r27, %r27
- xor %r28, %r28, %r28
- xor %r29, %r29, %r29
- xor %r30, %r30, %r30
- xor %r31, %r31, %r31
- lis %r4, __ram_start__@h
- ori %r4, %r4, __ram_start__@l
- lis %r5, __ram_end__@h
- ori %r5, %r5, __ram_end__@l
-.cleareccloop:
- cmpl %cr0, %r4, %r5
- bge %cr0, .cleareccend
- stmw %r16, 0(%r4)
- addi %r4, %r4, 64
- b .cleareccloop
-.cleareccend:
-
- /*
- * Branch prediction enabled.
- */
- li %r3, BOOT_BUCSR_DEFAULT
- mtspr 1013, %r3 /* BUCSR */
-
- blr
-#endif /* BOOT_PERFORM_CORE_INIT */
-
- /*
- * Exception vectors initialization.
- */
- .align 2
-_ivinit:
- /* MSR initialization.*/
- lis %r3, BOOT_MSR_DEFAULT@h
- ori %r3, %r3, BOOT_MSR_DEFAULT@l
- mtMSR %r3
-
- /* IVPR initialization.*/
- lis %r3, __ivpr_base__@h
- ori %r3, %r3, __ivpr_base__@l
- mtIVPR %r3
-
- blr
-
- .section .ivors, "ax"
-
- .globl IVORS
-IVORS:
- b _IVOR0
- .align 4
- b _IVOR1
- .align 4
- b _IVOR2
- .align 4
- b _IVOR3
- .align 4
- b _IVOR4
- .align 4
- b _IVOR5
- .align 4
- b _IVOR6
- .align 4
- b _IVOR7
- .align 4
- b _IVOR8
- .align 4
- b _IVOR9
- .align 4
- b _IVOR10
- .align 4
- b _IVOR11
- .align 4
- b _IVOR12
- .align 4
- b _IVOR13
- .align 4
- b _IVOR14
- .align 4
- b _IVOR15
-
- .section .handlers, "ax"
-
- /*
- * Default IVOR handlers.
- */
- .align 2
- .weak _IVOR0, _IVOR1, _IVOR2, _IVOR3, _IVOR4, _IVOR5
- .weak _IVOR6, _IVOR7, _IVOR8, _IVOR9, _IVOR10, _IVOR11
- .weak _IVOR12, _IVOR13, _IVOR14, _IVOR15
-_IVOR0:
-_IVOR1:
-_IVOR2:
-_IVOR3:
-_IVOR5:
-_IVOR6:
-_IVOR7:
-_IVOR8:
-_IVOR9:
-_IVOR11:
-_IVOR12:
-_IVOR13:
-_IVOR14:
-_IVOR15:
- .global _unhandled_exception
-_unhandled_exception:
- b _unhandled_exception
-
-#endif /* !defined(__DOXYGEN__) */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC560BCxx/intc.h b/os/common/ports/e200/devices/SPC560BCxx/intc.h
deleted file mode 100644
index 668eac387..000000000
--- a/os/common/ports/e200/devices/SPC560BCxx/intc.h
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC560BCxx/intc.h
- * @brief SPC560BCxx INTC module header.
- *
- * @addtogroup INTC
- * @{
- */
-
-#ifndef _INTC_H_
-#define _INTC_H_
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/**
- * @name INTC addresses
- * @{
- */
-#define INTC_BASE 0xFFF48000
-#define INTC_IACKR_ADDR (INTC_BASE + 0x10)
-#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
-/** @} */
-
-/**
- * @brief INTC priority levels.
- */
-#define INTC_PRIORITY_LEVELS 16U
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module macros. */
-/*===========================================================================*/
-
-/**
- * @name INTC-related macros
- * @{
- */
-#define INTC_BCR (*((volatile uint32_t *)(INTC_BASE + 0)))
-#define INTC_CPR(n) (*((volatile uint32_t *)(INTC_BASE + 8 + ((n) * sizeof (uint32_t)))))
-#define INTC_IACKR(n) (*((volatile uint32_t *)(INTC_BASE + 0x10 + ((n) * sizeof (uint32_t)))))
-#define INTC_EOIR(n) (*((volatile uint32_t *)(INTC_BASE + 0x18 + ((n) * sizeof (uint32_t)))))
-#define INTC_PSR(n) (*((volatile uint8_t *)(INTC_BASE + 0x40 + ((n) * sizeof (uint8_t)))))
-/** @} */
-
-/**
- * @brief Core selection macros for PSR register.
- */
-#define INTC_PSR_CORE0 0x00
-
-/**
- * @brief PSR register content helper
- */
-#define INTC_PSR_ENABLE(cores, prio) ((uint32_t)(cores) | (uint32_t)(prio))
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module inline functions. */
-/*===========================================================================*/
-
-#endif /* _INTC_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC560BCxx/ppcparams.h b/os/common/ports/e200/devices/SPC560BCxx/ppcparams.h
deleted file mode 100644
index 2e89aa8fb..000000000
--- a/os/common/ports/e200/devices/SPC560BCxx/ppcparams.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC560BCxx/ppcparams.h
- * @brief PowerPC parameters for the SPC560BCxx.
- *
- * @defgroup PPC_SPC560BCxx SPC560BCxx Specific Parameters
- * @ingroup PPC_SPECIFIC
- * @details This file contains the PowerPC specific parameters for the
- * SPC560BCxx platform.
- * @{
- */
-
-#ifndef _PPCPARAMS_H_
-#define _PPCPARAMS_H_
-
-/**
- * @brief Family identification macro.
- */
-#define PPC_SPC560BCxx
-
-/**
- * @brief PPC core model.
- */
-#define PPC_VARIANT PPC_VARIANT_e200z0
-
-/**
- * @brief Number of cores.
- */
-#define PPC_CORE_NUMBER 1
-
-/**
- * @brief Number of writable bits in IVPR register.
- */
-#define PPC_IVPR_BITS 20
-
-/**
- * @brief IVORx registers support.
- */
-#define PPC_SUPPORTS_IVORS FALSE
-
-/**
- * @brief Book E instruction set support.
- */
-#define PPC_SUPPORTS_BOOKE FALSE
-
-/**
- * @brief VLE instruction set support.
- */
-#define PPC_SUPPORTS_VLE TRUE
-
-/**
- * @brief Supports VLS Load/Store Multiple Volatile instructions.
- */
-#define PPC_SUPPORTS_VLE_MULTI TRUE
-
-/**
- * @brief Supports the decrementer timer.
- */
-#define PPC_SUPPORTS_DECREMENTER FALSE
-
-/**
- * @brief Number of interrupt sources.
- */
-#define PPC_NUM_VECTORS 217
-
-#endif /* _PPCPARAMS_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC560Bxx/boot.h b/os/common/ports/e200/devices/SPC560Bxx/boot.h
deleted file mode 100644
index f6482d0af..000000000
--- a/os/common/ports/e200/devices/SPC560Bxx/boot.h
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file boot.h
- * @brief Boot parameters for the SPC560Bxx.
- * @{
- */
-
-#ifndef _BOOT_H_
-#define _BOOT_H_
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/**
- * @name BUCSR registers definitions
- * @{
- */
-#define BUCSR_BPEN 0x00000001
-#define BUCSR_BALLOC_BFI 0x00000200
-/** @} */
-
-/**
- * @name MSR register definitions
- * @{
- */
-#define MSR_WE 0x00040000
-#define MSR_CE 0x00020000
-#define MSR_EE 0x00008000
-#define MSR_PR 0x00004000
-#define MSR_ME 0x00001000
-#define MSR_DE 0x00000200
-#define MSR_IS 0x00000020
-#define MSR_DS 0x00000010
-#define MSR_RI 0x00000002
-/** @} */
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*
- * BUCSR default settings.
- */
-#if !defined(BOOT_BUCSR_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_BUCSR_DEFAULT (BUCSR_BPEN | BUCSR_BALLOC_BFI)
-#endif
-
-/*
- * MSR default settings.
- */
-#if !defined(BOOT_MSR_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_MSR_DEFAULT (MSR_WE | MSR_CE | MSR_ME)
-#endif
-
-/*
- * Boot default settings.
- */
-#if !defined(BOOT_PERFORM_CORE_INIT) || defined(__DOXYGEN__)
-#define BOOT_PERFORM_CORE_INIT 1
-#endif
-
-/*
- * VLE mode default settings.
- */
-#if !defined(BOOT_USE_VLE) || defined(__DOXYGEN__)
-#define BOOT_USE_VLE 1
-#endif
-
-/*
- * RAM relocation flag.
- */
-#if !defined(BOOT_RELOCATE_IN_RAM) || defined(__DOXYGEN__)
-#define BOOT_RELOCATE_IN_RAM 0
-#endif
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module macros. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module inline functions. */
-/*===========================================================================*/
-
-#endif /* _BOOT_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC560Bxx/boot.s b/os/common/ports/e200/devices/SPC560Bxx/boot.s
deleted file mode 100644
index 7cf3349e5..000000000
--- a/os/common/ports/e200/devices/SPC560Bxx/boot.s
+++ /dev/null
@@ -1,217 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC560Bxx/boot.s
- * @brief SPC560Bxx boot-related code.
- *
- * @addtogroup PPC_BOOT
- * @{
- */
-
-#include "boot.h"
-
-#if !defined(__DOXYGEN__)
-
- /* BAM record.*/
- .section .boot, "ax"
-
- .long 0x015A0000
- .long _reset_address
-
- .align 2
- .globl _reset_address
- .type _reset_address, @function
-_reset_address:
-#if BOOT_PERFORM_CORE_INIT
- bl _coreinit
-#endif
- bl _ivinit
-
-#if BOOT_RELOCATE_IN_RAM
- /*
- * Image relocation in RAM.
- */
- lis %r4, __ram_reloc_start__@h
- ori %r4, %r4, __ram_reloc_start__@l
- lis %r5, __ram_reloc_dest__@h
- ori %r5, %r5, __ram_reloc_dest__@l
- lis %r6, __ram_reloc_end__@h
- ori %r6, %r6, __ram_reloc_end__@l
-.relloop:
- cmpl cr0, %r4, %r6
- bge cr0, .relend
- lwz %r7, 0(%r4)
- addi %r4, %r4, 4
- stw %r7, 0(%r5)
- addi %r5, %r5, 4
- b .relloop
-.relend:
- lis %r3, _boot_address@h
- ori %r3, %r3, _boot_address@l
- mtctr %r3
- bctrl
-#else
- b _boot_address
-#endif
-
-#if BOOT_PERFORM_CORE_INIT
- .align 2
-_coreinit:
- /*
- * RAM clearing, this device requires a write to all RAM location in
- * order to initialize the ECC detection hardware, this is going to
- * slow down the startup but there is no way around.
- */
- xor %r0, %r0, %r0
- xor %r1, %r1, %r1
- xor %r2, %r2, %r2
- xor %r3, %r3, %r3
- xor %r4, %r4, %r4
- xor %r5, %r5, %r5
- xor %r6, %r6, %r6
- xor %r7, %r7, %r7
- xor %r8, %r8, %r8
- xor %r9, %r9, %r9
- xor %r10, %r10, %r10
- xor %r11, %r11, %r11
- xor %r12, %r12, %r12
- xor %r13, %r13, %r13
- xor %r14, %r14, %r14
- xor %r15, %r15, %r15
- xor %r16, %r16, %r16
- xor %r17, %r17, %r17
- xor %r18, %r18, %r18
- xor %r19, %r19, %r19
- xor %r20, %r20, %r20
- xor %r21, %r21, %r21
- xor %r22, %r22, %r22
- xor %r23, %r23, %r23
- xor %r24, %r24, %r24
- xor %r25, %r25, %r25
- xor %r26, %r26, %r26
- xor %r27, %r27, %r27
- xor %r28, %r28, %r28
- xor %r29, %r29, %r29
- xor %r30, %r30, %r30
- xor %r31, %r31, %r31
- lis %r4, __ram_start__@h
- ori %r4, %r4, __ram_start__@l
- lis %r5, __ram_end__@h
- ori %r5, %r5, __ram_end__@l
-.cleareccloop:
- cmpl %cr0, %r4, %r5
- bge %cr0, .cleareccend
- stmw %r16, 0(%r4)
- addi %r4, %r4, 64
- b .cleareccloop
-.cleareccend:
-
- /*
- * Branch prediction enabled.
- */
- li %r3, BOOT_BUCSR_DEFAULT
- mtspr 1013, %r3 /* BUCSR */
-
- blr
-#endif /* BOOT_PERFORM_CORE_INIT */
-
- /*
- * Exception vectors initialization.
- */
- .align 2
-_ivinit:
- /* MSR initialization.*/
- lis %r3, BOOT_MSR_DEFAULT@h
- ori %r3, %r3, BOOT_MSR_DEFAULT@l
- mtMSR %r3
-
- /* IVPR initialization.*/
- lis %r3, __ivpr_base__@h
- ori %r3, %r3, __ivpr_base__@l
- mtIVPR %r3
-
- blr
-
- .section .ivors, "ax"
-
- .globl IVORS
-IVORS:
- b _IVOR0
- .align 4
- b _IVOR1
- .align 4
- b _IVOR2
- .align 4
- b _IVOR3
- .align 4
- b _IVOR4
- .align 4
- b _IVOR5
- .align 4
- b _IVOR6
- .align 4
- b _IVOR7
- .align 4
- b _IVOR8
- .align 4
- b _IVOR9
- .align 4
- b _IVOR10
- .align 4
- b _IVOR11
- .align 4
- b _IVOR12
- .align 4
- b _IVOR13
- .align 4
- b _IVOR14
- .align 4
- b _IVOR15
-
- .section .handlers, "ax"
-
- /*
- * Default IVOR handlers.
- */
- .align 2
- .weak _IVOR0, _IVOR1, _IVOR2, _IVOR3, _IVOR4, _IVOR5
- .weak _IVOR6, _IVOR7, _IVOR8, _IVOR9, _IVOR10, _IVOR11
- .weak _IVOR12, _IVOR13, _IVOR14, _IVOR15
-_IVOR0:
-_IVOR1:
-_IVOR2:
-_IVOR3:
-_IVOR5:
-_IVOR6:
-_IVOR7:
-_IVOR8:
-_IVOR9:
-_IVOR11:
-_IVOR12:
-_IVOR13:
-_IVOR14:
-_IVOR15:
- .global _unhandled_exception
-_unhandled_exception:
- b _unhandled_exception
-
-#endif /* !defined(__DOXYGEN__) */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC560Bxx/intc.h b/os/common/ports/e200/devices/SPC560Bxx/intc.h
deleted file mode 100644
index bde2c94aa..000000000
--- a/os/common/ports/e200/devices/SPC560Bxx/intc.h
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC560Bxx/intc.h
- * @brief SPC560Bxx INTC module header.
- *
- * @addtogroup INTC
- * @{
- */
-
-#ifndef _INTC_H_
-#define _INTC_H_
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/**
- * @name INTC addresses
- * @{
- */
-#define INTC_BASE 0xFFF48000
-#define INTC_IACKR_ADDR (INTC_BASE + 0x10)
-#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
-/** @} */
-
-/**
- * @brief INTC priority levels.
- */
-#define INTC_PRIORITY_LEVELS 16U
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module macros. */
-/*===========================================================================*/
-
-/**
- * @name INTC-related macros
- * @{
- */
-#define INTC_BCR (*((volatile uint32_t *)(INTC_BASE + 0)))
-#define INTC_CPR(n) (*((volatile uint32_t *)(INTC_BASE + 8 + ((n) * sizeof (uint32_t)))))
-#define INTC_IACKR(n) (*((volatile uint32_t *)(INTC_BASE + 0x10 + ((n) * sizeof (uint32_t)))))
-#define INTC_EOIR(n) (*((volatile uint32_t *)(INTC_BASE + 0x18 + ((n) * sizeof (uint32_t)))))
-#define INTC_PSR(n) (*((volatile uint8_t *)(INTC_BASE + 0x40 + ((n) * sizeof (uint8_t)))))
-/** @} */
-
-/**
- * @brief Core selection macros for PSR register.
- */
-#define INTC_PSR_CORE0 0x00
-
-/**
- * @brief PSR register content helper
- */
-#define INTC_PSR_ENABLE(cores, prio) ((uint32_t)(cores) | (uint32_t)(prio))
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module inline functions. */
-/*===========================================================================*/
-
-#endif /* _INTC_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC560Bxx/ppcparams.h b/os/common/ports/e200/devices/SPC560Bxx/ppcparams.h
deleted file mode 100644
index 6a1761421..000000000
--- a/os/common/ports/e200/devices/SPC560Bxx/ppcparams.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC560Bxx/ppcparams.h
- * @brief PowerPC parameters for the SPC560Bxx.
- *
- * @defgroup PPC_SPC560Bxx SPC560Bxx Specific Parameters
- * @ingroup PPC_SPECIFIC
- * @details This file contains the PowerPC specific parameters for the
- * SPC560Bxx platform.
- * @{
- */
-
-#ifndef _PPCPARAMS_H_
-#define _PPCPARAMS_H_
-
-/**
- * @brief Family identification macro.
- */
-#define PPC_SPC560Bxx
-
-/**
- * @brief PPC core model.
- */
-#define PPC_VARIANT PPC_VARIANT_e200z0
-
-/**
- * @brief Number of cores.
- */
-#define PPC_CORE_NUMBER 1
-
-/**
- * @brief Number of writable bits in IVPR register.
- */
-#define PPC_IVPR_BITS 20
-
-/**
- * @brief IVORx registers support.
- */
-#define PPC_SUPPORTS_IVORS FALSE
-
-/**
- * @brief Book E instruction set support.
- */
-#define PPC_SUPPORTS_BOOKE FALSE
-
-/**
- * @brief VLE instruction set support.
- */
-#define PPC_SUPPORTS_VLE TRUE
-
-/**
- * @brief Supports VLS Load/Store Multiple Volatile instructions.
- */
-#define PPC_SUPPORTS_VLE_MULTI TRUE
-
-/**
- * @brief Supports the decrementer timer.
- */
-#define PPC_SUPPORTS_DECREMENTER FALSE
-
-/**
- * @brief Number of interrupt sources.
- */
-#define PPC_NUM_VECTORS 234
-
-#endif /* _PPCPARAMS_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC560Dxx/boot.h b/os/common/ports/e200/devices/SPC560Dxx/boot.h
deleted file mode 100644
index 9650c7a10..000000000
--- a/os/common/ports/e200/devices/SPC560Dxx/boot.h
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file boot.h
- * @brief Boot parameters for the SPC560Dxx.
- * @{
- */
-
-#ifndef _BOOT_H_
-#define _BOOT_H_
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/**
- * @name BUCSR registers definitions
- * @{
- */
-#define BUCSR_BPEN 0x00000001
-#define BUCSR_BALLOC_BFI 0x00000200
-/** @} */
-
-/**
- * @name MSR register definitions
- * @{
- */
-#define MSR_WE 0x00040000
-#define MSR_CE 0x00020000
-#define MSR_EE 0x00008000
-#define MSR_PR 0x00004000
-#define MSR_ME 0x00001000
-#define MSR_DE 0x00000200
-#define MSR_IS 0x00000020
-#define MSR_DS 0x00000010
-#define MSR_RI 0x00000002
-/** @} */
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*
- * BUCSR default settings.
- */
-#if !defined(BOOT_BUCSR_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_BUCSR_DEFAULT (BUCSR_BPEN | BUCSR_BALLOC_BFI)
-#endif
-
-/*
- * MSR default settings.
- */
-#if !defined(BOOT_MSR_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_MSR_DEFAULT (MSR_WE | MSR_CE | MSR_ME)
-#endif
-
-/*
- * Boot default settings.
- */
-#if !defined(BOOT_PERFORM_CORE_INIT) || defined(__DOXYGEN__)
-#define BOOT_PERFORM_CORE_INIT 1
-#endif
-
-/*
- * VLE mode default settings.
- */
-#if !defined(BOOT_USE_VLE) || defined(__DOXYGEN__)
-#define BOOT_USE_VLE 1
-#endif
-
-/*
- * RAM relocation flag.
- */
-#if !defined(BOOT_RELOCATE_IN_RAM) || defined(__DOXYGEN__)
-#define BOOT_RELOCATE_IN_RAM 0
-#endif
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module macros. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module inline functions. */
-/*===========================================================================*/
-
-#endif /* _BOOT_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC560Dxx/boot.s b/os/common/ports/e200/devices/SPC560Dxx/boot.s
deleted file mode 100644
index 601f14f20..000000000
--- a/os/common/ports/e200/devices/SPC560Dxx/boot.s
+++ /dev/null
@@ -1,217 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC560Dxx/boot.s
- * @brief SPC560Dxx boot-related code.
- *
- * @addtogroup PPC_BOOT
- * @{
- */
-
-#include "boot.h"
-
-#if !defined(__DOXYGEN__)
-
- /* BAM record.*/
- .section .boot, "ax"
-
- .long 0x015A0000
- .long _reset_address
-
- .align 2
- .globl _reset_address
- .type _reset_address, @function
-_reset_address:
-#if BOOT_PERFORM_CORE_INIT
- bl _coreinit
-#endif
- bl _ivinit
-
-#if BOOT_RELOCATE_IN_RAM
- /*
- * Image relocation in RAM.
- */
- lis r4, __ram_reloc_start__@h
- ori r4, r4, __ram_reloc_start__@l
- lis r5, __ram_reloc_dest__@h
- ori r5, r5, __ram_reloc_dest__@l
- lis r6, __ram_reloc_end__@h
- ori r6, r6, __ram_reloc_end__@l
-.relloop:
- cmpl cr0, r4, r6
- bge cr0, .relend
- lwz r7, 0(r4)
- addi r4, r4, 4
- stw r7, 0(r5)
- addi r5, r5, 4
- b .relloop
-.relend:
- lis r3, _boot_address@h
- ori r3, r3, _boot_address@l
- mtctr r3
- bctrl
-#else
- b _boot_address
-#endif
-
-#if BOOT_PERFORM_CORE_INIT
- .align 2
-_coreinit:
- /*
- * RAM clearing, this device requires a write to all RAM location in
- * order to initialize the ECC detection hardware, this is going to
- * slow down the startup but there is no way around.
- */
- xor r0, r0, r0
- xor r1, r1, r1
- xor r2, r2, r2
- xor r3, r3, r3
- xor r4, r4, r4
- xor r5, r5, r5
- xor r6, r6, r6
- xor r7, r7, r7
- xor r8, r8, r8
- xor r9, r9, r9
- xor r10, r10, r10
- xor r11, r11, r11
- xor r12, r12, r12
- xor r13, r13, r13
- xor r14, r14, r14
- xor r15, r15, r15
- xor r16, r16, r16
- xor r17, r17, r17
- xor r18, r18, r18
- xor r19, r19, r19
- xor r20, r20, r20
- xor r21, r21, r21
- xor r22, r22, r22
- xor r23, r23, r23
- xor r24, r24, r24
- xor r25, r25, r25
- xor r26, r26, r26
- xor r27, r27, r27
- xor r28, r28, r28
- xor r29, r29, r29
- xor r30, r30, r30
- xor r31, r31, r31
- lis r4, __ram_start__@h
- ori r4, r4, __ram_start__@l
- lis r5, __ram_end__@h
- ori r5, r5, __ram_end__@l
-.cleareccloop:
- cmpl cr0, r4, r5
- bge cr0, .cleareccend
- stmw r16, 0(r4)
- addi r4, r4, 64
- b .cleareccloop
-.cleareccend:
-
- /*
- * Branch prediction enabled.
- */
- li r3, BOOT_BUCSR_DEFAULT
- mtspr 1013, r3 /* BUCSR */
-
- blr
-#endif /* BOOT_PERFORM_CORE_INIT */
-
- /*
- * Exception vectors initialization.
- */
- .align 2
-_ivinit:
- /* MSR initialization.*/
- lis r3, BOOT_MSR_DEFAULT@h
- ori r3, r3, BOOT_MSR_DEFAULT@l
- mtMSR r3
-
- /* IVPR initialization.*/
- lis r3, __ivpr_base__@h
- ori r3, r3, __ivpr_base__@l
- mtIVPR r3
-
- blr
-
- .section .ivors, "ax"
-
- .globl IVORS
-IVORS:
- b _IVOR0
- .align 4
- b _IVOR1
- .align 4
- b _IVOR2
- .align 4
- b _IVOR3
- .align 4
- b _IVOR4
- .align 4
- b _IVOR5
- .align 4
- b _IVOR6
- .align 4
- b _IVOR7
- .align 4
- b _IVOR8
- .align 4
- b _IVOR9
- .align 4
- b _IVOR10
- .align 4
- b _IVOR11
- .align 4
- b _IVOR12
- .align 4
- b _IVOR13
- .align 4
- b _IVOR14
- .align 4
- b _IVOR15
-
- .section .handlers, "ax"
-
- /*
- * Default IVOR handlers.
- */
- .align 2
- .weak _IVOR0, _IVOR1, _IVOR2, _IVOR3, _IVOR4, _IVOR5
- .weak _IVOR6, _IVOR7, _IVOR8, _IVOR9, _IVOR10, _IVOR11
- .weak _IVOR12, _IVOR13, _IVOR14, _IVOR15
-_IVOR0:
-_IVOR1:
-_IVOR2:
-_IVOR3:
-_IVOR5:
-_IVOR6:
-_IVOR7:
-_IVOR8:
-_IVOR9:
-_IVOR11:
-_IVOR12:
-_IVOR13:
-_IVOR14:
-_IVOR15:
- .global _unhandled_exception
-_unhandled_exception:
- b _unhandled_exception
-
-#endif /* !defined(__DOXYGEN__) */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC560Dxx/boot_cw.s b/os/common/ports/e200/devices/SPC560Dxx/boot_cw.s
deleted file mode 100644
index a2b268a17..000000000
--- a/os/common/ports/e200/devices/SPC560Dxx/boot_cw.s
+++ /dev/null
@@ -1,203 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC560Dxx/boot.s
- * @brief SPC560Dxx boot-related code.
- *
- * @addtogroup PPC_BOOT
- * @{
- */
-
-#include "boot.h"
-
-#if !defined(__DOXYGEN__)
-
- .extern _boot_address
- .extern __ram_start__
- .extern __ram_end__
- .extern __ivpr_base__
-
- .extern _IVOR0, _IVOR1, _IVOR2, _IVOR3, _IVOR4, _IVOR5
- .extern _IVOR6, _IVOR7, _IVOR8, _IVOR9, _IVOR10, _IVOR11
- .extern _IVOR12, _IVOR13, _IVOR14, _IVOR15
-
- /* BAM record.*/
- .section .boot, 16
-
- .long 0x015A0000
- .long _reset_address
-
- .align 4
- .globl _reset_address
- .type _reset_address, @function
-_reset_address:
-#if BOOT_PERFORM_CORE_INIT
- se_bl _coreinit
-#endif
- se_bl _ivinit
-
-#if BOOT_RELOCATE_IN_RAM
- /*
- * Image relocation in RAM.
- */
- e_lis r4, __ram_reloc_start__@h
- e_or2i r4, r4, __ram_reloc_start__@l
- e_lis r5, __ram_reloc_dest__@h
- e_or2i r5, r5, __ram_reloc_dest__@l
- e_lis r6, __ram_reloc_end__@h
- e_or2i r6, r6, __ram_reloc_end__@l
-.relloop:
- se_cmpl r4, r6
- se_bge .relend
- se_lwz r7, 0(r4)
- se_addi r4, 4
- se_stw r7, 0(r5)
- se_addi r5, 4
- se_b .relloop
-.relend:
- e_lis r3, _boot_address@h
- e_or2i r3, _boot_address@l
- mtctr r3
- se_bctrl
-#else
- e_b _boot_address
-#endif
-
-#if BOOT_PERFORM_CORE_INIT
- .align 4
-_coreinit:
- /*
- * RAM clearing, this device requires a write to all RAM location in
- * order to initialize the ECC detection hardware, this is going to
- * slow down the startup but there is no way around.
- */
- xor r0, r0, r0
- xor r1, r1, r1
- xor r2, r2, r2
- xor r3, r3, r3
- xor r4, r4, r4
- xor r5, r5, r5
- xor r6, r6, r6
- xor r7, r7, r7
- xor r8, r8, r8
- xor r9, r9, r9
- xor r10, r10, r10
- xor r11, r11, r11
- xor r12, r12, r12
- xor r13, r13, r13
- xor r14, r14, r14
- xor r15, r15, r15
- xor r16, r16, r16
- xor r17, r17, r17
- xor r18, r18, r18
- xor r19, r19, r19
- xor r20, r20, r20
- xor r21, r21, r21
- xor r22, r22, r22
- xor r23, r23, r23
- xor r24, r24, r24
- xor r25, r25, r25
- xor r26, r26, r26
- xor r27, r27, r27
- xor r28, r28, r28
- xor r29, r29, r29
- xor r30, r30, r30
- xor r31, r31, r31
- e_lis r4, __ram_start__@h
- e_or2i r4, __ram_start__@l
- e_lis r5, __ram_end__@h
- e_or2i r5, __ram_end__@l
-.cleareccloop:
- se_cmpl r4, r5
- se_bge .cleareccend
- e_stmw r16, 0(r4)
- e_addi r4, r4, 64
- se_b .cleareccloop
-.cleareccend:
-
- /*
- * Branch prediction enabled.
- */
- e_li r3, BOOT_BUCSR_DEFAULT
- mtspr 1013, r3 /* BUCSR */
-
- se_blr
-#endif /* BOOT_PERFORM_CORE_INIT */
-
- /*
- * Exception vectors initialization.
- */
- .align 4
-_ivinit:
- /* MSR initialization.*/
- e_lis r3, BOOT_MSR_DEFAULT@h
- e_ori r3, r3, BOOT_MSR_DEFAULT@l
- mtMSR r3
-
- /* IVPR initialization.*/
- e_lis r3, __ivpr_base__@h
- e_or2i r3, __ivpr_base__@l
- mtIVPR r3
-
- se_blr
-
- .section .ivors, text_vle
- .align 16
- .globl IVORS
-IVORS:
- e_b _IVOR0
- .align 16
- e_b _IVOR1
- .align 16
- e_b _IVOR2
- .align 16
- e_b _IVOR3
- .align 16
- e_b _IVOR4
- .align 16
- e_b _IVOR5
- .align 16
- e_b _IVOR6
- .align 16
- e_b _IVOR7
- .align 16
- e_b _IVOR8
- .align 16
- e_b _IVOR9
- .align 16
- e_b _IVOR10
- .align 16
- e_b _IVOR11
- .align 16
- e_b _IVOR12
- .align 16
- e_b _IVOR13
- .align 16
- e_b _IVOR14
- .align 16
- e_b _IVOR15
-
- .section .handlers, text_vle
- .align 16
-
-
-#endif /* !defined(__DOXYGEN__) */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC560Dxx/intc.h b/os/common/ports/e200/devices/SPC560Dxx/intc.h
deleted file mode 100644
index 6c3bbec60..000000000
--- a/os/common/ports/e200/devices/SPC560Dxx/intc.h
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC560Dxx/intc.h
- * @brief SPC560Dxx INTC module header.
- *
- * @addtogroup INTC
- * @{
- */
-
-#ifndef _INTC_H_
-#define _INTC_H_
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/**
- * @name INTC addresses
- * @{
- */
-#define INTC_BASE 0xFFF48000
-#define INTC_IACKR_ADDR (INTC_BASE + 0x10)
-#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
-/** @} */
-
-/**
- * @brief INTC priority levels.
- */
-#define INTC_PRIORITY_LEVELS 16U
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module macros. */
-/*===========================================================================*/
-
-/**
- * @name INTC-related macros
- * @{
- */
-#define INTC_BCR (*((volatile uint32_t *)(INTC_BASE + 0)))
-#define INTC_CPR(n) (*((volatile uint32_t *)(INTC_BASE + 8 + ((n) * sizeof (uint32_t)))))
-#define INTC_IACKR(n) (*((volatile uint32_t *)(INTC_BASE + 0x10 + ((n) * sizeof (uint32_t)))))
-#define INTC_EOIR(n) (*((volatile uint32_t *)(INTC_BASE + 0x18 + ((n) * sizeof (uint32_t)))))
-#define INTC_PSR(n) (*((volatile uint8_t *)(INTC_BASE + 0x40 + ((n) * sizeof (uint8_t)))))
-/** @} */
-
-/**
- * @brief Core selection macros for PSR register.
- */
-#define INTC_PSR_CORE0 0x00
-
-/**
- * @brief PSR register content helper
- */
-#define INTC_PSR_ENABLE(cores, prio) ((uint32_t)(cores) | (uint32_t)(prio))
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module inline functions. */
-/*===========================================================================*/
-
-#endif /* _INTC_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC560Dxx/ppcparams.h b/os/common/ports/e200/devices/SPC560Dxx/ppcparams.h
deleted file mode 100644
index 4a62a0772..000000000
--- a/os/common/ports/e200/devices/SPC560Dxx/ppcparams.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC560Dxx/ppcparams.h
- * @brief PowerPC parameters for the SPC560Dxx.
- *
- * @defgroup PPC_SPC560Dxx SPC560Dxx Specific Parameters
- * @ingroup PPC_SPECIFIC
- * @details This file contains the PowerPC specific parameters for the
- * SPC560Dxx platform.
- * @{
- */
-
-#ifndef _PPCPARAMS_H_
-#define _PPCPARAMS_H_
-
-/**
- * @brief Family identification macro.
- */
-#define PPC_SPC560Dxx
-
-/**
- * @brief PPC core model.
- */
-#define PPC_VARIANT PPC_VARIANT_e200z0
-
-/**
- * @brief Number of cores.
- */
-#define PPC_CORE_NUMBER 1
-
-/**
- * @brief Number of writable bits in IVPR register.
- */
-#define PPC_IVPR_BITS 20
-
-/**
- * @brief IVORx registers support.
- */
-#define PPC_SUPPORTS_IVORS FALSE
-
-/**
- * @brief Book E instruction set support.
- */
-#define PPC_SUPPORTS_BOOKE FALSE
-
-/**
- * @brief VLE instruction set support.
- */
-#define PPC_SUPPORTS_VLE TRUE
-
-/**
- * @brief Supports VLS Load/Store Multiple Volatile instructions.
- */
-#define PPC_SUPPORTS_VLE_MULTI TRUE
-
-/**
- * @brief Supports the decrementer timer.
- */
-#define PPC_SUPPORTS_DECREMENTER FALSE
-
-/**
- * @brief Number of interrupt sources.
- */
-#define PPC_NUM_VECTORS 155
-
-#endif /* _PPCPARAMS_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC560Pxx/boot.h b/os/common/ports/e200/devices/SPC560Pxx/boot.h
deleted file mode 100644
index 2c104d402..000000000
--- a/os/common/ports/e200/devices/SPC560Pxx/boot.h
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file boot.h
- * @brief Boot parameters for the SPC560Pxx.
- * @{
- */
-
-#ifndef _BOOT_H_
-#define _BOOT_H_
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/**
- * @name BUCSR registers definitions
- * @{
- */
-#define BUCSR_BPEN 0x00000001
-#define BUCSR_BALLOC_BFI 0x00000200
-/** @} */
-
-/**
- * @name MSR register definitions
- * @{
- */
-#define MSR_WE 0x00040000
-#define MSR_CE 0x00020000
-#define MSR_EE 0x00008000
-#define MSR_PR 0x00004000
-#define MSR_ME 0x00001000
-#define MSR_DE 0x00000200
-#define MSR_IS 0x00000020
-#define MSR_DS 0x00000010
-#define MSR_RI 0x00000002
-/** @} */
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*
- * BUCSR default settings.
- */
-#if !defined(BOOT_BUCSR_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_BUCSR_DEFAULT (BUCSR_BPEN | BUCSR_BALLOC_BFI)
-#endif
-
-/*
- * MSR default settings.
- */
-#if !defined(BOOT_MSR_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_MSR_DEFAULT (MSR_WE | MSR_CE | MSR_ME)
-#endif
-
-/*
- * Boot default settings.
- */
-#if !defined(BOOT_PERFORM_CORE_INIT) || defined(__DOXYGEN__)
-#define BOOT_PERFORM_CORE_INIT 1
-#endif
-
-/*
- * VLE mode default settings.
- */
-#if !defined(BOOT_USE_VLE) || defined(__DOXYGEN__)
-#define BOOT_USE_VLE 1
-#endif
-
-/*
- * RAM relocation flag.
- */
-#if !defined(BOOT_RELOCATE_IN_RAM) || defined(__DOXYGEN__)
-#define BOOT_RELOCATE_IN_RAM 0
-#endif
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module macros. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module inline functions. */
-/*===========================================================================*/
-
-#endif /* _BOOT_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC560Pxx/boot.s b/os/common/ports/e200/devices/SPC560Pxx/boot.s
deleted file mode 100644
index cdbecf616..000000000
--- a/os/common/ports/e200/devices/SPC560Pxx/boot.s
+++ /dev/null
@@ -1,217 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC560Pxx/boot.s
- * @brief SPC560Pxx boot-related code.
- *
- * @addtogroup PPC_BOOT
- * @{
- */
-
-#include "boot.h"
-
-#if !defined(__DOXYGEN__)
-
- /* BAM record.*/
- .section .boot, "ax"
-
- .long 0x015A0000
- .long _reset_address
-
- .align 2
- .globl _reset_address
- .type _reset_address, @function
-_reset_address:
-#if BOOT_PERFORM_CORE_INIT
- bl _coreinit
-#endif
- bl _ivinit
-
-#if BOOT_RELOCATE_IN_RAM
- /*
- * Image relocation in RAM.
- */
- lis %r4, __ram_reloc_start__@h
- ori %r4, %r4, __ram_reloc_start__@l
- lis %r5, __ram_reloc_dest__@h
- ori %r5, %r5, __ram_reloc_dest__@l
- lis %r6, __ram_reloc_end__@h
- ori %r6, %r6, __ram_reloc_end__@l
-.relloop:
- cmpl cr0, %r4, %r6
- bge cr0, .relend
- lwz %r7, 0(%r4)
- addi %r4, %r4, 4
- stw %r7, 0(%r5)
- addi %r5, %r5, 4
- b .relloop
-.relend:
- lis %r3, _boot_address@h
- ori %r3, %r3, _boot_address@l
- mtctr %r3
- bctrl
-#else
- b _boot_address
-#endif
-
-#if BOOT_PERFORM_CORE_INIT
- .align 2
-_coreinit:
- /*
- * RAM clearing, this device requires a write to all RAM location in
- * order to initialize the ECC detection hardware, this is going to
- * slow down the startup but there is no way around.
- */
- xor %r0, %r0, %r0
- xor %r1, %r1, %r1
- xor %r2, %r2, %r2
- xor %r3, %r3, %r3
- xor %r4, %r4, %r4
- xor %r5, %r5, %r5
- xor %r6, %r6, %r6
- xor %r7, %r7, %r7
- xor %r8, %r8, %r8
- xor %r9, %r9, %r9
- xor %r10, %r10, %r10
- xor %r11, %r11, %r11
- xor %r12, %r12, %r12
- xor %r13, %r13, %r13
- xor %r14, %r14, %r14
- xor %r15, %r15, %r15
- xor %r16, %r16, %r16
- xor %r17, %r17, %r17
- xor %r18, %r18, %r18
- xor %r19, %r19, %r19
- xor %r20, %r20, %r20
- xor %r21, %r21, %r21
- xor %r22, %r22, %r22
- xor %r23, %r23, %r23
- xor %r24, %r24, %r24
- xor %r25, %r25, %r25
- xor %r26, %r26, %r26
- xor %r27, %r27, %r27
- xor %r28, %r28, %r28
- xor %r29, %r29, %r29
- xor %r30, %r30, %r30
- xor %r31, %r31, %r31
- lis %r4, __ram_start__@h
- ori %r4, %r4, __ram_start__@l
- lis %r5, __ram_end__@h
- ori %r5, %r5, __ram_end__@l
-.cleareccloop:
- cmpl %cr0, %r4, %r5
- bge %cr0, .cleareccend
- stmw %r16, 0(%r4)
- addi %r4, %r4, 64
- b .cleareccloop
-.cleareccend:
-
- /*
- * Branch prediction enabled.
- */
- li %r3, BOOT_BUCSR_DEFAULT
- mtspr 1013, %r3 /* BUCSR */
-
- blr
-#endif /* BOOT_PERFORM_CORE_INIT */
-
- /*
- * Exception vectors initialization.
- */
- .align 2
-_ivinit:
- /* MSR initialization.*/
- lis %r3, BOOT_MSR_DEFAULT@h
- ori %r3, %r3, BOOT_MSR_DEFAULT@l
- mtMSR %r3
-
- /* IVPR initialization.*/
- lis %r3, __ivpr_base__@h
- ori %r3, %r3, __ivpr_base__@l
- mtIVPR %r3
-
- blr
-
- .section .ivors, "ax"
-
- .globl IVORS
-IVORS:
- b _IVOR0
- .align 4
- b _IVOR1
- .align 4
- b _IVOR2
- .align 4
- b _IVOR3
- .align 4
- b _IVOR4
- .align 4
- b _IVOR5
- .align 4
- b _IVOR6
- .align 4
- b _IVOR7
- .align 4
- b _IVOR8
- .align 4
- b _IVOR9
- .align 4
- b _IVOR10
- .align 4
- b _IVOR11
- .align 4
- b _IVOR12
- .align 4
- b _IVOR13
- .align 4
- b _IVOR14
- .align 4
- b _IVOR15
-
- .section .handlers, "ax"
-
- /*
- * Default IVOR handlers.
- */
- .align 2
- .weak _IVOR0, _IVOR1, _IVOR2, _IVOR3, _IVOR4, _IVOR5
- .weak _IVOR6, _IVOR7, _IVOR8, _IVOR9, _IVOR10, _IVOR11
- .weak _IVOR12, _IVOR13, _IVOR14, _IVOR15
-_IVOR0:
-_IVOR1:
-_IVOR2:
-_IVOR3:
-_IVOR5:
-_IVOR6:
-_IVOR7:
-_IVOR8:
-_IVOR9:
-_IVOR11:
-_IVOR12:
-_IVOR13:
-_IVOR14:
-_IVOR15:
- .global _unhandled_exception
-_unhandled_exception:
- b _unhandled_exception
-
-#endif /* !defined(__DOXYGEN__) */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC560Pxx/intc.h b/os/common/ports/e200/devices/SPC560Pxx/intc.h
deleted file mode 100644
index 75440fb75..000000000
--- a/os/common/ports/e200/devices/SPC560Pxx/intc.h
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC560Pxx/intc.h
- * @brief SPC560Pxx INTC module header.
- *
- * @addtogroup INTC
- * @{
- */
-
-#ifndef _INTC_H_
-#define _INTC_H_
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/**
- * @name INTC addresses
- * @{
- */
-#define INTC_BASE 0xFFF48000
-#define INTC_IACKR_ADDR (INTC_BASE + 0x10)
-#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
-/** @} */
-
-/**
- * @brief INTC priority levels.
- */
-#define INTC_PRIORITY_LEVELS 16U
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module macros. */
-/*===========================================================================*/
-
-/**
- * @name INTC-related macros
- * @{
- */
-#define INTC_BCR (*((volatile uint32_t *)(INTC_BASE + 0)))
-#define INTC_CPR(n) (*((volatile uint32_t *)(INTC_BASE + 8 + ((n) * sizeof (uint32_t)))))
-#define INTC_IACKR(n) (*((volatile uint32_t *)(INTC_BASE + 0x10 + ((n) * sizeof (uint32_t)))))
-#define INTC_EOIR(n) (*((volatile uint32_t *)(INTC_BASE + 0x18 + ((n) * sizeof (uint32_t)))))
-#define INTC_PSR(n) (*((volatile uint8_t *)(INTC_BASE + 0x40 + ((n) * sizeof (uint8_t)))))
-/** @} */
-
-/**
- * @brief Core selection macros for PSR register.
- */
-#define INTC_PSR_CORE0 0x00
-
-/**
- * @brief PSR register content helper
- */
-#define INTC_PSR_ENABLE(cores, prio) ((uint32_t)(cores) | (uint32_t)(prio))
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module inline functions. */
-/*===========================================================================*/
-
-#endif /* _INTC_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC560Pxx/ppcparams.h b/os/common/ports/e200/devices/SPC560Pxx/ppcparams.h
deleted file mode 100644
index 9bd1c565a..000000000
--- a/os/common/ports/e200/devices/SPC560Pxx/ppcparams.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC560Pxx/ppcparams.h
- * @brief PowerPC parameters for the SPC560Pxx.
- *
- * @defgroup PPC_SPC560Pxx SPC560Pxx Specific Parameters
- * @ingroup PPC_SPECIFIC
- * @details This file contains the PowerPC specific parameters for the
- * SPC560Pxx platform.
- * @{
- */
-
-#ifndef _PPCPARAMS_H_
-#define _PPCPARAMS_H_
-
-/**
- * @brief Family identification macro.
- */
-#define PPC_SPC560Pxx
-
-/**
- * @brief PPC core model.
- */
-#define PPC_VARIANT PPC_VARIANT_e200z0
-
-/**
- * @brief Number of cores.
- */
-#define PPC_CORE_NUMBER 1
-
-/**
- * @brief Number of writable bits in IVPR register.
- */
-#define PPC_IVPR_BITS 20
-
-/**
- * @brief IVORx registers support.
- */
-#define PPC_SUPPORTS_IVORS FALSE
-
-/**
- * @brief Book E instruction set support.
- */
-#define PPC_SUPPORTS_BOOKE FALSE
-
-/**
- * @brief VLE instruction set support.
- */
-#define PPC_SUPPORTS_VLE TRUE
-
-/**
- * @brief Supports VLS Load/Store Multiple Volatile instructions.
- */
-#define PPC_SUPPORTS_VLE_MULTI TRUE
-
-/**
- * @brief Supports the decrementer timer.
- */
-#define PPC_SUPPORTS_DECREMENTER FALSE
-
-/**
- * @brief Number of interrupt sources.
- */
-#define PPC_NUM_VECTORS 261
-
-#endif /* _PPCPARAMS_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC563Mxx/boot.h b/os/common/ports/e200/devices/SPC563Mxx/boot.h
deleted file mode 100644
index a5fd71c62..000000000
--- a/os/common/ports/e200/devices/SPC563Mxx/boot.h
+++ /dev/null
@@ -1,122 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file boot.h
- * @brief Boot parameters for the SPC563Mxx.
- * @{
- */
-
-#ifndef _BOOT_H_
-#define _BOOT_H_
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/**
- * @name BUCSR registers definitions
- * @{
- */
-#define BUCSR_BPEN 0x00000001
-#define BUCSR_BALLOC_BFI 0x00000200
-/** @} */
-
-/**
- * @name MSR register definitions
- * @{
- */
-#define MSR_UCLE 0x04000000
-#define MSR_SPE 0x02000000
-#define MSR_WE 0x00040000
-#define MSR_CE 0x00020000
-#define MSR_EE 0x00008000
-#define MSR_PR 0x00004000
-#define MSR_FP 0x00002000
-#define MSR_ME 0x00001000
-#define MSR_FE0 0x00000800
-#define MSR_DE 0x00000200
-#define MSR_FE1 0x00000100
-#define MSR_IS 0x00000020
-#define MSR_DS 0x00000010
-#define MSR_RI 0x00000002
-/** @} */
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*
- * BUCSR default settings.
- */
-#if !defined(BOOT_BUCSR_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_BUCSR_DEFAULT (BUCSR_BPEN | BUCSR_BALLOC_BFI)
-#endif
-
-/*
- * MSR default settings.
- */
-#if !defined(BOOT_MSR_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_MSR_DEFAULT (MSR_SPE | MSR_WE | MSR_CE | MSR_ME)
-#endif
-
-/*
- * Boot default settings.
- */
-#if !defined(BOOT_PERFORM_CORE_INIT) || defined(__DOXYGEN__)
-#define BOOT_PERFORM_CORE_INIT 1
-#endif
-
-/*
- * VLE mode default settings.
- */
-#if !defined(BOOT_USE_VLE) || defined(__DOXYGEN__)
-#define BOOT_USE_VLE 1
-#endif
-
-/*
- * RAM relocation flag.
- */
-#if !defined(BOOT_RELOCATE_IN_RAM) || defined(__DOXYGEN__)
-#define BOOT_RELOCATE_IN_RAM 0
-#endif
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module macros. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module inline functions. */
-/*===========================================================================*/
-
-#endif /* _BOOT_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC563Mxx/boot.s b/os/common/ports/e200/devices/SPC563Mxx/boot.s
deleted file mode 100644
index d9627dd39..000000000
--- a/os/common/ports/e200/devices/SPC563Mxx/boot.s
+++ /dev/null
@@ -1,191 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC563Mxx/boot.s
- * @brief SPC563Mxx boot-related code.
- *
- * @addtogroup PPC_BOOT
- * @{
- */
-
-#include "boot.h"
-
-#if !defined(__DOXYGEN__)
-
- /* BAM record.*/
- .section .boot, "ax"
-
-#if BOOT_USE_VLE
- .long 0x015A0000
-#else
- .long 0x005A0000
-#endif
- .long _reset_address
-
- .align 2
- .globl _reset_address
- .type _reset_address, @function
-_reset_address:
-#if BOOT_PERFORM_CORE_INIT
- bl _coreinit
-#endif
- bl _ivinit
-
-#if BOOT_RELOCATE_IN_RAM
- /*
- * Image relocation in RAM.
- */
- lis %r4, __ram_reloc_start__@h
- ori %r4, %r4, __ram_reloc_start__@l
- lis %r5, __ram_reloc_dest__@h
- ori %r5, %r5, __ram_reloc_dest__@l
- lis %r6, __ram_reloc_end__@h
- ori %r6, %r6, __ram_reloc_end__@l
-.relloop:
- cmpl cr0, %r4, %r6
- bge cr0, .relend
- lwz %r7, 0(%r4)
- addi %r4, %r4, 4
- stw %r7, 0(%r5)
- addi %r5, %r5, 4
- b .relloop
-.relend:
- lis %r3, _boot_address@h
- ori %r3, %r3, _boot_address@l
- mtctr %r3
- bctrl
-#else
- b _boot_address
-#endif
-
-#if BOOT_PERFORM_CORE_INIT
- .align 2
-_coreinit:
- /*
- * RAM clearing, this device requires a write to all RAM location in
- * order to initialize the ECC detection hardware, this is going to
- * slow down the startup but there is no way around.
- */
- xor %r0, %r0, %r0
- xor %r1, %r1, %r1
- xor %r2, %r2, %r2
- xor %r3, %r3, %r3
- xor %r4, %r4, %r4
- xor %r5, %r5, %r5
- xor %r6, %r6, %r6
- xor %r7, %r7, %r7
- xor %r8, %r8, %r8
- xor %r9, %r9, %r9
- xor %r10, %r10, %r10
- xor %r11, %r11, %r11
- xor %r12, %r12, %r12
- xor %r13, %r13, %r13
- xor %r14, %r14, %r14
- xor %r15, %r15, %r15
- xor %r16, %r16, %r16
- xor %r17, %r17, %r17
- xor %r18, %r18, %r18
- xor %r19, %r19, %r19
- xor %r20, %r20, %r20
- xor %r21, %r21, %r21
- xor %r22, %r22, %r22
- xor %r23, %r23, %r23
- xor %r24, %r24, %r24
- xor %r25, %r25, %r25
- xor %r26, %r26, %r26
- xor %r27, %r27, %r27
- xor %r28, %r28, %r28
- xor %r29, %r29, %r29
- xor %r30, %r30, %r30
- xor %r31, %r31, %r31
- lis %r4, __ram_start__@h
- ori %r4, %r4, __ram_start__@l
- lis %r5, __ram_end__@h
- ori %r5, %r5, __ram_end__@l
-.cleareccloop:
- cmpl %cr0, %r4, %r5
- bge %cr0, .cleareccend
- stmw %r16, 0(%r4)
- addi %r4, %r4, 64
- b .cleareccloop
-.cleareccend:
-
- /*
- * Branch prediction enabled.
- */
- li %r3, BOOT_BUCSR_DEFAULT
- mtspr 1013, %r3 /* BUCSR */
-
- blr
-#endif /* BOOT_PERFORM_CORE_INIT */
-
- /*
- * Exception vectors initialization.
- */
-_ivinit:
- /* MSR initialization.*/
- lis %r3, BOOT_MSR_DEFAULT@h
- ori %r3, %r3, BOOT_MSR_DEFAULT@l
- mtMSR %r3
-
- /* IVPR initialization.*/
- lis %r3, __ivpr_base__@h
- ori %r3, %r3, __ivpr_base__@l
- mtIVPR %r3
-
- /* IVORs initialization.*/
- lis %r3, _unhandled_exception@h
- ori %r3, %r3, _unhandled_exception@l
-
- mtspr 400, %r3 /* IVOR0-15 */
- mtspr 401, %r3
- mtspr 402, %r3
- mtspr 403, %r3
- mtspr 404, %r3
- mtspr 405, %r3
- mtspr 406, %r3
- mtspr 407, %r3
- mtspr 408, %r3
- mtspr 409, %r3
- mtspr 410, %r3
- mtspr 411, %r3
- mtspr 412, %r3
- mtspr 413, %r3
- mtspr 414, %r3
- mtspr 415, %r3
- mtspr 528, %r3 /* IVOR32-34 */
- mtspr 529, %r3
- mtspr 530, %r3
-
- blr
-
- .section .handlers, "ax"
-
- /*
- * Unhandled exceptions handler.
- */
- .weak _unhandled_exception
- .type _unhandled_exception, @function
-_unhandled_exception:
- b _unhandled_exception
-
-#endif /* !defined(__DOXYGEN__) */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC563Mxx/intc.h b/os/common/ports/e200/devices/SPC563Mxx/intc.h
deleted file mode 100644
index b7a5d920a..000000000
--- a/os/common/ports/e200/devices/SPC563Mxx/intc.h
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC563Mxx/intc.h
- * @brief SPC563Mxx INTC module header.
- *
- * @addtogroup INTC
- * @{
- */
-
-#ifndef _INTC_H_
-#define _INTC_H_
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/**
- * @name INTC addresses
- * @{
- */
-#define INTC_BASE 0xFFF48000
-#define INTC_IACKR_ADDR (INTC_BASE + 0x10)
-#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
-/** @} */
-
-/**
- * @brief INTC priority levels.
- */
-#define INTC_PRIORITY_LEVELS 16U
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module macros. */
-/*===========================================================================*/
-
-/**
- * @name INTC-related macros
- * @{
- */
-#define INTC_BCR (*((volatile uint32_t *)(INTC_BASE + 0)))
-#define INTC_CPR(n) (*((volatile uint32_t *)(INTC_BASE + 8 + ((n) * sizeof (uint32_t)))))
-#define INTC_IACKR(n) (*((volatile uint32_t *)(INTC_BASE + 0x10 + ((n) * sizeof (uint32_t)))))
-#define INTC_EOIR(n) (*((volatile uint32_t *)(INTC_BASE + 0x18 + ((n) * sizeof (uint32_t)))))
-#define INTC_PSR(n) (*((volatile uint8_t *)(INTC_BASE + 0x40 + ((n) * sizeof (uint8_t)))))
-/** @} */
-
-/**
- * @brief Core selection macros for PSR register.
- */
-#define INTC_PSR_CORE0 0x00
-
-/**
- * @brief PSR register content helper
- */
-#define INTC_PSR_ENABLE(cores, prio) ((uint32_t)(cores) | (uint32_t)(prio))
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module inline functions. */
-/*===========================================================================*/
-
-#endif /* _INTC_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC563Mxx/ppcparams.h b/os/common/ports/e200/devices/SPC563Mxx/ppcparams.h
deleted file mode 100644
index 315e53f0b..000000000
--- a/os/common/ports/e200/devices/SPC563Mxx/ppcparams.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC563Mxx/ppcparams.h
- * @brief PowerPC parameters for the SPC563Mxx.
- *
- * @defgroup PPC_SPC563Mxx SPC563Mxx Specific Parameters
- * @ingroup PPC_SPECIFIC
- * @details This file contains the PowerPC specific parameters for the
- * SPC563Mxx platform.
- * @{
- */
-
-#ifndef _PPCPARAMS_H_
-#define _PPCPARAMS_H_
-
-/**
- * @brief Family identification macro.
- */
-#define PPC_SPC563Mxx
-
-/**
- * @brief PPC core model.
- */
-#define PPC_VARIANT PPC_VARIANT_e200z3
-
-/**
- * @brief Number of cores.
- */
-#define PPC_CORE_NUMBER 1
-
-/**
- * @brief Number of writable bits in IVPR register.
- */
-#define PPC_IVPR_BITS 16
-
-/**
- * @brief IVORx registers support.
- */
-#define PPC_SUPPORTS_IVORS TRUE
-
-/**
- * @brief Book E instruction set support.
- */
-#define PPC_SUPPORTS_BOOKE TRUE
-
-/**
- * @brief VLE instruction set support.
- */
-#define PPC_SUPPORTS_VLE TRUE
-
-/**
- * @brief Supports VLS Load/Store Multiple Volatile instructions.
- */
-#define PPC_SUPPORTS_VLE_MULTI TRUE
-
-/**
- * @brief Supports the decrementer timer.
- */
-#define PPC_SUPPORTS_DECREMENTER TRUE
-
-/**
- * @brief Number of interrupt sources.
- */
-#define PPC_NUM_VECTORS 360
-
-#endif /* _PPCPARAMS_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC564Axx/boot.h b/os/common/ports/e200/devices/SPC564Axx/boot.h
deleted file mode 100644
index 14a13840b..000000000
--- a/os/common/ports/e200/devices/SPC564Axx/boot.h
+++ /dev/null
@@ -1,245 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file boot.h
- * @brief Boot parameters for the SPC564Axx.
- * @{
- */
-
-#ifndef _BOOT_H_
-#define _BOOT_H_
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/**
- * @name MASx registers definitions
- * @{
- */
-#define MAS0_TBLMAS_TBL 0x10000000
-#define MAS0_ESEL_MASK 0x000F0000
-#define MAS0_ESEL(n) ((n) << 16)
-
-#define MAS1_VALID 0x80000000
-#define MAS1_IPROT 0x40000000
-#define MAS1_TID_MASK 0x00FF0000
-#define MAS1_TS 0x00001000
-#define MAS1_TSISE_MASK 0x00000F80
-#define MAS1_TSISE_1K 0x00000000
-#define MAS1_TSISE_2K 0x00000080
-#define MAS1_TSISE_4K 0x00000100
-#define MAS1_TSISE_8K 0x00000180
-#define MAS1_TSISE_16K 0x00000200
-#define MAS1_TSISE_32K 0x00000280
-#define MAS1_TSISE_64K 0x00000300
-#define MAS1_TSISE_128K 0x00000380
-#define MAS1_TSISE_256K 0x00000400
-#define MAS1_TSISE_512K 0x00000480
-#define MAS1_TSISE_1M 0x00000500
-#define MAS1_TSISE_2M 0x00000580
-#define MAS1_TSISE_4M 0x00000600
-#define MAS1_TSISE_8M 0x00000680
-#define MAS1_TSISE_16M 0x00000700
-#define MAS1_TSISE_32M 0x00000780
-#define MAS1_TSISE_64M 0x00000800
-#define MAS1_TSISE_128M 0x00000880
-#define MAS1_TSISE_256M 0x00000900
-#define MAS1_TSISE_512M 0x00000980
-#define MAS1_TSISE_1G 0x00000A00
-#define MAS1_TSISE_2G 0x00000A80
-#define MAS1_TSISE_4G 0x00000B00
-
-#define MAS2_EPN_MASK 0xFFFFFC00
-#define MAS2_EPN(n) ((n) & MAS2_EPN_MASK)
-#define MAS2_EBOOK 0x00000000
-#define MAS2_VLE 0x00000020
-#define MAS2_W 0x00000010
-#define MAS2_I 0x00000008
-#define MAS2_M 0x00000004
-#define MAS2_G 0x00000002
-#define MAS2_E 0x00000001
-
-#define MAS3_RPN_MASK 0xFFFFFC00
-#define MAS3_RPN(n) ((n) & MAS3_RPN_MASK)
-#define MAS3_U0 0x00000200
-#define MAS3_U1 0x00000100
-#define MAS3_U2 0x00000080
-#define MAS3_U3 0x00000040
-#define MAS3_UX 0x00000020
-#define MAS3_SX 0x00000010
-#define MAS3_UW 0x00000008
-#define MAS3_SW 0x00000004
-#define MAS3_UR 0x00000002
-#define MAS3_SR 0x00000001
-/** @} */
-
-/**
- * @name BUCSR registers definitions
- * @{
- */
-#define BUCSR_BPEN 0x00000001
-#define BUCSR_BPRED_MASK 0x00000006
-#define BUCSR_BPRED_0 0x00000000
-#define BUCSR_BPRED_1 0x00000002
-#define BUCSR_BPRED_2 0x00000004
-#define BUCSR_BPRED_3 0x00000006
-#define BUCSR_BALLOC_MASK 0x00000030
-#define BUCSR_BALLOC_0 0x00000000
-#define BUCSR_BALLOC_1 0x00000010
-#define BUCSR_BALLOC_2 0x00000020
-#define BUCSR_BALLOC_3 0x00000030
-#define BUCSR_BALLOC_BFI 0x00000200
-/** @} */
-
-/**
- * @name LICSR1 registers definitions
- * @{
- */
-#define LICSR1_ICE 0x00000001
-#define LICSR1_ICINV 0x00000002
-#define LICSR1_ICORG 0x00000010
-/** @} */
-
-/**
- * @name MSR register definitions
- * @{
- */
-#define MSR_UCLE 0x04000000
-#define MSR_SPE 0x02000000
-#define MSR_WE 0x00040000
-#define MSR_CE 0x00020000
-#define MSR_EE 0x00008000
-#define MSR_PR 0x00004000
-#define MSR_FP 0x00002000
-#define MSR_ME 0x00001000
-#define MSR_FE0 0x00000800
-#define MSR_DE 0x00000200
-#define MSR_FE1 0x00000100
-#define MSR_IS 0x00000020
-#define MSR_DS 0x00000010
-#define MSR_RI 0x00000002
-/** @} */
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*
- * TLB default settings.
- */
-#define TLB0_MAS0 (MAS0_TBLMAS_TBL | MAS0_ESEL(0))
-#define TLB0_MAS1 (MAS1_VALID | MAS1_IPROT | MAS1_TSISE_256K)
-#define TLB0_MAS2 (MAS2_EPN(0x40000000) | MAS2_VLE)
-#define TLB0_MAS3 (MAS3_RPN(0x40000000) | \
- MAS3_UX | MAS3_SX | MAS3_UW | MAS3_SW | \
- MAS3_UR | MAS3_SR)
-
-#define TLB1_MAS0 (MAS0_TBLMAS_TBL | MAS0_ESEL(1))
-#define TLB1_MAS1 (MAS1_VALID | MAS1_IPROT | MAS1_TSISE_4M)
-#define TLB1_MAS2 (MAS2_EPN(0x00000000) | MAS2_VLE)
-#define TLB1_MAS3 (MAS3_RPN(0x00000000) | \
- MAS3_UX | MAS3_SX | MAS3_UW | MAS3_SW | \
- MAS3_UR | MAS3_SR)
-
-#define TLB2_MAS0 (MAS0_TBLMAS_TBL | MAS0_ESEL(2))
-#define TLB2_MAS1 (MAS1_VALID | MAS1_IPROT | MAS1_TSISE_1M)
-#define TLB2_MAS2 (MAS2_EPN(0xC3F00000) | MAS2_I)
-#define TLB2_MAS3 (MAS3_RPN(0xC3F00000) | \
- MAS3_UW | MAS3_SW | MAS3_UR | MAS3_SR)
-
-#define TLB3_MAS0 (MAS0_TBLMAS_TBL | MAS0_ESEL(3))
-#define TLB3_MAS1 (MAS1_VALID | MAS1_IPROT | MAS1_TSISE_1M)
-#define TLB3_MAS2 (MAS2_EPN(0xFFE00000) | MAS2_I)
-#define TLB3_MAS3 (MAS3_RPN(0xFFE00000) | \
- MAS3_UW | MAS3_SW | MAS3_UR | MAS3_SR)
-
-#define TLB4_MAS0 (MAS0_TBLMAS_TBL | MAS0_ESEL(4))
-#define TLB4_MAS1 (MAS1_VALID | MAS1_IPROT | MAS1_TSISE_1M)
-#define TLB4_MAS2 (MAS2_EPN(0xFFF00000) | MAS2_I)
-#define TLB4_MAS3 (MAS3_RPN(0xFFF00000) | \
- MAS3_UW | MAS3_SW | MAS3_UR | MAS3_SR)
-
-/*
- * BUCSR default settings.
- */
-#if !defined(BOOT_BUCSR_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_BUCSR_DEFAULT (BUCSR_BPEN | BUCSR_BPRED_0 | \
- BUCSR_BALLOC_0 | BUCSR_BALLOC_BFI)
-#endif
-
-/*
- * LICSR1 default settings.
- */
-#if !defined(BOOT_LICSR1_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_LICSR1_DEFAULT (LICSR1_ICE | LICSR1_ICORG)
-#endif
-
-/*
- * MSR default settings.
- */
-#if !defined(BOOT_MSR_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_MSR_DEFAULT (MSR_SPE | MSR_WE | MSR_CE | MSR_ME)
-#endif
-
-/*
- * Boot default settings.
- */
-#if !defined(BOOT_PERFORM_CORE_INIT) || defined(__DOXYGEN__)
-#define BOOT_PERFORM_CORE_INIT 1
-#endif
-
-/*
- * VLE mode default settings.
- */
-#if !defined(BOOT_USE_VLE) || defined(__DOXYGEN__)
-#define BOOT_USE_VLE 1
-#endif
-
-/*
- * RAM relocation flag.
- */
-#if !defined(BOOT_RELOCATE_IN_RAM) || defined(__DOXYGEN__)
-#define BOOT_RELOCATE_IN_RAM 0
-#endif
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module macros. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module inline functions. */
-/*===========================================================================*/
-
-#endif /* _BOOT_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC564Axx/boot.s b/os/common/ports/e200/devices/SPC564Axx/boot.s
deleted file mode 100644
index 549f926ec..000000000
--- a/os/common/ports/e200/devices/SPC564Axx/boot.s
+++ /dev/null
@@ -1,356 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC564Axx/boot.s
- * @brief SPC564Axx boot-related code.
- *
- * @addtogroup PPC_BOOT
- * @{
- */
-
-#include "boot.h"
-
-#if !defined(__DOXYGEN__)
-
- /* BAM record.*/
- .section .boot, "ax"
-
-#if BOOT_USE_VLE
- .long 0x015A0000
-#else
- .long 0x005A0000
-#endif
- .long _reset_address
-
- .align 2
- .globl _reset_address
- .type _reset_address, @function
-_reset_address:
-#if BOOT_PERFORM_CORE_INIT
- bl _coreinit
-#endif
- bl _ivinit
-
-#if BOOT_RELOCATE_IN_RAM
- /*
- * Image relocation in RAM.
- */
- lis %r4, __ram_reloc_start__@h
- ori %r4, %r4, __ram_reloc_start__@l
- lis %r5, __ram_reloc_dest__@h
- ori %r5, %r5, __ram_reloc_dest__@l
- lis %r6, __ram_reloc_end__@h
- ori %r6, %r6, __ram_reloc_end__@l
-.relloop:
- cmpl cr0, %r4, %r6
- bge cr0, .relend
- lwz %r7, 0(%r4)
- addi %r4, %r4, 4
- stw %r7, 0(%r5)
- addi %r5, %r5, 4
- b .relloop
-.relend:
- lis %r3, _boot_address@h
- ori %r3, %r3, _boot_address@l
- mtctr %r3
- bctrl
-#else
- b _boot_address
-#endif
-
-#if BOOT_PERFORM_CORE_INIT
- .align 2
-_ramcode:
- tlbwe
- isync
- blr
-
- .align 2
-_coreinit:
- /*
- * Invalidating all TLBs except TLB1.
- */
- lis %r3, 0
- mtspr 625, %r3 /* MAS1 */
- mtspr 626, %r3 /* MAS2 */
- mtspr 627, %r3 /* MAS3 */
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(0))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(2))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(3))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(4))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(5))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(6))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(7))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(8))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(9))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(10))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(11))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(12))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(13))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(14))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(15))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
-
- /*
- * TLB0 allocated to internal RAM.
- */
- lis %r3, TLB0_MAS0@h
- mtspr 624, %r3 /* MAS0 */
- lis %r3, TLB0_MAS1@h
- ori %r3, %r3, TLB0_MAS1@l
- mtspr 625, %r3 /* MAS1 */
- lis %r3, TLB0_MAS2@h
- ori %r3, %r3, TLB0_MAS2@l
- mtspr 626, %r3 /* MAS2 */
- lis %r3, TLB0_MAS3@h
- ori %r3, %r3, TLB0_MAS3@l
- mtspr 627, %r3 /* MAS3 */
- tlbwe
-
- /*
- * TLB2 allocated to internal Peripherals Bridge A.
- */
- lis %r3, TLB2_MAS0@h
- mtspr 624, %r3 /* MAS0 */
- lis %r3, TLB2_MAS1@h
- ori %r3, %r3, TLB2_MAS1@l
- mtspr 625, %r3 /* MAS1 */
- lis %r3, TLB2_MAS2@h
- ori %r3, %r3, TLB2_MAS2@l
- mtspr 626, %r3 /* MAS2 */
- lis %r3, TLB2_MAS3@h
- ori %r3, %r3, TLB2_MAS3@l
- mtspr 627, %r3 /* MAS3 */
- tlbwe
-
- /*
- * TLB3 allocated to internal Peripherals Bridge B.
- */
- lis %r3, TLB3_MAS0@h
- mtspr 624, %r3 /* MAS0 */
- lis %r3, TLB3_MAS1@h
- ori %r3, %r3, TLB3_MAS1@l
- mtspr 625, %r3 /* MAS1 */
- lis %r3, TLB3_MAS2@h
- ori %r3, %r3, TLB3_MAS2@l
- mtspr 626, %r3 /* MAS2 */
- lis %r3, TLB3_MAS3@h
- ori %r3, %r3, TLB3_MAS3@l
- mtspr 627, %r3 /* MAS3 */
- tlbwe
-
- /*
- * TLB4 allocated to on-platform peripherals.
- */
- lis %r3, TLB4_MAS0@h
- mtspr 624, %r3 /* MAS0 */
- lis %r3, TLB4_MAS1@h
- ori %r3, %r3, TLB4_MAS1@l
- mtspr 625, %r3 /* MAS1 */
- lis %r3, TLB4_MAS2@h
- ori %r3, %r3, TLB4_MAS2@l
- mtspr 626, %r3 /* MAS2 */
- lis %r3, TLB4_MAS3@h
- ori %r3, %r3, TLB4_MAS3@l
- mtspr 627, %r3 /* MAS3 */
- tlbwe
-
- /*
- * RAM clearing, this device requires a write to all RAM location in
- * order to initialize the ECC detection hardware, this is going to
- * slow down the startup but there is no way around.
- */
- xor %r0, %r0, %r0
- xor %r1, %r1, %r1
- xor %r2, %r2, %r2
- xor %r3, %r3, %r3
- xor %r4, %r4, %r4
- xor %r5, %r5, %r5
- xor %r6, %r6, %r6
- xor %r7, %r7, %r7
- xor %r8, %r8, %r8
- xor %r9, %r9, %r9
- xor %r10, %r10, %r10
- xor %r11, %r11, %r11
- xor %r12, %r12, %r12
- xor %r13, %r13, %r13
- xor %r14, %r14, %r14
- xor %r15, %r15, %r15
- xor %r16, %r16, %r16
- xor %r17, %r17, %r17
- xor %r18, %r18, %r18
- xor %r19, %r19, %r19
- xor %r20, %r20, %r20
- xor %r21, %r21, %r21
- xor %r22, %r22, %r22
- xor %r23, %r23, %r23
- xor %r24, %r24, %r24
- xor %r25, %r25, %r25
- xor %r26, %r26, %r26
- xor %r27, %r27, %r27
- xor %r28, %r28, %r28
- xor %r29, %r29, %r29
- xor %r30, %r30, %r30
- xor %r31, %r31, %r31
- lis %r4, __ram_start__@h
- ori %r4, %r4, __ram_start__@l
- lis %r5, __ram_end__@h
- ori %r5, %r5, __ram_end__@l
-.cleareccloop:
- cmpl %cr0, %r4, %r5
- bge %cr0, .cleareccend
- stmw %r16, 0(%r4)
- addi %r4, %r4, 64
- b .cleareccloop
-.cleareccend:
-
- /*
- * *Finally* the TLB1 is re-allocated to flash, note, the final phase
- * is executed from RAM.
- */
- lis %r3, TLB1_MAS0@h
- mtspr 624, %r3 /* MAS0 */
- lis %r3, TLB1_MAS1@h
- ori %r3, %r3, TLB1_MAS1@l
- mtspr 625, %r3 /* MAS1 */
- lis %r3, TLB1_MAS2@h
- ori %r3, %r3, TLB1_MAS2@l
- mtspr 626, %r3 /* MAS2 */
- lis %r3, TLB1_MAS3@h
- ori %r3, %r3, TLB1_MAS3@l
- mtspr 627, %r3 /* MAS3 */
- mflr %r4
- lis %r6, _ramcode@h
- ori %r6, %r6, _ramcode@l
- lis %r7, 0x40010000@h
- mtctr %r7
- lwz %r3, 0(%r6)
- stw %r3, 0(%r7)
- lwz %r3, 4(%r6)
- stw %r3, 4(%r7)
- lwz %r3, 8(%r6)
- stw %r3, 8(%r7)
- bctrl
- mtlr %r4
-
- /*
- * Branch prediction enabled.
- */
- li %r3, BOOT_BUCSR_DEFAULT
- mtspr 1013, %r3 /* BUCSR */
-
- /*
- * Cache invalidated and then enabled.
- */
- li %r3, LICSR1_ICINV
- mtspr 1011, %r3 /* LICSR1 */
-.inv: mfspr %r3, 1011 /* LICSR1 */
- andi. %r3, %r3, LICSR1_ICINV
- bne .inv
- lis %r3, BOOT_LICSR1_DEFAULT@h
- ori %r3, %r3, BOOT_LICSR1_DEFAULT@l
- mtspr 1011, %r3 /* LICSR1 */
-
- blr
-#endif /* BOOT_PERFORM_CORE_INIT */
-
- /*
- * Exception vectors initialization.
- */
- .align 2
-_ivinit:
- /* MSR initialization.*/
- lis %r3, BOOT_MSR_DEFAULT@h
- ori %r3, %r3, BOOT_MSR_DEFAULT@l
- mtMSR %r3
-
- /* IVPR initialization.*/
- lis %r3, __ivpr_base__@h
- ori %r3, %r3, __ivpr_base__@l
- mtIVPR %r3
-
- /* IVORs initialization.*/
- lis %r3, _unhandled_exception@h
- ori %r3, %r3, _unhandled_exception@l
-
- mtspr 400, %r3 /* IVOR0-15 */
- mtspr 401, %r3
- mtspr 402, %r3
- mtspr 403, %r3
- mtspr 404, %r3
- mtspr 405, %r3
- mtspr 406, %r3
- mtspr 407, %r3
- mtspr 408, %r3
- mtspr 409, %r3
- mtspr 410, %r3
- mtspr 411, %r3
- mtspr 412, %r3
- mtspr 413, %r3
- mtspr 414, %r3
- mtspr 415, %r3
- mtspr 528, %r3 /* IVOR32-34 */
- mtspr 529, %r3
- mtspr 530, %r3
-
- blr
-
- .section .handlers, "ax"
-
- /*
- * Unhandled exceptions handler.
- */
- .weak _unhandled_exception
- .type _unhandled_exception, @function
-_unhandled_exception:
- b _unhandled_exception
-
-#endif /* !defined(__DOXYGEN__) */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC564Axx/intc.h b/os/common/ports/e200/devices/SPC564Axx/intc.h
deleted file mode 100644
index 7f34613d9..000000000
--- a/os/common/ports/e200/devices/SPC564Axx/intc.h
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC564Axx/intc.h
- * @brief SPC564Axx INTC module header.
- *
- * @addtogroup INTC
- * @{
- */
-
-#ifndef _INTC_H_
-#define _INTC_H_
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/**
- * @name INTC addresses
- * @{
- */
-#define INTC_BASE 0xFFF48000
-#define INTC_IACKR_ADDR (INTC_BASE + 0x10)
-#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
-/** @} */
-
-/**
- * @brief INTC priority levels.
- */
-#define INTC_PRIORITY_LEVELS 16U
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module macros. */
-/*===========================================================================*/
-
-/**
- * @name INTC-related macros
- * @{
- */
-#define INTC_BCR (*((volatile uint32_t *)(INTC_BASE + 0)))
-#define INTC_CPR(n) (*((volatile uint32_t *)(INTC_BASE + 8 + ((n) * sizeof (uint32_t)))))
-#define INTC_IACKR(n) (*((volatile uint32_t *)(INTC_BASE + 0x10 + ((n) * sizeof (uint32_t)))))
-#define INTC_EOIR(n) (*((volatile uint32_t *)(INTC_BASE + 0x18 + ((n) * sizeof (uint32_t)))))
-#define INTC_PSR(n) (*((volatile uint8_t *)(INTC_BASE + 0x40 + ((n) * sizeof (uint8_t)))))
-/** @} */
-
-/**
- * @brief Core selection macros for PSR register.
- */
-#define INTC_PSR_CORE0 0x00
-
-/**
- * @brief PSR register content helper
- */
-#define INTC_PSR_ENABLE(cores, prio) ((uint32_t)(cores) | (uint32_t)(prio))
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module inline functions. */
-/*===========================================================================*/
-
-#endif /* _INTC_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC564Axx/ppcparams.h b/os/common/ports/e200/devices/SPC564Axx/ppcparams.h
deleted file mode 100644
index ed4716b99..000000000
--- a/os/common/ports/e200/devices/SPC564Axx/ppcparams.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC564Axx/ppcparams.h
- * @brief PowerPC parameters for the SPC564Axx.
- *
- * @defgroup PPC_SPC564Axx SPC564Axx Specific Parameters
- * @ingroup PPC_SPECIFIC
- * @details This file contains the PowerPC specific parameters for the
- * SPC564Axx platform.
- * @{
- */
-
-#ifndef _PPCPARAMS_H_
-#define _PPCPARAMS_H_
-
-/**
- * @brief Family identification macro.
- */
-#define PPC_SPC564Axx
-
-/**
- * @brief PPC core model.
- */
-#define PPC_VARIANT PPC_VARIANT_e200z4
-
-/**
- * @brief Number of cores.
- */
-#define PPC_CORE_NUMBER 1
-
-/**
- * @brief Number of writable bits in IVPR register.
- */
-#define PPC_IVPR_BITS 16
-
-/**
- * @brief IVORx registers support.
- */
-#define PPC_SUPPORTS_IVORS TRUE
-
-/**
- * @brief Book E instruction set support.
- */
-#define PPC_SUPPORTS_BOOKE TRUE
-
-/**
- * @brief VLE instruction set support.
- */
-#define PPC_SUPPORTS_VLE TRUE
-
-/**
- * @brief Supports VLS Load/Store Multiple Volatile instructions.
- */
-#define PPC_SUPPORTS_VLE_MULTI TRUE
-
-/**
- * @brief Supports the decrementer timer.
- */
-#define PPC_SUPPORTS_DECREMENTER TRUE
-
-/**
- * @brief Number of interrupt sources.
- */
-#define PPC_NUM_VECTORS 486
-
-#endif /* _PPCPARAMS_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC56ECxx/boot.h b/os/common/ports/e200/devices/SPC56ECxx/boot.h
deleted file mode 100644
index 4c50922b8..000000000
--- a/os/common/ports/e200/devices/SPC56ECxx/boot.h
+++ /dev/null
@@ -1,251 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file boot.h
- * @brief Boot parameters for the SPC56ECxx.
- * @{
- */
-
-#ifndef _BOOT_H_
-#define _BOOT_H_
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/**
- * @name MASx registers definitions
- * @{
- */
-#define MAS0_TBLMAS_TBL 0x10000000
-#define MAS0_ESEL_MASK 0x000F0000
-#define MAS0_ESEL(n) ((n) << 16)
-
-#define MAS1_VALID 0x80000000
-#define MAS1_IPROT 0x40000000
-#define MAS1_TID_MASK 0x00FF0000
-#define MAS1_TS 0x00001000
-#define MAS1_TSISE_MASK 0x00000F80
-#define MAS1_TSISE_1K 0x00000000
-#define MAS1_TSISE_2K 0x00000080
-#define MAS1_TSISE_4K 0x00000100
-#define MAS1_TSISE_8K 0x00000180
-#define MAS1_TSISE_16K 0x00000200
-#define MAS1_TSISE_32K 0x00000280
-#define MAS1_TSISE_64K 0x00000300
-#define MAS1_TSISE_128K 0x00000380
-#define MAS1_TSISE_256K 0x00000400
-#define MAS1_TSISE_512K 0x00000480
-#define MAS1_TSISE_1M 0x00000500
-#define MAS1_TSISE_2M 0x00000580
-#define MAS1_TSISE_4M 0x00000600
-#define MAS1_TSISE_8M 0x00000680
-#define MAS1_TSISE_16M 0x00000700
-#define MAS1_TSISE_32M 0x00000780
-#define MAS1_TSISE_64M 0x00000800
-#define MAS1_TSISE_128M 0x00000880
-#define MAS1_TSISE_256M 0x00000900
-#define MAS1_TSISE_512M 0x00000980
-#define MAS1_TSISE_1G 0x00000A00
-#define MAS1_TSISE_2G 0x00000A80
-#define MAS1_TSISE_4G 0x00000B00
-
-#define MAS2_EPN_MASK 0xFFFFFC00
-#define MAS2_EPN(n) ((n) & MAS2_EPN_MASK)
-#define MAS2_EBOOK 0x00000000
-#define MAS2_VLE 0x00000020
-#define MAS2_W 0x00000010
-#define MAS2_I 0x00000008
-#define MAS2_M 0x00000004
-#define MAS2_G 0x00000002
-#define MAS2_E 0x00000001
-
-#define MAS3_RPN_MASK 0xFFFFFC00
-#define MAS3_RPN(n) ((n) & MAS3_RPN_MASK)
-#define MAS3_U0 0x00000200
-#define MAS3_U1 0x00000100
-#define MAS3_U2 0x00000080
-#define MAS3_U3 0x00000040
-#define MAS3_UX 0x00000020
-#define MAS3_SX 0x00000010
-#define MAS3_UW 0x00000008
-#define MAS3_SW 0x00000004
-#define MAS3_UR 0x00000002
-#define MAS3_SR 0x00000001
-/** @} */
-
-/**
- * @name BUCSR registers definitions
- * @{
- */
-#define BUCSR_BPEN 0x00000001
-#define BUCSR_BPRED_MASK 0x00000006
-#define BUCSR_BPRED_0 0x00000000
-#define BUCSR_BPRED_1 0x00000002
-#define BUCSR_BPRED_2 0x00000004
-#define BUCSR_BPRED_3 0x00000006
-#define BUCSR_BALLOC_MASK 0x00000030
-#define BUCSR_BALLOC_0 0x00000000
-#define BUCSR_BALLOC_1 0x00000010
-#define BUCSR_BALLOC_2 0x00000020
-#define BUCSR_BALLOC_3 0x00000030
-#define BUCSR_BALLOC_BFI 0x00000200
-/** @} */
-
-/**
- * @name LICSR1 registers definitions
- * @{
- */
-#define LICSR1_ICE 0x00000001
-#define LICSR1_ICINV 0x00000002
-#define LICSR1_ICORG 0x00000010
-/** @} */
-
-/**
- * @name MSR register definitions
- * @{
- */
-#define MSR_UCLE 0x04000000
-#define MSR_SPE 0x02000000
-#define MSR_WE 0x00040000
-#define MSR_CE 0x00020000
-#define MSR_EE 0x00008000
-#define MSR_PR 0x00004000
-#define MSR_FP 0x00002000
-#define MSR_ME 0x00001000
-#define MSR_FE0 0x00000800
-#define MSR_DE 0x00000200
-#define MSR_FE1 0x00000100
-#define MSR_IS 0x00000020
-#define MSR_DS 0x00000010
-#define MSR_RI 0x00000002
-/** @} */
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*
- * TLB default settings.
- */
-#define TLB0_MAS0 (MAS0_TBLMAS_TBL | MAS0_ESEL(0))
-#define TLB0_MAS1 (MAS1_VALID | MAS1_IPROT | MAS1_TSISE_4M)
-#define TLB0_MAS2 (MAS2_EPN(0x00000000) | MAS2_VLE)
-#define TLB0_MAS3 (MAS3_RPN(0x00000000) | \
- MAS3_UX | MAS3_SX | MAS3_UW | MAS3_SW | \
- MAS3_UR | MAS3_SR)
-
-#define TLB1_MAS0 (MAS0_TBLMAS_TBL | MAS0_ESEL(1))
-#define TLB1_MAS1 (MAS1_VALID | MAS1_IPROT | MAS1_TSISE_256K)
-#define TLB1_MAS2 (MAS2_EPN(0x40000000) | MAS2_VLE)
-#define TLB1_MAS3 (MAS3_RPN(0x40000000) | \
- MAS3_UX | MAS3_SX | MAS3_UW | MAS3_SW | \
- MAS3_UR | MAS3_SR)
-
-#define TLB2_MAS0 (MAS0_TBLMAS_TBL | MAS0_ESEL(2))
-#define TLB2_MAS1 (MAS1_VALID | MAS1_IPROT | MAS1_TSISE_1M)
-#define TLB2_MAS2 (MAS2_EPN(0xC3F00000) | MAS2_I)
-#define TLB2_MAS3 (MAS3_RPN(0xC3F00000) | \
- MAS3_UW | MAS3_SW | MAS3_UR | MAS3_SR)
-
-#define TLB3_MAS0 (MAS0_TBLMAS_TBL | MAS0_ESEL(3))
-#define TLB3_MAS1 (MAS1_VALID | MAS1_IPROT | MAS1_TSISE_1M)
-#define TLB3_MAS2 (MAS2_EPN(0xFFE00000) | MAS2_I)
-#define TLB3_MAS3 (MAS3_RPN(0xFFE00000) | \
- MAS3_UW | MAS3_SW | MAS3_UR | MAS3_SR)
-
-#define TLB4_MAS0 (MAS0_TBLMAS_TBL | MAS0_ESEL(4))
-#define TLB4_MAS1 (MAS1_VALID | MAS1_IPROT | MAS1_TSISE_1M)
-#define TLB4_MAS2 (MAS2_EPN(0x8FF00000) | MAS2_I)
-#define TLB4_MAS3 (MAS3_RPN(0x8FF00000) | \
- MAS3_UW | MAS3_SW | MAS3_UR | MAS3_SR)
-
-#define TLB5_MAS0 (MAS0_TBLMAS_TBL | MAS0_ESEL(5))
-#define TLB5_MAS1 (MAS1_VALID | MAS1_IPROT | MAS1_TSISE_1M)
-#define TLB5_MAS2 (MAS2_EPN(0xFFF00000) | MAS2_I)
-#define TLB5_MAS3 (MAS3_RPN(0xFFF00000) | \
- MAS3_UW | MAS3_SW | MAS3_UR | MAS3_SR)
-
-/*
- * BUCSR default settings.
- */
-#if !defined(BOOT_BUCSR_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_BUCSR_DEFAULT (BUCSR_BPEN | BUCSR_BPRED_0 | \
- BUCSR_BALLOC_0 | BUCSR_BALLOC_BFI)
-#endif
-
-/*
- * LICSR1 default settings.
- */
-#if !defined(BOOT_LICSR1_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_LICSR1_DEFAULT (LICSR1_ICE | LICSR1_ICORG)
-#endif
-
-/*
- * MSR default settings.
- */
-#if !defined(BOOT_MSR_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_MSR_DEFAULT (MSR_SPE | MSR_WE | MSR_CE | MSR_ME)
-#endif
-
-/*
- * Boot default settings.
- */
-#if !defined(BOOT_PERFORM_CORE_INIT) || defined(__DOXYGEN__)
-#define BOOT_PERFORM_CORE_INIT 1
-#endif
-
-/*
- * VLE mode default settings.
- */
-#if !defined(BOOT_USE_VLE) || defined(__DOXYGEN__)
-#define BOOT_USE_VLE 1
-#endif
-
-/*
- * RAM relocation flag.
- */
-#if !defined(BOOT_RELOCATE_IN_RAM) || defined(__DOXYGEN__)
-#define BOOT_RELOCATE_IN_RAM 0
-#endif
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module macros. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module inline functions. */
-/*===========================================================================*/
-
-#endif /* _BOOT_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC56ECxx/boot.s b/os/common/ports/e200/devices/SPC56ECxx/boot.s
deleted file mode 100644
index 26cfcaaec..000000000
--- a/os/common/ports/e200/devices/SPC56ECxx/boot.s
+++ /dev/null
@@ -1,406 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC56ECxx/boot.s
- * @brief SPC56ECxx boot-related code.
- *
- * @addtogroup PPC_BOOT
- * @{
- */
-
-#include "boot.h"
-
-#if !defined(__DOXYGEN__)
-
- /* BAM record.*/
- .section .boot, "ax"
-
-#if BOOT_USE_VLE
- .long 0x015A0000
-#else
- .long 0x005A0000
-#endif
- .long _reset_address
-
- .align 2
- .globl _reset_address
- .type _reset_address, @function
-_reset_address:
-#if BOOT_PERFORM_CORE_INIT
- bl _coreinit
-#endif
- bl _ivinit
-
-#if BOOT_RELOCATE_IN_RAM
- /*
- * Image relocation in RAM.
- */
- lis %r4, __ram_reloc_start__@h
- ori %r4, %r4, __ram_reloc_start__@l
- lis %r5, __ram_reloc_dest__@h
- ori %r5, %r5, __ram_reloc_dest__@l
- lis %r6, __ram_reloc_end__@h
- ori %r6, %r6, __ram_reloc_end__@l
-.relloop:
- cmpl cr0, %r4, %r6
- bge cr0, .relend
- lwz %r7, 0(%r4)
- addi %r4, %r4, 4
- stw %r7, 0(%r5)
- addi %r5, %r5, 4
- b .relloop
-.relend:
- lis %r3, _boot_address@h
- ori %r3, %r3, _boot_address@l
- mtctr %r3
- bctrl
-#else
- b _boot_address
-#endif
-
-#if BOOT_PERFORM_CORE_INIT
- .align 2
-_ramcode:
- tlbwe
- isync
- blr
-
- .align 2
-_coreinit:
- /*
- * Invalidating all TLBs except TLB0.
- */
- lis %r3, 0
- mtspr 625, %r3 /* MAS1 */
- mtspr 626, %r3 /* MAS2 */
- mtspr 627, %r3 /* MAS3 */
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(1))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(2))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(3))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(4))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(5))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(6))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(7))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(8))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(9))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(10))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(11))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(12))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(13))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(14))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(15))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
-
- /*
- * TLB1 allocated to internal RAM.
- */
- lis %r3, TLB1_MAS0@h
- mtspr 624, %r3 /* MAS0 */
- lis %r3, TLB1_MAS1@h
- ori %r3, %r3, TLB1_MAS1@l
- mtspr 625, %r3 /* MAS1 */
- lis %r3, TLB1_MAS2@h
- ori %r3, %r3, TLB1_MAS2@l
- mtspr 626, %r3 /* MAS2 */
- lis %r3, TLB1_MAS3@h
- ori %r3, %r3, TLB1_MAS3@l
- mtspr 627, %r3 /* MAS3 */
- tlbwe
-
- /*
- * TLB2 allocated to internal Peripherals Bridge A.
- */
- lis %r3, TLB2_MAS0@h
- mtspr 624, %r3 /* MAS0 */
- lis %r3, TLB2_MAS1@h
- ori %r3, %r3, TLB2_MAS1@l
- mtspr 625, %r3 /* MAS1 */
- lis %r3, TLB2_MAS2@h
- ori %r3, %r3, TLB2_MAS2@l
- mtspr 626, %r3 /* MAS2 */
- lis %r3, TLB2_MAS3@h
- ori %r3, %r3, TLB2_MAS3@l
- mtspr 627, %r3 /* MAS3 */
- tlbwe
-
- /*
- * TLB3 allocated to internal Peripherals Bridge B.
- */
- lis %r3, TLB3_MAS0@h
- mtspr 624, %r3 /* MAS0 */
- lis %r3, TLB3_MAS1@h
- ori %r3, %r3, TLB3_MAS1@l
- mtspr 625, %r3 /* MAS1 */
- lis %r3, TLB3_MAS2@h
- ori %r3, %r3, TLB3_MAS2@l
- mtspr 626, %r3 /* MAS2 */
- lis %r3, TLB3_MAS3@h
- ori %r3, %r3, TLB3_MAS3@l
- mtspr 627, %r3 /* MAS3 */
- tlbwe
-
- /*
- * TLB4 allocated to on-platform peripherals.
- */
- lis %r3, TLB4_MAS0@h
- mtspr 624, %r3 /* MAS0 */
- lis %r3, TLB4_MAS1@h
- ori %r3, %r3, TLB4_MAS1@l
- mtspr 625, %r3 /* MAS1 */
- lis %r3, TLB4_MAS2@h
- ori %r3, %r3, TLB4_MAS2@l
- mtspr 626, %r3 /* MAS2 */
- lis %r3, TLB4_MAS3@h
- ori %r3, %r3, TLB4_MAS3@l
- mtspr 627, %r3 /* MAS3 */
- tlbwe
-
- /*
- * TLB5 allocated to on-platform peripherals.
- */
- lis %r3, TLB5_MAS0@h
- mtspr 624, %r3 /* MAS0 */
- lis %r3, TLB5_MAS1@h
- ori %r3, %r3, TLB5_MAS1@l
- mtspr 625, %r3 /* MAS1 */
- lis %r3, TLB5_MAS2@h
- ori %r3, %r3, TLB5_MAS2@l
- mtspr 626, %r3 /* MAS2 */
- lis %r3, TLB5_MAS3@h
- ori %r3, %r3, TLB5_MAS3@l
- mtspr 627, %r3 /* MAS3 */
- tlbwe
-
- /*
- * RAM clearing, this device requires a write to all RAM location in
- * order to initialize the ECC detection hardware, this is going to
- * slow down the startup but there is no way around.
- */
- xor %r0, %r0, %r0
- xor %r1, %r1, %r1
- xor %r2, %r2, %r2
- xor %r3, %r3, %r3
- xor %r4, %r4, %r4
- xor %r5, %r5, %r5
- xor %r6, %r6, %r6
- xor %r7, %r7, %r7
- xor %r8, %r8, %r8
- xor %r9, %r9, %r9
- xor %r10, %r10, %r10
- xor %r11, %r11, %r11
- xor %r12, %r12, %r12
- xor %r13, %r13, %r13
- xor %r14, %r14, %r14
- xor %r15, %r15, %r15
- xor %r16, %r16, %r16
- xor %r17, %r17, %r17
- xor %r18, %r18, %r18
- xor %r19, %r19, %r19
- xor %r20, %r20, %r20
- xor %r21, %r21, %r21
- xor %r22, %r22, %r22
- xor %r23, %r23, %r23
- xor %r24, %r24, %r24
- xor %r25, %r25, %r25
- xor %r26, %r26, %r26
- xor %r27, %r27, %r27
- xor %r28, %r28, %r28
- xor %r29, %r29, %r29
- xor %r30, %r30, %r30
- xor %r31, %r31, %r31
- lis %r4, __ram_start__@h
- ori %r4, %r4, __ram_start__@l
- lis %r5, __ram_end__@h
- ori %r5, %r5, __ram_end__@l
-.cleareccloop:
- cmpl %cr0, %r4, %r5
- bge %cr0, .cleareccend
- stmw %r16, 0(%r4)
- addi %r4, %r4, 64
- b .cleareccloop
-.cleareccend:
-
- /*
- * Special function registers clearing, required in order to avoid
- * possible problems with lockstep mode.
- */
- mtcrf 0xFF, %r31
- mtspr 9, %r31 /* CTR */
- mtspr 22, %r31 /* DEC */
- mtspr 26, %r31 /* SRR0-1 */
- mtspr 27, %r31
- mtspr 54, %r31 /* DECAR */
- mtspr 58, %r31 /* CSRR0-1 */
- mtspr 59, %r31
- mtspr 61, %r31 /* DEAR */
- mtspr 256, %r31 /* USPRG0 */
- mtspr 272, %r31 /* SPRG1-7 */
- mtspr 273, %r31
- mtspr 274, %r31
- mtspr 275, %r31
- mtspr 276, %r31
- mtspr 277, %r31
- mtspr 278, %r31
- mtspr 279, %r31
- mtspr 285, %r31 /* TBU */
- mtspr 284, %r31 /* TBL */
-#if 0
- mtspr 318, %r31 /* DVC1-2 */
- mtspr 319, %r31
-#endif
- mtspr 562, %r31 /* DBCNT */
- mtspr 570, %r31 /* MCSRR0 */
- mtspr 571, %r31 /* MCSRR1 */
- mtspr 604, %r31 /* SPRG8-9 */
- mtspr 605, %r31
-
- /*
- * *Finally* the TLB0 is re-allocated to flash, note, the final phase
- * is executed from RAM.
- */
- lis %r3, TLB0_MAS0@h
- mtspr 624, %r3 /* MAS0 */
- lis %r3, TLB0_MAS1@h
- ori %r3, %r3, TLB0_MAS1@l
- mtspr 625, %r3 /* MAS1 */
- lis %r3, TLB0_MAS2@h
- ori %r3, %r3, TLB0_MAS2@l
- mtspr 626, %r3 /* MAS2 */
- lis %r3, TLB0_MAS3@h
- ori %r3, %r3, TLB0_MAS3@l
- mtspr 627, %r3 /* MAS3 */
- mflr %r4
- lis %r6, _ramcode@h
- ori %r6, %r6, _ramcode@l
- lis %r7, 0x40010000@h
- mtctr %r7
- lwz %r3, 0(%r6)
- stw %r3, 0(%r7)
- lwz %r3, 4(%r6)
- stw %r3, 4(%r7)
- lwz %r3, 8(%r6)
- stw %r3, 8(%r7)
- bctrl
- mtlr %r4
-
- /*
- * Branch prediction enabled.
- */
- li %r3, BOOT_BUCSR_DEFAULT
- mtspr 1013, %r3 /* BUCSR */
-
- /*
- * Cache invalidated and then enabled.
- */
- li %r3, LICSR1_ICINV
- mtspr 1011, %r3 /* LICSR1 */
-.inv: mfspr %r3, 1011 /* LICSR1 */
- andi. %r3, %r3, LICSR1_ICINV
- bne .inv
- lis %r3, BOOT_LICSR1_DEFAULT@h
- ori %r3, %r3, BOOT_LICSR1_DEFAULT@l
- mtspr 1011, %r3 /* LICSR1 */
-
- blr
-#endif /* BOOT_PERFORM_CORE_INIT */
-
- /*
- * Exception vectors initialization.
- */
- .align 2
-_ivinit:
- /* MSR initialization.*/
- lis %r3, BOOT_MSR_DEFAULT@h
- ori %r3, %r3, BOOT_MSR_DEFAULT@l
- mtMSR %r3
-
- /* IVPR initialization.*/
- lis %r3, __ivpr_base__@h
- ori %r3, %r3, __ivpr_base__@l
- mtIVPR %r3
-
- /* IVORs initialization.*/
- lis %r3, _unhandled_exception@h
- ori %r3, %r3, _unhandled_exception@l
-
- mtspr 400, %r3 /* IVOR0-15 */
- mtspr 401, %r3
- mtspr 402, %r3
- mtspr 403, %r3
- mtspr 404, %r3
- mtspr 405, %r3
- mtspr 406, %r3
- mtspr 407, %r3
- mtspr 408, %r3
- mtspr 409, %r3
- mtspr 410, %r3
- mtspr 411, %r3
- mtspr 412, %r3
- mtspr 413, %r3
- mtspr 414, %r3
- mtspr 415, %r3
- mtspr 528, %r3 /* IVOR32-34 */
- mtspr 529, %r3
- mtspr 530, %r3
-
- blr
-
- .section .handlers, "ax"
-
- /*
- * Unhandled exceptions handler.
- */
- .weak _unhandled_exception
- .type _unhandled_exception, @function
-_unhandled_exception:
- b _unhandled_exception
-
-#endif /* !defined(__DOXYGEN__) */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC56ECxx/boot_cw.s b/os/common/ports/e200/devices/SPC56ECxx/boot_cw.s
deleted file mode 100644
index b6698607b..000000000
--- a/os/common/ports/e200/devices/SPC56ECxx/boot_cw.s
+++ /dev/null
@@ -1,403 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC56ECxx/boot.s
- * @brief SPC56ECxx boot-related code.
- *
- * @addtogroup PPC_BOOT
- * @{
- */
-
-#include "boot.h"
-
-#if !defined(__DOXYGEN__)
-
- .extern _boot_address
- .extern __ram_start__
- .extern __ram_end__
- .extern __ivpr_base__
-
- .extern _unhandled_exception
-
- /* BAM record.*/
- .section .boot, 16
-
-#if BOOT_USE_VLE
- .long 0x015A0000
-#else
- .long 0x005A0000
-#endif
- .long _reset_address
-
- .align 4
- .globl _reset_address
- .type _reset_address, @function
-_reset_address:
-#if BOOT_PERFORM_CORE_INIT
- e_bl _coreinit
-#endif
- e_bl _ivinit
-
-#if BOOT_RELOCATE_IN_RAM
- /*
- * Image relocation in RAM.
- */
- e_lis r4, __ram_reloc_start__@h
- e_or2i r4, r4, __ram_reloc_start__@l
- e_lis r5, __ram_reloc_dest__@h
- e_or2i r5, r5, __ram_reloc_dest__@l
- e_lis r6, __ram_reloc_end__@h
- e_or2i r6, r6, __ram_reloc_end__@l
-.relloop:
- se_cmpl r4, r6
- se_bge .relend
- se_lwz r7, 0(r4)
- se_addi r4, 4
- se_stw r7, 0(r5)
- se_addi r5, 4
- se_b .relloop
-.relend:
- e_lis r3, _boot_address@h
- e_or2i r3, _boot_address@l
- mtctr r3
- se_bctrl
-#else
- e_b _boot_address
-#endif
-
-#if BOOT_PERFORM_CORE_INIT
- .align 4
-_ramcode:
- tlbwe
- se_isync
- se_blr
-
- .align 2
-_coreinit:
- /*
- * Invalidating all TLBs except TLB0.
- */
- e_lis r3, 0
- mtspr 625, r3 /* MAS1 */
- mtspr 626, r3 /* MAS2 */
- mtspr 627, r3 /* MAS3 */
- e_lis r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(1))@h
- mtspr 624, r3 /* MAS0 */
- tlbwe
- e_lis r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(2))@h
- mtspr 624, r3 /* MAS0 */
- tlbwe
- e_lis r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(3))@h
- mtspr 624, r3 /* MAS0 */
- tlbwe
- e_lis r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(4))@h
- mtspr 624, r3 /* MAS0 */
- tlbwe
- e_lis r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(5))@h
- mtspr 624, r3 /* MAS0 */
- tlbwe
- e_lis r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(6))@h
- mtspr 624, r3 /* MAS0 */
- tlbwe
- e_lis r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(7))@h
- mtspr 624, r3 /* MAS0 */
- tlbwe
- e_lis r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(8))@h
- mtspr 624, r3 /* MAS0 */
- tlbwe
- e_lis r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(9))@h
- mtspr 624, r3 /* MAS0 */
- tlbwe
- e_lis r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(10))@h
- mtspr 624, r3 /* MAS0 */
- tlbwe
- e_lis r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(11))@h
- mtspr 624, r3 /* MAS0 */
- tlbwe
- e_lis r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(12))@h
- mtspr 624, r3 /* MAS0 */
- tlbwe
- e_lis r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(13))@h
- mtspr 624, r3 /* MAS0 */
- tlbwe
- e_lis r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(14))@h
- mtspr 624, r3 /* MAS0 */
- tlbwe
- e_lis r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(15))@h
- mtspr 624, r3 /* MAS0 */
- tlbwe
-
- /*
- * TLB1 allocated to internal RAM.
- */
- e_lis r3, TLB1_MAS0@h
- mtspr 624, r3 /* MAS0 */
- e_lis r3, TLB1_MAS1@h
- e_or2i r3, TLB1_MAS1@l
- mtspr 625, r3 /* MAS1 */
- e_lis r3, TLB1_MAS2@h
- e_or2i r3, TLB1_MAS2@l
- mtspr 626, r3 /* MAS2 */
- e_lis r3, TLB1_MAS3@h
- e_or2i r3, TLB1_MAS3@l
- mtspr 627, r3 /* MAS3 */
- tlbwe
-
- /*
- * TLB2 allocated to internal Peripherals Bridge A.
- */
- e_lis r3, TLB2_MAS0@h
- mtspr 624, r3 /* MAS0 */
- e_lis r3, TLB2_MAS1@h
- e_or2i r3, TLB2_MAS1@l
- mtspr 625, r3 /* MAS1 */
- e_lis r3, TLB2_MAS2@h
- e_or2i r3, TLB2_MAS2@l
- mtspr 626, r3 /* MAS2 */
- e_lis r3, TLB2_MAS3@h
- e_or2i r3, TLB2_MAS3@l
- mtspr 627, r3 /* MAS3 */
- tlbwe
-
- /*
- * TLB3 allocated to internal Peripherals Bridge B.
- */
- e_lis r3, TLB3_MAS0@h
- mtspr 624, r3 /* MAS0 */
- e_lis r3, TLB3_MAS1@h
- e_or2i r3, TLB3_MAS1@l
- mtspr 625, r3 /* MAS1 */
- e_lis r3, TLB3_MAS2@h
- e_or2i r3, TLB3_MAS2@l
- mtspr 626, r3 /* MAS2 */
- e_lis r3, TLB3_MAS3@h
- e_or2i r3, TLB3_MAS3@l
- mtspr 627, r3 /* MAS3 */
- tlbwe
-
- /*
- * TLB4 allocated to on-platform peripherals.
- */
- e_lis r3, TLB4_MAS0@h
- mtspr 624, r3 /* MAS0 */
- e_lis r3, TLB4_MAS1@h
- e_or2i r3, TLB4_MAS1@l
- mtspr 625, r3 /* MAS1 */
- e_lis r3, TLB4_MAS2@h
- e_or2i r3, TLB4_MAS2@l
- mtspr 626, r3 /* MAS2 */
- e_lis r3, TLB4_MAS3@h
- e_or2i r3, TLB4_MAS3@l
- mtspr 627, r3 /* MAS3 */
- tlbwe
-
- /*
- * TLB5 allocated to on-platform peripherals.
- */
- e_lis r3, TLB5_MAS0@h
- mtspr 624, r3 /* MAS0 */
- e_lis r3, TLB5_MAS1@h
- e_or2i r3, TLB5_MAS1@l
- mtspr 625, r3 /* MAS1 */
- e_lis r3, TLB5_MAS2@h
- e_or2i r3, TLB5_MAS2@l
- mtspr 626, r3 /* MAS2 */
- e_lis r3, TLB5_MAS3@h
- e_or2i r3, TLB5_MAS3@l
- mtspr 627, r3 /* MAS3 */
- tlbwe
-
- /*
- * RAM clearing, this device requires a write to all RAM location in
- * order to initialize the ECC detection hardware, this is going to
- * slow down the startup but there is no way around.
- */
- xor r0, r0, r0
- xor r1, r1, r1
- xor r2, r2, r2
- xor r3, r3, r3
- xor r4, r4, r4
- xor r5, r5, r5
- xor r6, r6, r6
- xor r7, r7, r7
- xor r8, r8, r8
- xor r9, r9, r9
- xor r10, r10, r10
- xor r11, r11, r11
- xor r12, r12, r12
- xor r13, r13, r13
- xor r14, r14, r14
- xor r15, r15, r15
- xor r16, r16, r16
- xor r17, r17, r17
- xor r18, r18, r18
- xor r19, r19, r19
- xor r20, r20, r20
- xor r21, r21, r21
- xor r22, r22, r22
- xor r23, r23, r23
- xor r24, r24, r24
- xor r25, r25, r25
- xor r26, r26, r26
- xor r27, r27, r27
- xor r28, r28, r28
- xor r29, r29, r29
- xor r30, r30, r30
- xor r31, r31, r31
- e_lis r4, __ram_start__@h
- e_or2i r4, __ram_start__@l
- e_lis r5, __ram_end__@h
- e_or2i r5, __ram_end__@l
-.cleareccloop:
- se_cmpl r4, r5
- se_bge .cleareccend
- e_stmw r16, 0(r4)
- e_addi r4, r4, 64
- se_b .cleareccloop
-.cleareccend:
-
- /*
- * Special function registers clearing, required in order to avoid
- * possible problems with lockstep mode.
- */
- mtcrf 0xFF, r31
- mtspr 9, r31 /* CTR */
- mtspr 22, r31 /* DEC */
- mtspr 26, r31 /* SRR0-1 */
- mtspr 27, r31
- mtspr 54, r31 /* DECAR */
- mtspr 58, r31 /* CSRR0-1 */
- mtspr 59, r31
- mtspr 61, r31 /* DEAR */
- mtspr 256, r31 /* USPRG0 */
- mtspr 272, r31 /* SPRG1-7 */
- mtspr 273, r31
- mtspr 274, r31
- mtspr 275, r31
- mtspr 276, r31
- mtspr 277, r31
- mtspr 278, r31
- mtspr 279, r31
- mtspr 285, r31 /* TBU */
- mtspr 284, r31 /* TBL */
-#if 0
- mtspr 318, r31 /* DVC1-2 */
- mtspr 319, r31
-#endif
- mtspr 562, r31 /* DBCNT */
- mtspr 570, r31 /* MCSRR0 */
- mtspr 571, r31 /* MCSRR1 */
- mtspr 604, r31 /* SPRG8-9 */
- mtspr 605, r31
-
- /*
- * *Finally* the TLB0 is re-allocated to flash, note, the final phase
- * is executed from RAM.
- */
- e_lis r3, TLB0_MAS0@h
- mtspr 624, r3 /* MAS0 */
- e_lis r3, TLB0_MAS1@h
- e_or2i r3, TLB0_MAS1@l
- mtspr 625, r3 /* MAS1 */
- e_lis r3, TLB0_MAS2@h
- e_or2i r3, TLB0_MAS2@l
- mtspr 626, r3 /* MAS2 */
- e_lis r3, TLB0_MAS3@h
- e_or2i r3, TLB0_MAS3@l
- mtspr 627, r3 /* MAS3 */
- se_mflr r4
- e_lis r6, _ramcode@h
- e_or2i r6, _ramcode@l
- e_lis r7, 0x40010000@h
- mtctr r7
- se_lwz r3, 0(r6)
- se_stw r3, 0(r7)
- se_lwz r3, 4(r6)
- se_stw r3, 4(r7)
- se_lwz r3, 8(r6)
- se_stw r3, 8(r7)
- se_bctrl
- mtlr r4
-
- /*
- * Branch prediction enabled.
- */
- e_li r3, BOOT_BUCSR_DEFAULT
- mtspr 1013, r3 /* BUCSR */
-
- /*
- * Cache invalidated and then enabled.
- */
- se_li r3, LICSR1_ICINV
- mtspr 1011, r3 /* LICSR1 */
-.inv: mfspr r3, 1011 /* LICSR1 */
- e_andi. r3, r3, LICSR1_ICINV
- se_bne .inv
- e_lis r3, BOOT_LICSR1_DEFAULT@h
- e_or2i r3, BOOT_LICSR1_DEFAULT@l
- mtspr 1011, r3 /* LICSR1 */
-
- se_blr
-#endif /* BOOT_PERFORM_CORE_INIT */
-
- /*
- * Exception vectors initialization.
- */
- .align 4
-_ivinit:
- /* MSR initialization.*/
- e_lis r3, BOOT_MSR_DEFAULT@h
- e_ori r3, r3, BOOT_MSR_DEFAULT@l
- mtMSR r3
-
- /* IVPR initialization.*/
- e_lis r3, __ivpr_base__@h
- e_or2i r3, __ivpr_base__@l
- mtIVPR r3
-
- /* IVORs initialization.*/
- e_lis r3, _unhandled_exception@h
- e_or2i r3, _unhandled_exception@l
-
- mtspr 400, r3 /* IVOR0-15 */
- mtspr 401, r3
- mtspr 402, r3
- mtspr 403, r3
- mtspr 404, r3
- mtspr 405, r3
- mtspr 406, r3
- mtspr 407, r3
- mtspr 408, r3
- mtspr 409, r3
- mtspr 410, r3
- mtspr 411, r3
- mtspr 412, r3
- mtspr 413, r3
- mtspr 414, r3
- mtspr 415, r3
- mtspr 528, r3 /* IVOR32-34 */
- mtspr 529, r3
- mtspr 530, r3
-
- se_blr
-
-#endif /* !defined(__DOXYGEN__) */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC56ECxx/intc.h b/os/common/ports/e200/devices/SPC56ECxx/intc.h
deleted file mode 100644
index bb8b13dbc..000000000
--- a/os/common/ports/e200/devices/SPC56ECxx/intc.h
+++ /dev/null
@@ -1,98 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC56ECxx/intc.h
- * @brief SPC56ECxx INTC module header.
- *
- * @addtogroup INTC
- * @{
- */
-
-#ifndef _INTC_H_
-#define _INTC_H_
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/**
- * @name INTC addresses
- * @{
- */
-#define INTC_BASE 0xFFF48000
-#define INTC_IACKR_ADDR (INTC_BASE + 0x10)
-#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
-/** @} */
-
-/**
- * @brief INTC priority levels.
- */
-#define INTC_PRIORITY_LEVELS 16U
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module macros. */
-/*===========================================================================*/
-
-/**
- * @name INTC-related macros
- * @{
- */
-#define INTC_BCR (*((volatile uint32_t *)(INTC_BASE + 0)))
-#define INTC_CPR(n) (*((volatile uint32_t *)(INTC_BASE + 8 + ((n) * sizeof (uint32_t)))))
-#define INTC_IACKR(n) (*((volatile uint32_t *)(INTC_BASE + 0x10 + ((n) * sizeof (uint32_t)))))
-#define INTC_EOIR(n) (*((volatile uint32_t *)(INTC_BASE + 0x18 + ((n) * sizeof (uint32_t)))))
-#define INTC_PSR(n) (*((volatile uint8_t *)(INTC_BASE + 0x40 + ((n) * sizeof (uint8_t)))))
-/** @} */
-
-/**
- * @brief Core selection macros for PSR register.
- */
-#define INTC_PSR_CORE0 0x00
-#define INTC_PSR_CORE1 0xC0
-#define INTC_PSR_CORES01 0x40
-
-/**
- * @brief PSR register content helper
- */
-#define INTC_PSR_ENABLE(cores, prio) ((uint32_t)(cores) | (uint32_t)(prio))
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module inline functions. */
-/*===========================================================================*/
-
-#endif /* _INTC_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC56ECxx/ppcparams.h b/os/common/ports/e200/devices/SPC56ECxx/ppcparams.h
deleted file mode 100644
index 90538fecb..000000000
--- a/os/common/ports/e200/devices/SPC56ECxx/ppcparams.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC56ECxx/ppcparams.h
- * @brief PowerPC parameters for the SPC56ECxx.
- *
- * @defgroup PPC_SPC56ECxx SPC56ECxx Specific Parameters
- * @ingroup PPC_SPECIFIC
- * @details This file contains the PowerPC specific parameters for the
- * SPC56ECxx platform.
- * @{
- */
-
-#ifndef _PPCPARAMS_H_
-#define _PPCPARAMS_H_
-
-/**
- * @brief Family identification macro.
- */
-#define PPC_SPC56ECxx
-
-/**
- * @brief PPC core model.
- */
-#define PPC_VARIANT PPC_VARIANT_e200z4
-
-/**
- * @brief Number of cores.
- */
-#define PPC_CORE_NUMBER 1
-
-/**
- * @brief Number of writable bits in IVPR register.
- */
-#define PPC_IVPR_BITS 16
-
-/**
- * @brief IVORx registers support.
- */
-#define PPC_SUPPORTS_IVORS TRUE
-
-/**
- * @brief Book E instruction set support.
- */
-#define PPC_SUPPORTS_BOOKE TRUE
-
-/**
- * @brief VLE instruction set support.
- */
-#define PPC_SUPPORTS_VLE TRUE
-
-/**
- * @brief Supports VLS Load/Store Multiple Volatile instructions.
- */
-#define PPC_SUPPORTS_VLE_MULTI TRUE
-
-/**
- * @brief Supports the decrementer timer.
- */
-#define PPC_SUPPORTS_DECREMENTER TRUE
-
-/**
- * @brief Number of interrupt sources.
- */
-#define PPC_NUM_VECTORS 279
-
-#endif /* _PPCPARAMS_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC56ELxx/boot.h b/os/common/ports/e200/devices/SPC56ELxx/boot.h
deleted file mode 100644
index aeb2bc0bc..000000000
--- a/os/common/ports/e200/devices/SPC56ELxx/boot.h
+++ /dev/null
@@ -1,251 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file boot.h
- * @brief Boot parameters for the SPC56ELxx.
- * @{
- */
-
-#ifndef _BOOT_H_
-#define _BOOT_H_
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/**
- * @name MASx registers definitions
- * @{
- */
-#define MAS0_TBLMAS_TBL 0x10000000
-#define MAS0_ESEL_MASK 0x000F0000
-#define MAS0_ESEL(n) ((n) << 16)
-
-#define MAS1_VALID 0x80000000
-#define MAS1_IPROT 0x40000000
-#define MAS1_TID_MASK 0x00FF0000
-#define MAS1_TS 0x00001000
-#define MAS1_TSISE_MASK 0x00000F80
-#define MAS1_TSISE_1K 0x00000000
-#define MAS1_TSISE_2K 0x00000080
-#define MAS1_TSISE_4K 0x00000100
-#define MAS1_TSISE_8K 0x00000180
-#define MAS1_TSISE_16K 0x00000200
-#define MAS1_TSISE_32K 0x00000280
-#define MAS1_TSISE_64K 0x00000300
-#define MAS1_TSISE_128K 0x00000380
-#define MAS1_TSISE_256K 0x00000400
-#define MAS1_TSISE_512K 0x00000480
-#define MAS1_TSISE_1M 0x00000500
-#define MAS1_TSISE_2M 0x00000580
-#define MAS1_TSISE_4M 0x00000600
-#define MAS1_TSISE_8M 0x00000680
-#define MAS1_TSISE_16M 0x00000700
-#define MAS1_TSISE_32M 0x00000780
-#define MAS1_TSISE_64M 0x00000800
-#define MAS1_TSISE_128M 0x00000880
-#define MAS1_TSISE_256M 0x00000900
-#define MAS1_TSISE_512M 0x00000980
-#define MAS1_TSISE_1G 0x00000A00
-#define MAS1_TSISE_2G 0x00000A80
-#define MAS1_TSISE_4G 0x00000B00
-
-#define MAS2_EPN_MASK 0xFFFFFC00
-#define MAS2_EPN(n) ((n) & MAS2_EPN_MASK)
-#define MAS2_EBOOK 0x00000000
-#define MAS2_VLE 0x00000020
-#define MAS2_W 0x00000010
-#define MAS2_I 0x00000008
-#define MAS2_M 0x00000004
-#define MAS2_G 0x00000002
-#define MAS2_E 0x00000001
-
-#define MAS3_RPN_MASK 0xFFFFFC00
-#define MAS3_RPN(n) ((n) & MAS3_RPN_MASK)
-#define MAS3_U0 0x00000200
-#define MAS3_U1 0x00000100
-#define MAS3_U2 0x00000080
-#define MAS3_U3 0x00000040
-#define MAS3_UX 0x00000020
-#define MAS3_SX 0x00000010
-#define MAS3_UW 0x00000008
-#define MAS3_SW 0x00000004
-#define MAS3_UR 0x00000002
-#define MAS3_SR 0x00000001
-/** @} */
-
-/**
- * @name BUCSR registers definitions
- * @{
- */
-#define BUCSR_BPEN 0x00000001
-#define BUCSR_BPRED_MASK 0x00000006
-#define BUCSR_BPRED_0 0x00000000
-#define BUCSR_BPRED_1 0x00000002
-#define BUCSR_BPRED_2 0x00000004
-#define BUCSR_BPRED_3 0x00000006
-#define BUCSR_BALLOC_MASK 0x00000030
-#define BUCSR_BALLOC_0 0x00000000
-#define BUCSR_BALLOC_1 0x00000010
-#define BUCSR_BALLOC_2 0x00000020
-#define BUCSR_BALLOC_3 0x00000030
-#define BUCSR_BALLOC_BFI 0x00000200
-/** @} */
-
-/**
- * @name LICSR1 registers definitions
- * @{
- */
-#define LICSR1_ICE 0x00000001
-#define LICSR1_ICINV 0x00000002
-#define LICSR1_ICORG 0x00000010
-/** @} */
-
-/**
- * @name MSR register definitions
- * @{
- */
-#define MSR_UCLE 0x04000000
-#define MSR_SPE 0x02000000
-#define MSR_WE 0x00040000
-#define MSR_CE 0x00020000
-#define MSR_EE 0x00008000
-#define MSR_PR 0x00004000
-#define MSR_FP 0x00002000
-#define MSR_ME 0x00001000
-#define MSR_FE0 0x00000800
-#define MSR_DE 0x00000200
-#define MSR_FE1 0x00000100
-#define MSR_IS 0x00000020
-#define MSR_DS 0x00000010
-#define MSR_RI 0x00000002
-/** @} */
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*
- * TLB default settings.
- */
-#define TLB0_MAS0 (MAS0_TBLMAS_TBL | MAS0_ESEL(0))
-#define TLB0_MAS1 (MAS1_VALID | MAS1_IPROT | MAS1_TSISE_2M)
-#define TLB0_MAS2 (MAS2_EPN(0x00000000) | MAS2_VLE)
-#define TLB0_MAS3 (MAS3_RPN(0x00000000) | \
- MAS3_UX | MAS3_SX | MAS3_UW | MAS3_SW | \
- MAS3_UR | MAS3_SR)
-
-#define TLB1_MAS0 (MAS0_TBLMAS_TBL | MAS0_ESEL(1))
-#define TLB1_MAS1 (MAS1_VALID | MAS1_IPROT | MAS1_TSISE_256K)
-#define TLB1_MAS2 (MAS2_EPN(0x40000000) | MAS2_VLE)
-#define TLB1_MAS3 (MAS3_RPN(0x40000000) | \
- MAS3_UX | MAS3_SX | MAS3_UW | MAS3_SW | \
- MAS3_UR | MAS3_SR)
-
-#define TLB2_MAS0 (MAS0_TBLMAS_TBL | MAS0_ESEL(2))
-#define TLB2_MAS1 (MAS1_VALID | MAS1_IPROT | MAS1_TSISE_1M)
-#define TLB2_MAS2 (MAS2_EPN(0xC3F00000) | MAS2_I)
-#define TLB2_MAS3 (MAS3_RPN(0xC3F00000) | \
- MAS3_UW | MAS3_SW | MAS3_UR | MAS3_SR)
-
-#define TLB3_MAS0 (MAS0_TBLMAS_TBL | MAS0_ESEL(3))
-#define TLB3_MAS1 (MAS1_VALID | MAS1_IPROT | MAS1_TSISE_1M)
-#define TLB3_MAS2 (MAS2_EPN(0xFFE00000) | MAS2_I)
-#define TLB3_MAS3 (MAS3_RPN(0xFFE00000) | \
- MAS3_UW | MAS3_SW | MAS3_UR | MAS3_SR)
-
-#define TLB4_MAS0 (MAS0_TBLMAS_TBL | MAS0_ESEL(4))
-#define TLB4_MAS1 (MAS1_VALID | MAS1_IPROT | MAS1_TSISE_1M)
-#define TLB4_MAS2 (MAS2_EPN(0x8FF00000) | MAS2_I)
-#define TLB4_MAS3 (MAS3_RPN(0x8FF00000) | \
- MAS3_UW | MAS3_SW | MAS3_UR | MAS3_SR)
-
-#define TLB5_MAS0 (MAS0_TBLMAS_TBL | MAS0_ESEL(5))
-#define TLB5_MAS1 (MAS1_VALID | MAS1_IPROT | MAS1_TSISE_1M)
-#define TLB5_MAS2 (MAS2_EPN(0xFFF00000) | MAS2_I)
-#define TLB5_MAS3 (MAS3_RPN(0xFFF00000) | \
- MAS3_UW | MAS3_SW | MAS3_UR | MAS3_SR)
-
-/*
- * BUCSR default settings.
- */
-#if !defined(BOOT_BUCSR_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_BUCSR_DEFAULT (BUCSR_BPEN | BUCSR_BPRED_0 | \
- BUCSR_BALLOC_0 | BUCSR_BALLOC_BFI)
-#endif
-
-/*
- * LICSR1 default settings.
- */
-#if !defined(BOOT_LICSR1_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_LICSR1_DEFAULT (LICSR1_ICE | LICSR1_ICORG)
-#endif
-
-/*
- * MSR default settings.
- */
-#if !defined(BOOT_MSR_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_MSR_DEFAULT (MSR_SPE | MSR_WE | MSR_CE | MSR_ME)
-#endif
-
-/*
- * Boot default settings.
- */
-#if !defined(BOOT_PERFORM_CORE_INIT) || defined(__DOXYGEN__)
-#define BOOT_PERFORM_CORE_INIT 1
-#endif
-
-/*
- * VLE mode default settings.
- */
-#if !defined(BOOT_USE_VLE) || defined(__DOXYGEN__)
-#define BOOT_USE_VLE 1
-#endif
-
-/*
- * RAM relocation flag.
- */
-#if !defined(BOOT_RELOCATE_IN_RAM) || defined(__DOXYGEN__)
-#define BOOT_RELOCATE_IN_RAM 0
-#endif
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module macros. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module inline functions. */
-/*===========================================================================*/
-
-#endif /* _BOOT_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC56ELxx/boot.s b/os/common/ports/e200/devices/SPC56ELxx/boot.s
deleted file mode 100644
index 1508f0c17..000000000
--- a/os/common/ports/e200/devices/SPC56ELxx/boot.s
+++ /dev/null
@@ -1,408 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC56ELxx/boot.s
- * @brief SPC56ELxx boot-related code.
- *
- * @addtogroup PPC_BOOT
- * @{
- */
-
-#include "boot.h"
-
-#if !defined(__DOXYGEN__)
-
- /* BAM record.*/
- .section .boot, "ax"
-
-#if BOOT_USE_VLE
- .long 0x015A0000
-#else
- .long 0x005A0000
-#endif
- .long _reset_address
-
- .align 2
- .globl _reset_address
- .type _reset_address, @function
-_reset_address:
- bl _coreinit
- bl _ivinit
-
-#if BOOT_RELOCATE_IN_RAM
- /*
- * Image relocation in RAM.
- */
- lis %r4, __ram_reloc_start__@h
- ori %r4, %r4, __ram_reloc_start__@l
- lis %r5, __ram_reloc_dest__@h
- ori %r5, %r5, __ram_reloc_dest__@l
- lis %r6, __ram_reloc_end__@h
- ori %r6, %r6, __ram_reloc_end__@l
-.relloop:
- cmpl cr0, %r4, %r6
- bge cr0, .relend
- lwz %r7, 0(%r4)
- addi %r4, %r4, 4
- stw %r7, 0(%r5)
- addi %r5, %r5, 4
- b .relloop
-.relend:
- lis %r3, _boot_address@h
- ori %r3, %r3, _boot_address@l
- mtctr %r3
- bctrl
-#else
- b _boot_address
-#endif
-
-#if BOOT_PERFORM_CORE_INIT
- .align 2
-_ramcode:
- tlbwe
- isync
- blr
-#endif /* BOOT_PERFORM_CORE_INIT */
-
- .align 2
-_coreinit:
-#if BOOT_PERFORM_CORE_INIT
- /*
- * Invalidating all TLBs except TLB0.
- */
- lis %r3, 0
- mtspr 625, %r3 /* MAS1 */
- mtspr 626, %r3 /* MAS2 */
- mtspr 627, %r3 /* MAS3 */
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(1))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(2))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(3))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(4))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(5))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(6))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(7))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(8))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(9))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(10))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(11))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(12))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(13))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(14))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
- lis %r3, (MAS0_TBLMAS_TBL | MAS0_ESEL(15))@h
- mtspr 624, %r3 /* MAS0 */
- tlbwe
-
- /*
- * TLB1 allocated to internal RAM.
- */
- lis %r3, TLB1_MAS0@h
- mtspr 624, %r3 /* MAS0 */
- lis %r3, TLB1_MAS1@h
- ori %r3, %r3, TLB1_MAS1@l
- mtspr 625, %r3 /* MAS1 */
- lis %r3, TLB1_MAS2@h
- ori %r3, %r3, TLB1_MAS2@l
- mtspr 626, %r3 /* MAS2 */
- lis %r3, TLB1_MAS3@h
- ori %r3, %r3, TLB1_MAS3@l
- mtspr 627, %r3 /* MAS3 */
- tlbwe
-
- /*
- * TLB2 allocated to internal Peripherals Bridge A.
- */
- lis %r3, TLB2_MAS0@h
- mtspr 624, %r3 /* MAS0 */
- lis %r3, TLB2_MAS1@h
- ori %r3, %r3, TLB2_MAS1@l
- mtspr 625, %r3 /* MAS1 */
- lis %r3, TLB2_MAS2@h
- ori %r3, %r3, TLB2_MAS2@l
- mtspr 626, %r3 /* MAS2 */
- lis %r3, TLB2_MAS3@h
- ori %r3, %r3, TLB2_MAS3@l
- mtspr 627, %r3 /* MAS3 */
- tlbwe
-
- /*
- * TLB3 allocated to internal Peripherals Bridge B.
- */
- lis %r3, TLB3_MAS0@h
- mtspr 624, %r3 /* MAS0 */
- lis %r3, TLB3_MAS1@h
- ori %r3, %r3, TLB3_MAS1@l
- mtspr 625, %r3 /* MAS1 */
- lis %r3, TLB3_MAS2@h
- ori %r3, %r3, TLB3_MAS2@l
- mtspr 626, %r3 /* MAS2 */
- lis %r3, TLB3_MAS3@h
- ori %r3, %r3, TLB3_MAS3@l
- mtspr 627, %r3 /* MAS3 */
- tlbwe
-
- /*
- * TLB4 allocated to on-platform peripherals.
- */
- lis %r3, TLB4_MAS0@h
- mtspr 624, %r3 /* MAS0 */
- lis %r3, TLB4_MAS1@h
- ori %r3, %r3, TLB4_MAS1@l
- mtspr 625, %r3 /* MAS1 */
- lis %r3, TLB4_MAS2@h
- ori %r3, %r3, TLB4_MAS2@l
- mtspr 626, %r3 /* MAS2 */
- lis %r3, TLB4_MAS3@h
- ori %r3, %r3, TLB4_MAS3@l
- mtspr 627, %r3 /* MAS3 */
- tlbwe
-
- /*
- * TLB5 allocated to on-platform peripherals.
- */
- lis %r3, TLB5_MAS0@h
- mtspr 624, %r3 /* MAS0 */
- lis %r3, TLB5_MAS1@h
- ori %r3, %r3, TLB5_MAS1@l
- mtspr 625, %r3 /* MAS1 */
- lis %r3, TLB5_MAS2@h
- ori %r3, %r3, TLB5_MAS2@l
- mtspr 626, %r3 /* MAS2 */
- lis %r3, TLB5_MAS3@h
- ori %r3, %r3, TLB5_MAS3@l
- mtspr 627, %r3 /* MAS3 */
- tlbwe
-
- /*
- * RAM clearing, this device requires a write to all RAM location in
- * order to initialize the ECC detection hardware, this is going to
- * slow down the startup but there is no way around.
- */
- xor %r0, %r0, %r0
- xor %r1, %r1, %r1
- xor %r2, %r2, %r2
- xor %r3, %r3, %r3
- xor %r4, %r4, %r4
- xor %r5, %r5, %r5
- xor %r6, %r6, %r6
- xor %r7, %r7, %r7
- xor %r8, %r8, %r8
- xor %r9, %r9, %r9
- xor %r10, %r10, %r10
- xor %r11, %r11, %r11
- xor %r12, %r12, %r12
- xor %r13, %r13, %r13
- xor %r14, %r14, %r14
- xor %r15, %r15, %r15
- xor %r16, %r16, %r16
- xor %r17, %r17, %r17
- xor %r18, %r18, %r18
- xor %r19, %r19, %r19
- xor %r20, %r20, %r20
- xor %r21, %r21, %r21
- xor %r22, %r22, %r22
- xor %r23, %r23, %r23
- xor %r24, %r24, %r24
- xor %r25, %r25, %r25
- xor %r26, %r26, %r26
- xor %r27, %r27, %r27
- xor %r28, %r28, %r28
- xor %r29, %r29, %r29
- xor %r30, %r30, %r30
- xor %r31, %r31, %r31
- lis %r4, __ram_start__@h
- ori %r4, %r4, __ram_start__@l
- lis %r5, __ram_end__@h
- ori %r5, %r5, __ram_end__@l
-.cleareccloop:
- cmpl %cr0, %r4, %r5
- bge %cr0, .cleareccend
- stmw %r16, 0(%r4)
- addi %r4, %r4, 64
- b .cleareccloop
-.cleareccend:
-#endif /* BOOT_PERFORM_CORE_INIT */
-
- /*
- * Special function registers clearing, required in order to avoid
- * possible problems with lockstep mode.
- */
- mtcrf 0xFF, %r31
- mtspr 9, %r31 /* CTR */
- mtspr 22, %r31 /* DEC */
- mtspr 26, %r31 /* SRR0-1 */
- mtspr 27, %r31
- mtspr 54, %r31 /* DECAR */
- mtspr 58, %r31 /* CSRR0-1 */
- mtspr 59, %r31
- mtspr 61, %r31 /* DEAR */
- mtspr 256, %r31 /* USPRG0 */
- mtspr 272, %r31 /* SPRG1-7 */
- mtspr 273, %r31
- mtspr 274, %r31
- mtspr 275, %r31
- mtspr 276, %r31
- mtspr 277, %r31
- mtspr 278, %r31
- mtspr 279, %r31
- mtspr 285, %r31 /* TBU */
- mtspr 284, %r31 /* TBL */
-#if 0
- mtspr 318, %r31 /* DVC1-2 */
- mtspr 319, %r31
-#endif
- mtspr 562, %r31 /* DBCNT */
- mtspr 570, %r31 /* MCSRR0 */
- mtspr 571, %r31 /* MCSRR1 */
- mtspr 604, %r31 /* SPRG8-9 */
- mtspr 605, %r31
-
-#if BOOT_PERFORM_CORE_INIT
- /*
- * *Finally* the TLB0 is re-allocated to flash, note, the final phase
- * is executed from RAM.
- */
- lis %r3, TLB0_MAS0@h
- mtspr 624, %r3 /* MAS0 */
- lis %r3, TLB0_MAS1@h
- ori %r3, %r3, TLB0_MAS1@l
- mtspr 625, %r3 /* MAS1 */
- lis %r3, TLB0_MAS2@h
- ori %r3, %r3, TLB0_MAS2@l
- mtspr 626, %r3 /* MAS2 */
- lis %r3, TLB0_MAS3@h
- ori %r3, %r3, TLB0_MAS3@l
- mtspr 627, %r3 /* MAS3 */
- mflr %r4
- lis %r6, _ramcode@h
- ori %r6, %r6, _ramcode@l
- lis %r7, 0x40010000@h
- mtctr %r7
- lwz %r3, 0(%r6)
- stw %r3, 0(%r7)
- lwz %r3, 4(%r6)
- stw %r3, 4(%r7)
- lwz %r3, 8(%r6)
- stw %r3, 8(%r7)
- bctrl
- mtlr %r4
-#endif /* BOOT_PERFORM_CORE_INIT */
-
- /*
- * Branch prediction enabled.
- */
- li %r3, BOOT_BUCSR_DEFAULT
- mtspr 1013, %r3 /* BUCSR */
-
- /*
- * Cache invalidated and then enabled.
- */
- li %r3, LICSR1_ICINV
- mtspr 1011, %r3 /* LICSR1 */
-.inv: mfspr %r3, 1011 /* LICSR1 */
- andi. %r3, %r3, LICSR1_ICINV
- bne .inv
- lis %r3, BOOT_LICSR1_DEFAULT@h
- ori %r3, %r3, BOOT_LICSR1_DEFAULT@l
- mtspr 1011, %r3 /* LICSR1 */
-
- blr
-
- /*
- * Exception vectors initialization.
- */
- .align 2
-_ivinit:
- /* MSR initialization.*/
- lis %r3, BOOT_MSR_DEFAULT@h
- ori %r3, %r3, BOOT_MSR_DEFAULT@l
- mtMSR %r3
-
- /* IVPR initialization.*/
- lis %r3, __ivpr_base__@h
- ori %r3, %r3, __ivpr_base__@l
- mtIVPR %r3
-
- /* IVORs initialization.*/
- lis %r3, _unhandled_exception@h
- ori %r3, %r3, _unhandled_exception@l
-
- mtspr 400, %r3 /* IVOR0-15 */
- mtspr 401, %r3
- mtspr 402, %r3
- mtspr 403, %r3
- mtspr 404, %r3
- mtspr 405, %r3
- mtspr 406, %r3
- mtspr 407, %r3
- mtspr 408, %r3
- mtspr 409, %r3
- mtspr 410, %r3
- mtspr 411, %r3
- mtspr 412, %r3
- mtspr 413, %r3
- mtspr 414, %r3
- mtspr 415, %r3
- mtspr 528, %r3 /* IVOR32-34 */
- mtspr 529, %r3
- mtspr 530, %r3
-
- blr
-
- .section .handlers, "ax"
-
- /*
- * Unhandled exceptions handler.
- */
- .weak _unhandled_exception
- .type _unhandled_exception, @function
-_unhandled_exception:
- b _unhandled_exception
-
-#endif /* !defined(__DOXYGEN__) */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC56ELxx/intc.h b/os/common/ports/e200/devices/SPC56ELxx/intc.h
deleted file mode 100644
index bb4c98f57..000000000
--- a/os/common/ports/e200/devices/SPC56ELxx/intc.h
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC56ELxx/intc.h
- * @brief SPC56ELxx INTC module header.
- *
- * @addtogroup INTC
- * @{
- */
-
-#ifndef _INTC_H_
-#define _INTC_H_
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/**
- * @name INTC addresses
- * @{
- */
-#define INTC_BASE 0xFFF48000
-#define INTC_IACKR_ADDR (INTC_BASE + 0x10)
-#define INTC_EOIR_ADDR (INTC_BASE + 0x18)
-/** @} */
-
-/**
- * @brief INTC priority levels.
- */
-#define INTC_PRIORITY_LEVELS 16U
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module macros. */
-/*===========================================================================*/
-
-/**
- * @name INTC-related macros
- * @{
- */
-#define INTC_BCR (*((volatile uint32_t *)(INTC_BASE + 0)))
-#define INTC_CPR(n) (*((volatile uint32_t *)(INTC_BASE + 8 + ((n) * sizeof (uint32_t)))))
-#define INTC_IACKR(n) (*((volatile uint32_t *)(INTC_BASE + 0x10 + ((n) * sizeof (uint32_t)))))
-#define INTC_EOIR(n) (*((volatile uint32_t *)(INTC_BASE + 0x18 + ((n) * sizeof (uint32_t)))))
-#define INTC_PSR(n) (*((volatile uint8_t *)(INTC_BASE + 0x40 + ((n) * sizeof (uint8_t)))))
-/** @} */
-
-/**
- * @brief Core selection macros for PSR register.
- */
-#define INTC_PSR_CORE0 0x00
-
-/**
- * @brief PSR register content helper
- */
-#define INTC_PSR_ENABLE(cores, prio) ((uint32_t)(cores) | (uint32_t)(prio))
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module inline functions. */
-/*===========================================================================*/
-
-#endif /* _INTC_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC56ELxx/ppcparams.h b/os/common/ports/e200/devices/SPC56ELxx/ppcparams.h
deleted file mode 100644
index c7bceb487..000000000
--- a/os/common/ports/e200/devices/SPC56ELxx/ppcparams.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC56ELxx/ppcparams.h
- * @brief PowerPC parameters for the SPC56ELxx.
- *
- * @defgroup PPC_SPC56ELxx SPC56ELxx Specific Parameters
- * @ingroup PPC_SPECIFIC
- * @details This file contains the PowerPC specific parameters for the
- * SPC56ELxx platform.
- * @{
- */
-
-#ifndef _PPCPARAMS_H_
-#define _PPCPARAMS_H_
-
-/**
- * @brief Family identification macro.
- */
-#define PPC_SPC56ELxx
-
-/**
- * @brief PPC core model.
- */
-#define PPC_VARIANT PPC_VARIANT_e200z4
-
-/**
- * @brief Number of cores.
- */
-#define PPC_CORE_NUMBER 1
-
-/**
- * @brief Number of writable bits in IVPR register.
- */
-#define PPC_IVPR_BITS 16
-
-/**
- * @brief IVORx registers support.
- */
-#define PPC_SUPPORTS_IVORS TRUE
-
-/**
- * @brief Book E instruction set support.
- */
-#define PPC_SUPPORTS_BOOKE TRUE
-
-/**
- * @brief VLE instruction set support.
- */
-#define PPC_SUPPORTS_VLE TRUE
-
-/**
- * @brief Supports VLS Load/Store Multiple Volatile instructions.
- */
-#define PPC_SUPPORTS_VLE_MULTI TRUE
-
-/**
- * @brief Supports the decrementer timer.
- */
-#define PPC_SUPPORTS_DECREMENTER TRUE
-
-/**
- * @brief Number of interrupt sources.
- */
-#define PPC_NUM_VECTORS 256
-
-#endif /* _PPCPARAMS_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC57EMxx_HSM/boot.h b/os/common/ports/e200/devices/SPC57EMxx_HSM/boot.h
deleted file mode 100644
index e00933bbf..000000000
--- a/os/common/ports/e200/devices/SPC57EMxx_HSM/boot.h
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file boot.h
- * @brief Boot parameters for the SPC57EMxx_HSM.
- * @{
- */
-
-#ifndef _BOOT_H_
-#define _BOOT_H_
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/**
- * @name BUCSR registers definitions
- * @{
- */
-#define BUCSR_BPEN 0x00000001
-#define BUCSR_BALLOC_BFI 0x00000200
-/** @} */
-
-/**
- * @name MSR register definitions
- * @{
- */
-#define MSR_WE 0x00040000
-#define MSR_CE 0x00020000
-#define MSR_EE 0x00008000
-#define MSR_PR 0x00004000
-#define MSR_ME 0x00001000
-#define MSR_DE 0x00000200
-#define MSR_IS 0x00000020
-#define MSR_DS 0x00000010
-#define MSR_RI 0x00000002
-/** @} */
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*
- * BUCSR default settings.
- */
-#if !defined(BOOT_BUCSR_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_BUCSR_DEFAULT (BUCSR_BPEN | BUCSR_BALLOC_BFI)
-#endif
-
-/*
- * MSR default settings.
- */
-#if !defined(BOOT_MSR_DEFAULT) || defined(__DOXYGEN__)
-#define BOOT_MSR_DEFAULT (MSR_WE | MSR_CE | MSR_ME)
-#endif
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module macros. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module inline functions. */
-/*===========================================================================*/
-
-#endif /* _BOOT_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC57EMxx_HSM/boot.s b/os/common/ports/e200/devices/SPC57EMxx_HSM/boot.s
deleted file mode 100644
index 3aa286d58..000000000
--- a/os/common/ports/e200/devices/SPC57EMxx_HSM/boot.s
+++ /dev/null
@@ -1,211 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC57EMxx_HSM/boot.s
- * @brief SPC57EMxx_HSM boot-related code.
- *
- * @addtogroup PPC_BOOT
- * @{
- */
-
-#include "boot.h"
-
-#define HSBI_CCR 0xA3F14004
-#define HSBI_CCR_CE 0x00000001
-#define HSBI_CCR_INV 0x00000002
-
-#if !defined(__DOXYGEN__)
-
- /* Boot record.*/
- .section .boot, "ax"
-
- .long 0xFFFF0000
- .long 0xFFFF0000
- .long 0xFFFFFFFF
- .long _reset_address
- .long 0xFFFFFFFF
- .long 0xFFFFFFFF
- .long 0xFFFFFFFF
- .long 0xFFFFFFFF
-
- .align 2
- .globl _reset_address
- .type _reset_address, @function
-_reset_address:
- bl _coreinit
- bl _ivinit
- b _boot_address
-
- .align 2
-_coreinit:
-#if 0
- /*
- * Cache invalidate and enable.
- */
- lis %r7, HSBI_CCR@h
- ori %r7, %r7, HSBI_CCR@l
- li %r0, HSBI_CCR_INV | HSBI_CCR_CE
- stw %r0, 0(%r7)
-.inv:
- lwz %r0, 0(%r7)
- andi. %r0, %r0, HSBI_CCR_INV
- bne+ %cr0, .inv
-#endif
-
- /*
- * RAM clearing, this device requires a write to all RAM location in
- * order to initialize the ECC detection hardware, this is going to
- * slow down the startup but there is no way around.
- */
- xor %r0, %r0, %r0
- xor %r1, %r1, %r1
- xor %r2, %r2, %r2
- xor %r3, %r3, %r3
- xor %r4, %r4, %r4
- xor %r5, %r5, %r5
- xor %r6, %r6, %r6
- xor %r7, %r7, %r7
- xor %r8, %r8, %r8
- xor %r9, %r9, %r9
- xor %r10, %r10, %r10
- xor %r11, %r11, %r11
- xor %r12, %r12, %r12
- xor %r13, %r13, %r13
- xor %r14, %r14, %r14
- xor %r15, %r15, %r15
- xor %r16, %r16, %r16
- xor %r17, %r17, %r17
- xor %r18, %r18, %r18
- xor %r19, %r19, %r19
- xor %r20, %r20, %r20
- xor %r21, %r21, %r21
- xor %r22, %r22, %r22
- xor %r23, %r23, %r23
- xor %r24, %r24, %r24
- xor %r25, %r25, %r25
- xor %r26, %r26, %r26
- xor %r27, %r27, %r27
- xor %r28, %r28, %r28
- xor %r29, %r29, %r29
- xor %r30, %r30, %r30
- xor %r31, %r31, %r31
- lis %r4, __ram_start__@h
- ori %r4, %r4, __ram_start__@l
- lis %r5, __ram_end__@h
- ori %r5, %r5, __ram_end__@l
-.cleareccloop:
- cmpl %cr0, %r4, %r5
- bge %cr0, .cleareccend
- stmw %r16, 0(%r4)
- addi %r4, %r4, 64
- b .cleareccloop
-.cleareccend:
-
- /*
- * Branch prediction enabled.
- */
- li %r3, BUCSR_DEFAULT
- mtspr 1013, %r3 /* BUCSR */
-
- blr
-
- /*
- * Exception vectors initialization.
- */
- .align 2
-_ivinit:
- /* MSR initialization.*/
- lis %r3, MSR_DEFAULT@h
- ori %r3, %r3, MSR_DEFAULT@l
- mtMSR %r3
-
- /* IVPR initialization.*/
- lis %r3, __ivpr_base__@h
- ori %r3, %r3, __ivpr_base__@l
- mtIVPR %r3
-
- blr
-
- .section .ivors, "ax"
-
- .globl IVORS
-IVORS:
-IVOR0: b _IVOR0
- .align 4
-IVOR1: b _IVOR1
- .align 4
-IVOR2: b _IVOR2
- .align 4
-IVOR3: b _IVOR3
- .align 4
-IVOR4: b _IVOR4
- .align 4
-IVOR5: b _IVOR5
- .align 4
-IVOR6: b _IVOR6
- .align 4
-IVOR7: b _IVOR7
- .align 4
-IVOR8: b _IVOR8
- .align 4
-IVOR9: b _IVOR9
- .align 4
-IVOR10: b _IVOR10
- .align 4
-IVOR11: b _IVOR11
- .align 4
-IVOR12: b _IVOR12
- .align 4
-IVOR13: b _IVOR13
- .align 4
-IVOR14: b _IVOR14
- .align 4
-IVOR15: b _IVOR15
-
- .section .handlers, "ax"
-
- /*
- * Default IVOR handlers.
- */
- .align 2
- .weak _IVOR0, _IVOR1, _IVOR2, _IVOR3, _IVOR4, _IVOR5
- .weak _IVOR6, _IVOR7, _IVOR8, _IVOR9, _IVOR10, _IVOR11
- .weak _IVOR12, _IVOR13, _IVOR14, _IVOR15
-_IVOR0:
-_IVOR1:
-_IVOR2:
-_IVOR3:
-_IVOR5:
-_IVOR6:
-_IVOR7:
-_IVOR8:
-_IVOR9:
-_IVOR11:
-_IVOR12:
-_IVOR13:
-_IVOR14:
-_IVOR15:
- .global _unhandled_exception
-_unhandled_exception:
- b _unhandled_exception
-
-#endif /* !defined(__DOXYGEN__) */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC57EMxx_HSM/intc.h b/os/common/ports/e200/devices/SPC57EMxx_HSM/intc.h
deleted file mode 100644
index ef660f195..000000000
--- a/os/common/ports/e200/devices/SPC57EMxx_HSM/intc.h
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC57EMxx_HSM/intc.h
- * @brief SPC57EMxx_HSM INTC module header.
- *
- * @addtogroup INTC
- * @{
- */
-
-#ifndef _INTC_H_
-#define _INTC_H_
-
-/*===========================================================================*/
-/* Module constants. */
-/*===========================================================================*/
-
-/**
- * @name INTC addresses
- * @{
- */
-#define INTC_BASE 0xA3F48000
-#define INTC_IACKR_ADDR (INTC_BASE + 0x20)
-#define INTC_EOIR_ADDR (INTC_BASE + 0x30)
-/** @} */
-
-/**
- * @brief INTC priority levels.
- */
-#define INTC_PRIORITY_LEVELS 16U
-
-/*===========================================================================*/
-/* Module pre-compile time settings. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Derived constants and error checks. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module data structures and types. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module macros. */
-/*===========================================================================*/
-
-/**
- * @name INTC-related macros
- * @{
- */
-#define INTC_BCR (*((volatile uint32_t *)(INTC_BASE + 0)))
-#define INTC_MPROT (*((volatile uint32_t *)(INTC_BASE + 4)))
-#define INTC_CPR(n) (*((volatile uint32_t *)(INTC_BASE + 0x10 + ((n) * sizeof (uint32_t)))))
-#define INTC_IACKR(n) (*((volatile uint32_t *)(INTC_BASE + 0x20 + ((n) * sizeof (uint32_t)))))
-#define INTC_EOIR(n) (*((volatile uint32_t *)(INTC_BASE + 0x30 + ((n) * sizeof (uint32_t)))))
-#define INTC_PSR(n) (*((volatile uint16_t *)(INTC_BASE + 0x60 + ((n) * sizeof (uint16_t)))))
-/** @} */
-
-/**
- * @brief Core selection macros for PSR register.
- */
-#define INTC_PSR_CORE4 0x8000
-
-/**
- * @brief PSR register content helper
- */
-#define INTC_PSR_ENABLE(cores, prio) ((uint32_t)(cores) | (uint32_t)(prio))
-
-/*===========================================================================*/
-/* External declarations. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module inline functions. */
-/*===========================================================================*/
-
-#endif /* _INTC_H_ */
-
-/** @} */
diff --git a/os/common/ports/e200/devices/SPC57EMxx_HSM/ppcparams.h b/os/common/ports/e200/devices/SPC57EMxx_HSM/ppcparams.h
deleted file mode 100644
index 96ee29e27..000000000
--- a/os/common/ports/e200/devices/SPC57EMxx_HSM/ppcparams.h
+++ /dev/null
@@ -1,91 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file SPC57EMxx_HSM/ppcparams.h
- * @brief PowerPC parameters for the SPC57EMxx_HSM.
- *
- * @defgroup PPC_SPC57EMxx_HSM SPC57EMxx_HSM Specific Parameters
- * @ingroup PPC_SPECIFIC
- * @details This file contains the PowerPC specific parameters for the
- * SPC57EMxx_HSM platform.
- * @{
- */
-
-#ifndef _PPCPARAMS_H_
-#define _PPCPARAMS_H_
-
-/**
- * @brief Family identification macro.
- */
-#define PPC_SPC560Dxx
-
-/**
- * @brief Alternate identification macro.
- */
-#define PPC_SPC57EMxx_HSM
-
-/**
- * @brief PPC core model.
- */
-#define PPC_VARIANT PPC_VARIANT_e200z0
-
-/**
- * @brief Number of cores.
- */
-#define PPC_CORE_NUMBER 1
-
-/**
- * @brief Number of writable bits in IVPR register.
- */
-#define PPC_IVPR_BITS 20
-
-/**
- * @brief IVORx registers support.
- */
-#define PPC_SUPPORTS_IVORS FALSE
-
-/**
- * @brief Book E instruction set support.
- */
-#define PPC_SUPPORTS_BOOKE FALSE
-
-/**
- * @brief VLE instruction set support.
- */
-#define PPC_SUPPORTS_VLE TRUE
-
-/**
- * @brief Supports VLS Load/Store Multiple Volatile instructions.
- */
-#define PPC_SUPPORTS_VLE_MULTI TRUE
-
-/**
- * @brief Supports the decrementer timer.
- */
-#define PPC_SUPPORTS_DECREMENTER FALSE
-
-/**
- * @brief Number of interrupt sources.
- */
-#define PPC_NUM_VECTORS 64
-
-#endif /* _PPCPARAMS_H_ */
-
-/** @} */