root/Whitix/trunk/include/types.h

Revision 1668, 1.2 KB (checked in by mwhitworth, 3 years ago)

Merge in changes from keobject.

Line 
1/* types.h - common kernel types.
2 * ==============================
3 *
4 *  This file is part of Whitix.
5 *
6 *  Whitix is free software; you can redistribute it and/or modify
7 *  it under the terms of the GNU General Public License as published by
8 *  the Free Software Foundation; either version 2 of the License, or
9 *  (at your option) any later version.
10 *
11 *  Whitix is distributed in the hope that it will be useful,
12 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 *  GNU General Public License for more details.
15 *
16 *  You should have received a copy of the GNU General Public License
17 *  along with Whitix; if not, write to the Free Software
18 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19 *
20 */
21
22#ifndef KERNEL_TYPES_H
23#define KERNEL_TYPES_H
24
25typedef long unsigned int size_t;
26typedef long unsigned int off_t;
27typedef long unsigned int pos_t;
28typedef long unsigned int addr_t;
29typedef long unsigned int vid_t;
30typedef long unsigned int sector_t; /* Index of a sector on disk. */
31typedef long unsigned int time_t;
32
33/* Limits */
34#define INT_MAX 0x7fffffffL
35
36#endif
Note: See TracBrowser for help on using the browser.