/*
    limits.h, Copyright  (c) by Silvio Dragone & David Reist,
    Swiss Federal Institute of Technology,
    Computer Engineering and Networks Laboratory.
 
    TOPSY -- A Teachable Operating System.
             Implementation of a tiny and simple
             micro kernel for teaching purposes.
 
    For further information, please visit http://www.tik.ee.ethz.ch/~topsy
 
    This software is provided under the terms of the GNU General Public Licence.
 
    A full copy of the GNU GPL is provided in the file COPYING found in the 
    development root of Topsy.
*/

/* compiler and target machine dependent limits */
/* taken from mips port as is */

#warning ____________________including_limits_h_not_Limits_h____________________
#define CHAR_BIT 8
#define SCHAR_MIN (-128)
#define SCHAR_MAX 127
#define UCHAR_MAX 255U

#define CHAR_MIN 0
#define CHAR_MAX UCHAR_MAX

#define SHORT_MIN (-32768)
#define SHORT_MAX 32767
#define UNSIGNED_SHORT_MAX 65535U

#define INT_MAX 2147483647
#define INT_MIN (-INT_MAX-1)
#define UNSIGNED_INT_MAX 4294967295U

#define LONG_MIN INT_MIN
#define LONG_MAX INT_MAX
#define ULONG_MAX UNSIGNED_INT_MAX
