diff options
Diffstat (limited to 'lib/chibios/os/common/startup/e200/devices/SPC560Dxx/ppcparams.h')
-rw-r--r-- | lib/chibios/os/common/startup/e200/devices/SPC560Dxx/ppcparams.h | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/lib/chibios/os/common/startup/e200/devices/SPC560Dxx/ppcparams.h b/lib/chibios/os/common/startup/e200/devices/SPC560Dxx/ppcparams.h new file mode 100644 index 000000000..1bb5ac4b7 --- /dev/null +++ b/lib/chibios/os/common/startup/e200/devices/SPC560Dxx/ppcparams.h | |||
@@ -0,0 +1,83 @@ | |||
1 | /* | ||
2 | ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio | ||
3 | |||
4 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
5 | you may not use this file except in compliance with the License. | ||
6 | You may obtain a copy of the License at | ||
7 | |||
8 | http://www.apache.org/licenses/LICENSE-2.0 | ||
9 | |||
10 | Unless required by applicable law or agreed to in writing, software | ||
11 | distributed under the License is distributed on an "AS IS" BASIS, | ||
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
13 | See the License for the specific language governing permissions and | ||
14 | limitations under the License. | ||
15 | */ | ||
16 | |||
17 | /** | ||
18 | * @file SPC560Dxx/ppcparams.h | ||
19 | * @brief PowerPC parameters for the SPC560Dxx. | ||
20 | * | ||
21 | * @defgroup PPC_SPC560Dxx SPC560Dxx Specific Parameters | ||
22 | * @ingroup PPC_SPECIFIC | ||
23 | * @details This file contains the PowerPC specific parameters for the | ||
24 | * SPC560Dxx platform. | ||
25 | * @{ | ||
26 | */ | ||
27 | |||
28 | #ifndef PPCPARAMS_H | ||
29 | #define PPCPARAMS_H | ||
30 | |||
31 | /** | ||
32 | * @brief Family identification macro. | ||
33 | */ | ||
34 | #define PPC_SPC560Dxx | ||
35 | |||
36 | /** | ||
37 | * @brief PPC core model. | ||
38 | */ | ||
39 | #define PPC_VARIANT PPC_VARIANT_e200z0 | ||
40 | |||
41 | /** | ||
42 | * @brief Number of cores. | ||
43 | */ | ||
44 | #define PPC_CORE_NUMBER 1 | ||
45 | |||
46 | /** | ||
47 | * @brief Number of writable bits in IVPR register. | ||
48 | */ | ||
49 | #define PPC_IVPR_BITS 20 | ||
50 | |||
51 | /** | ||
52 | * @brief IVORx registers support. | ||
53 | */ | ||
54 | #define PPC_SUPPORTS_IVORS FALSE | ||
55 | |||
56 | /** | ||
57 | * @brief Book E instruction set support. | ||
58 | */ | ||
59 | #define PPC_SUPPORTS_BOOKE FALSE | ||
60 | |||
61 | /** | ||
62 | * @brief VLE instruction set support. | ||
63 | */ | ||
64 | #define PPC_SUPPORTS_VLE TRUE | ||
65 | |||
66 | /** | ||
67 | * @brief Supports VLS Load/Store Multiple Volatile instructions. | ||
68 | */ | ||
69 | #define PPC_SUPPORTS_VLE_MULTI TRUE | ||
70 | |||
71 | /** | ||
72 | * @brief Supports the decrementer timer. | ||
73 | */ | ||
74 | #define PPC_SUPPORTS_DECREMENTER FALSE | ||
75 | |||
76 | /** | ||
77 | * @brief Number of interrupt sources. | ||
78 | */ | ||
79 | #define PPC_NUM_VECTORS 155 | ||
80 | |||
81 | #endif /* PPCPARAMS_H */ | ||
82 | |||
83 | /** @} */ | ||