~wolf-ramovsky/helenos/vesafb

« back to all changes in this revision

Viewing changes to uspace/drv/fb/vesafb/linuxtypes.h

  • Committer: Wolf Ramovsky
  • Date: 2014-08-03 18:01:10 UTC
  • Revision ID: wolf_ramovsky-20140803180110-eppi28291rsl6rp4
EDID WIP commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef LINUXTYPES_H_
 
2
#define LINUXTYPES_H_
 
3
 
 
4
#include <sys/types.h>
 
5
 
 
6
typedef int8_t s8;
 
7
typedef uint8_t u8;
 
8
 
 
9
typedef int16_t s16;
 
10
typedef int32_t s32;
 
11
typedef int64_t s64;
 
12
 
 
13
typedef uint16_t u16;
 
14
typedef uint32_t u32;
 
15
typedef uint64_t u64;
 
16
 
 
17
 
 
18
typedef u16 __le16;
 
19
 
 
20
struct list_head {
 
21
        struct list_head *next, *prev;
 
22
};
 
23
 
 
24
struct hlist_head {
 
25
        struct hlist_node *first;
 
26
};
 
27
 
 
28
struct hlist_node {
 
29
        struct hlist_node *next, **pprev;
 
30
};
 
31
 
 
32
#endif