4.104.114.84.95
Rev | Line | |
---|
[7908ba5b] | 1 | /* no_cpu.h |
---|
| 2 | * |
---|
| 3 | * This file is an example (i.e. "no CPU") of the file which is |
---|
| 4 | * created for each CPU family port of RTEMS. |
---|
| 5 | * |
---|
| 6 | * |
---|
[08311cc3] | 7 | * COPYRIGHT (c) 1989-1999. |
---|
[7908ba5b] | 8 | * On-Line Applications Research Corporation (OAR). |
---|
| 9 | * |
---|
| 10 | * The license and distribution terms for this file may be |
---|
| 11 | * found in the file LICENSE in this distribution or at |
---|
| 12 | * http://www.OARcorp.com/rtems/license.html. |
---|
| 13 | * |
---|
| 14 | * $Id$ |
---|
| 15 | * |
---|
| 16 | */ |
---|
| 17 | |
---|
| 18 | #ifndef _INCLUDE_NO_CPU_h |
---|
| 19 | #define _INCLUDE_NO_CPU_h |
---|
| 20 | |
---|
| 21 | #ifdef __cplusplus |
---|
| 22 | extern "C" { |
---|
| 23 | #endif |
---|
| 24 | |
---|
| 25 | /* |
---|
| 26 | * This file contains the information required to build |
---|
| 27 | * RTEMS for a particular member of the "no cpu" |
---|
| 28 | * family when executing in protected mode. It does |
---|
| 29 | * this by setting variables to indicate which implementation |
---|
| 30 | * dependent features are present in a particular member |
---|
| 31 | * of the family. |
---|
| 32 | */ |
---|
| 33 | |
---|
| 34 | #if defined(no_cpu) |
---|
| 35 | |
---|
| 36 | #define CPU_MODEL_NAME "no_cpu" |
---|
| 37 | #define NOCPU_HAS_FPU 1 |
---|
| 38 | |
---|
| 39 | #else |
---|
| 40 | |
---|
| 41 | #error "Unsupported CPU Model" |
---|
| 42 | |
---|
| 43 | #endif |
---|
| 44 | |
---|
| 45 | /* |
---|
| 46 | * Define the name of the CPU family. |
---|
| 47 | */ |
---|
| 48 | |
---|
| 49 | #define CPU_NAME "NO CPU" |
---|
| 50 | |
---|
| 51 | #ifdef __cplusplus |
---|
| 52 | } |
---|
| 53 | #endif |
---|
| 54 | |
---|
| 55 | #endif /* ! _INCLUDE_NO_CPU_h */ |
---|
| 56 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.