OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [score/] [cpu/] [a29k/] [rtems/] [score/] [a29k.h] - Blame information for rev 173

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  a29k.h
2
 *
3
 *  COPYRIGHT (c) 1989-1999.
4
 *  On-Line Applications Research Corporation (OAR).
5
 *
6
 *  The license and distribution terms for this file may be
7
 *  found in the file LICENSE in this distribution or at
8
 *  http://www.OARcorp.com/rtems/license.html.
9
 *
10
 *  $Id: a29k.h,v 1.2 2001-09-27 11:59:24 chris Exp $
11
 *
12
 */
13
/* @(#)a29k.h       10/21/96     1.3 */
14
 
15
#ifndef _INCLUDE_A29K_h
16
#define _INCLUDE_A29K_h
17
 
18
#ifdef __cplusplus
19
extern "C" {
20
#endif
21
 
22
/*
23
 *  This file contains the information required to build
24
 *  RTEMS for a particular member of the "no cpu"
25
 *  family when executing in protected mode.  It does
26
 *  this by setting variables to indicate which implementation
27
 *  dependent features are present in a particular member
28
 *  of the family.
29
 */
30
 
31
#if defined(rtems_multilib)
32
/*
33
 *  Figure out all CPU Model Feature Flags based upon compiler
34
 *  predefines.
35
 */
36
 
37
#define CPU_MODEL_NAME  "rtems_multilib"
38
#define A29K_HAS_FPU 0
39
 
40
#elif defined(a29205)
41
 
42
#define CPU_MODEL_NAME  "a29205"
43
#define A29K_HAS_FPU     0
44
 
45
#else
46
 
47
#error "Unsupported CPU Model"
48
 
49
#endif
50
 
51
/*
52
 *  Define the name of the CPU family.
53
 */
54
 
55
#define CPU_NAME "AMD 29K"
56
 
57
/*
58
 * Some bits in the CPS:
59
 */
60
#define TD      0x20000
61
#define DI      0x00002
62
 
63
#ifdef __cplusplus
64
}
65
#endif
66
 
67
#endif /* ! _INCLUDE_A29K_h */
68
/* end of include file */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.