00001 /* types.h - 00002 Copyright (C) 2003 Free Software Foundation, Inc. 00003 Written by Stephane Carrez (stcarrez@nerim.fr) 00004 00005 This file is free software; you can redistribute it and/or modify it 00006 under the terms of the GNU General Public License as published by the 00007 Free Software Foundation; either version 2, or (at your option) any 00008 later version. 00009 00010 In addition to the permissions in the GNU General Public License, the 00011 Free Software Foundation gives you unlimited permission to link the 00012 compiled version of this file with other programs, and to distribute 00013 those programs without any restriction coming from the use of this 00014 file. (The General Public License restrictions do apply in other 00015 respects; for example, they cover modification of the file, and 00016 distribution when not linked into another program.) 00017 00018 This file is distributed in the hope that it will be useful, but 00019 WITHOUT ANY WARRANTY; without even the implied warranty of 00020 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00021 General Public License for more details. 00022 00023 You should have received a copy of the GNU General Public License 00024 along with this program; see the file COPYING. If not, write to 00025 the Free Software Foundation, 59 Temple Place - Suite 330, 00026 Boston, MA 02111-1307, USA. */ 00027 00028 #ifndef _SYS_TYPES_H 00029 #define _SYS_TYPES_H 00030 00031 #include <stddef.h> 00032 00033 #if 0 00034 #ifdef mc6811 00035 # include <asm-m68hc11/param.h> 00036 #endif 00037 00038 #ifdef mc6812 00039 # include <asm-m68hc12/param.h> 00040 #endif 00041 00042 #include <arch/param.h> 00043 #endif 00044 00045 #if __BSD_VISIBLE 00046 typedef unsigned char u_char; 00047 typedef unsigned short u_short; 00048 typedef unsigned int u_int; 00049 typedef unsigned long u_long; 00050 typedef unsigned short ushort; /* Sys V compatibility */ 00051 typedef unsigned int uint; /* Sys V compatibility */ 00052 00053 typedef char* caddr_t; 00054 #endif 00055 00056 #include <sys/stdint.h> 00057 #include <sys/_types.h> 00058 00059 typedef unsigned long long u_quad_t; 00060 typedef long long quad_t; 00061 00062 #endif