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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [bootloaders/] [orpmon/] [include/] [typedefs.h] - Blame information for rev 784

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 389 tac2
/*****************************************************************************
2
  File name:    typedefs.h
3
 
4
  Description:  This header file contains type definitions.
5
 
6
  Copyright (C) 2004, HUE-Mobile Enterprises, All Rights Reserved
7
 
8
  The information contained herein is confidential property of HUE-Mobile
9
  Enterprises.  The use, copying, transfer or disclosure of such
10
  information is prohibited except by express written agreement with
11
  HUE-Mobile Enterprises.
12
******************************************************************************
13
            Change Log
14
     Date       By Whom                     Change
15
--------------+-------------------+-------------------------------------------
16
  Jun-17-2004  Alex Jiang          Created.
17
 
18
******************************************************************************/
19
#ifndef TYPEDEFS_H
20
#define TYPEDEFS_H
21
 
22
#ifndef NULL
23
#define NULL ((void *)0)
24
#endif
25
 
26
#define TRUE    1
27
#define FALSE   0
28
 
29
typedef unsigned char   boolean;
30
 
31
#define to_boolean(b)   (((b) != 0) ? TRUE : FALSE)
32
 
33
typedef unsigned char   uint8;
34
typedef unsigned short int  uint16;
35
typedef unsigned long int   uint32;
36
 
37
typedef signed char int8;
38
typedef signed short int    int16;
39
typedef signed long int int32;
40
 
41
 
42
#endif //TYPEDEFS_H

powered by: WebSVN 2.1.0

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