From df49c60c9671e4a28e636964d744c1f59fb6cb68 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 12 Jun 2000 15:00:15 +0000 Subject: Merged from 4.5.0-beta3a --- cpukit/score/cpu/no_cpu/rtems/score/no_cpu.h | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) (limited to 'cpukit/score/cpu/no_cpu/rtems/score/no_cpu.h') diff --git a/cpukit/score/cpu/no_cpu/rtems/score/no_cpu.h b/cpukit/score/cpu/no_cpu/rtems/score/no_cpu.h index 3f374d5500..6708a7abbd 100644 --- a/cpukit/score/cpu/no_cpu/rtems/score/no_cpu.h +++ b/cpukit/score/cpu/no_cpu/rtems/score/no_cpu.h @@ -1,6 +1,6 @@ /* no_cpu.h * - * This file is an example (i.e. "no CPU") of the file which is + * This file is an example (i.e. no CPU) of the file which is * created for each CPU family port of RTEMS. * * @@ -24,16 +24,28 @@ extern "C" { /* * This file contains the information required to build - * RTEMS for a particular member of the "no cpu" - * family when executing in protected mode. It does - * this by setting variables to indicate which implementation - * dependent features are present in a particular member - * of the family. + * RTEMS for a particular member of the no CPU family. + * It does this by setting variables to indicate which + * implementation dependent features are present in a particular + * member of the family. + * + * This is a good place to list all the known CPU models + * that this port supports and which RTEMS CPU model they correspond + * to. */ -#if defined(no_cpu) +#if defined(rtems_multilib) +/* + * Figure out all CPU Model Feature Flags based upon compiler + * predefines. + */ + +#define CPU_MODEL_NAME "rtems_multilib" +#define NOCPU_HAS_FPU 1 + +#elif defined(no_cpu) -#define CPU_MODEL_NAME "no_cpu" +#define CPU_MODEL_NAME "no_cpu_model" #define NOCPU_HAS_FPU 1 #else -- cgit v1.2.3