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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  unix.h
2
 *
3
 *  This include file contains the definitions required by RTEMS
4
 *  which are typical for a modern UNIX computer using GCC.
5
 *
6
 *  COPYRIGHT (c) 1989-1999.
7
 *  On-Line Applications Research Corporation (OAR).
8
 *
9
 *  The license and distribution terms for this file may be
10
 *  found in the file LICENSE in this distribution or at
11
 *  http://www.OARcorp.com/rtems/license.html.
12
 *
13
 *  $Id: unix.h,v 1.2 2001-09-27 11:59:31 chris Exp $
14
 */
15
 
16
#ifndef __UNIX_h
17
#define __UNIX_h
18
 
19
#ifdef __cplusplus
20
extern "C" {
21
#endif
22
 
23
/*
24
 *  This file contains the information required to build
25
 *  RTEMS for a particular member of the "unix"
26
 *  family when executing in protected mode.  It does
27
 *  this by setting variables to indicate which implementation
28
 *  dependent features are present in a particular member
29
 *  of the family.
30
 */
31
 
32
#if defined(rtems_multilib)
33
/*
34
 *  Figure out all CPU Model Feature Flags based upon compiler
35
 *  predefines.
36
 */
37
 
38
#define CPU_MODEL_NAME  "rtems_multilib"
39
 
40
#elif defined(hpux)
41
 
42
#define CPU_MODEL_NAME  "HP-UX"
43
 
44
#elif defined(solaris2)
45
 
46
#define CPU_MODEL_NAME  "Solaris"
47
 
48
#elif defined(__linux__) || defined(linux)
49
 
50
#define CPU_MODEL_NAME  "Linux"
51
 
52
#elif defined(__CYGWIN__)
53
 
54
#define CPU_MODEL_NAME  "Cygwin"
55
 
56
#elif defined(__FreeBSD__)
57
 
58
#define CPU_MODEL_NAME  "FreeBSD"
59
 
60
#else
61
 
62
#error "Unsupported CPU Model"
63
 
64
#endif
65
 
66
#ifdef __cplusplus
67
}
68
#endif
69
 
70
#endif
71
/* end of include file */
72
 

powered by: WebSVN 2.1.0

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