00001 /* no_cpu.h 00002 * 00003 * This file sets up basic CPU dependency settings based on 00004 * compiler settings. For example, it can determine if 00005 * floating point is available. This particular implementation 00006 * is specified to the NO CPU port. 00007 * 00008 * 00009 * COPYRIGHT (c) 1989-1999. 00010 * On-Line Applications Research Corporation (OAR). 00011 * 00012 * The license and distribution terms for this file may be 00013 * found in the file LICENSE in this distribution or at 00014 * http://www.rtems.com/license/LICENSE. 00015 * 00016 * $Id: no_cpu.h,v 1.8 2005/02/04 05:40:52 ralf Exp $ 00017 * 00018 */ 00019 00020 #ifndef _RTEMS_SCORE_NO_CPU_H 00021 #define _RTEMS_SCORE_NO_CPU_H 00022 00023 #ifdef __cplusplus 00024 extern "C" { 00025 #endif 00026 00027 /* 00028 * This file contains the information required to build 00029 * RTEMS for a particular member of the NO CPU family. 00030 * It does this by setting variables to indicate which 00031 * implementation dependent features are present in a particular 00032 * member of the family. 00033 * 00034 * This is a good place to list all the known CPU models 00035 * that this port supports and which RTEMS CPU model they correspond 00036 * to. 00037 */ 00038 00039 #if defined(rtems_multilib) 00040 /* 00041 * Figure out all CPU Model Feature Flags based upon compiler 00042 * predefines. 00043 */ 00044 00045 #define CPU_MODEL_NAME "rtems_multilib" 00046 #define NOCPU_HAS_FPU 1 00047 00048 #elif defined(no_cpu) 00049 00050 #define CPU_MODEL_NAME "no_cpu_model" 00051 #define NOCPU_HAS_FPU 1 00052 00053 #else 00054 00055 #error "Unsupported CPU Model" 00056 00057 #endif 00058 00059 /* 00060 * Define the name of the CPU family. 00061 */ 00062 00063 #define CPU_NAME "NO CPU" 00064 00065 #ifdef __cplusplus 00066 } 00067 #endif 00068 00069 #endif /* _RTEMS_SCORE_NO_CPU_H */
1.5.6