/* Limits.h, Copyright (c) by Lukas Ruf, lr@lpr.ch, 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. */ /* File: $Source: /usr/drwho/vault/cvs/topsy/Topsy/Topsy/ia32/Limits.h,v $ Author(s): Lukas Ruf, lr@lpr.ch Affiliation: ETH Zuerich, TIK Version: $Revision: 1.3 $ Creation Date: Last Date of Change: $Date: 1999/12/13 21:48:38 $ by: $Author: ruf $ $Log: Limits.h,v $ Revision 1.3 1999/12/13 21:48:38 ruf GNU General Public Licence Update Revision 1.2 1999/06/06 20:55:26 jeker putting everything together for Topsy 2.0 Revision 1.1 1999/05/20 15:08:41 jeker little changes for ia32 port Revision 1.1 1999/05/13 17:06:02 jeker Initial revision */ #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