Rev 6082 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6082 | Rev 6102 | ||
---|---|---|---|
Line 6... | Line 6... | ||
6 | #include |
6 | #include |
7 | #include |
7 | #include |
8 | #include |
8 | #include |
9 | #include |
9 | |
10 | 10 | #define OS_BASE 0x80000000 |
|
11 | - | ||
12 | #define OS_BASE 0x80000000 |
- | |
Line 13... | Line 11... | ||
13 | 11 | ||
Line 14... | Line 12... | ||
14 | #define PG_SW 0x003 |
12 | #define PG_SW 0x003 |
15 | #define PG_UW 0x007 |
13 | #define PG_UW 0x007 |
Line 22... | Line 20... | ||
22 | #define ENTER() dbgprintf("enter %s\n",__FUNCTION__) |
20 | #define ENTER() dbgprintf("enter %s\n",__FUNCTION__) |
Line 23... | Line 21... | ||
23 | #define LEAVE() dbgprintf("leave %s\n",__FUNCTION__) |
21 | #define LEAVE() dbgprintf("leave %s\n",__FUNCTION__) |
24 | #define FAIL() dbgprintf("fail %s\n",__FUNCTION__) |
22 | #define FAIL() dbgprintf("fail %s\n",__FUNCTION__) |
25 | 23 | #define LINE() dbgprintf("%s line %d\n", __FUNCTION__,__LINE__) |
|
26 | typedef struct |
- | |
27 | { |
- | |
28 | u32 code; |
- | |
29 | u32 data[5]; |
- | |
30 | }kevent_t; |
- | |
31 | - | ||
32 | typedef union |
- | |
33 | { |
- | |
34 | struct |
- | |
35 | { |
- | |
36 | u32 handle; |
- | |
37 | u32 euid; |
24 | |
38 | }; |
- | |
39 | u64 raw; |
- | |
40 | }evhandle_t; |
- | |
41 | - | ||
Line 42... | Line 25... | ||
42 | typedef struct |
25 | typedef struct |
43 | { |
26 | { |
44 | u32 handle; |
27 | u32 handle; |
45 | u32 io_code; |
28 | u32 io_code; |