ppcparams.h 1.9 KB

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