Rev 1618 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
42 | pj | 1 | /* Project: OSLib |
2 | * Description: The OS Construction Kit |
||
3 | * Date: 1.6.2000 |
||
4 | * Idea by: Luca Abeni & Gerardo Lamastra |
||
5 | * |
||
6 | * OSLib is an SO project aimed at developing a common, easy-to-use |
||
7 | * low-level infrastructure for developing OS kernels and Embedded |
||
8 | * Applications; it partially derives from the HARTIK project but it |
||
9 | * currently is independently developed. |
||
10 | * |
||
11 | * OSLib is distributed under GPL License, and some of its code has |
||
12 | * been derived from the Linux kernel source; also some important |
||
13 | * ideas come from studying the DJGPP go32 extender. |
||
14 | * |
||
15 | * We acknowledge the Linux Community, Free Software Foundation, |
||
16 | * D.J. Delorie and all the other developers who believe in the |
||
17 | * freedom of software and ideas. |
||
18 | * |
||
19 | * For legalese, check out the included GPL license. |
||
20 | */ |
||
21 | |||
22 | #ifndef __LL_SYS_TYPES_H__ |
||
23 | #define __LL_SYS_TYPES_H__ |
||
24 | |||
25 | #include <ll/i386/hw-data.h> |
||
26 | |||
27 | #define size_t DWORD |
||
28 | #define ssize_t long int |
||
29 | #define va_list void* |
||
30 | |||
31 | #define u_int unsigned int |
||
32 | #define u_char BYTE |
||
33 | #define u_short WORD |
||
34 | #define u_long DWORD |
||
35 | |||
36 | /* unsigned integers */ |
||
37 | typedef BYTE u_int8_t; |
||
38 | typedef WORD u_int16_t; |
||
39 | typedef DWORD u_int32_t; |
||
40 | |||
41 | /* signed integers */ |
||
42 | typedef signed char int8_t; |
||
43 | typedef short int int16_t; |
||
44 | typedef int int32_t; |
||
45 | #endif |