From ee268d12c253ed336543b235b3af3ba9e9ff7b80 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 22 May 2011 11:51:17 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2997 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/ports/GCC/PPC/chcore.h | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) (limited to 'os/ports/GCC/PPC/chcore.h') diff --git a/os/ports/GCC/PPC/chcore.h b/os/ports/GCC/PPC/chcore.h index 30e5f717c..6504532ac 100644 --- a/os/ports/GCC/PPC/chcore.h +++ b/os/ports/GCC/PPC/chcore.h @@ -37,12 +37,12 @@ * @brief Enables the use of the @p WFI instruction. */ #ifndef ENABLE_WFI_IDLE -#define ENABLE_WFI_IDLE 0 +#define ENABLE_WFI_IDLE 0 #endif /* Core variants identifiers.*/ -#define PPC_VARIANT_e200z3 3 /**< e200z3 core identifier. */ -#define PPC_VARIANT_e200z4 4 /**< e200z4 core identifier. */ +#define PPC_VARIANT_e200z3 3 /**< e200z3 core identifier. */ +#define PPC_VARIANT_e200z4 4 /**< e200z4 core identifier. */ /** * @brief Core variant selector. @@ -50,7 +50,7 @@ * possibly code paths and structures into the port layer. */ #if !defined(PPC_VARIANT) || defined(__DOXYGEN__) -#define PPC_VARIANT PPC_VARIANT_e200z3 +#define PPC_VARIANT PPC_VARIANT_e200z3 #endif /** @@ -61,19 +61,29 @@ /** * @brief Name of the implemented architecture. */ -#define CH_ARCHITECTURE_NAME "PowerPC" +#define CH_ARCHITECTURE_NAME "Power Architecture" /** * @brief Name of the architecture variant. */ #if (PPC_VARIANT == PPC_VARIANT_e200z3) || defined(__DOXYGEN__) -#define CH_CORE_VARIANT_NAME "e200z3" +#define CH_CORE_VARIANT_NAME "e200z3" #elif PPC_VARIANT == PPC_VARIANT_e200z4 -#define CH_CORE_VARIANT_NAME "e200z4" +#define CH_CORE_VARIANT_NAME "e200z4" #else #error "unknown or unsupported PowerPC variant specified" #endif +/** + * @brief Name of the compiler supported by this port. + */ +#define CH_COMPILER_NAME "GCC "__VERSION__ + +/** + * @brief Port-specific information string. + */ +#define CH_PORT_INFO "None" + /** * @brief Base type for stack and memory alignment. */ -- cgit v1.2.3