Rev 928 | Rev 1066 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 928 | Rev 996 | ||
---|---|---|---|
Line 187... | Line 187... | ||
187 | #define EFL_IF 0x0200 |
187 | #define EFL_IF 0x0200 |
188 | #define EFL_IOPL1 0x1000 |
188 | #define EFL_IOPL1 0x1000 |
189 | #define EFL_IOPL2 0x2000 |
189 | #define EFL_IOPL2 0x2000 |
190 | #define EFL_IOPL3 0x3000 |
190 | #define EFL_IOPL3 0x3000 |
- | 191 | ||
- | 192 | typedef struct |
|
- | 193 | { |
|
- | 194 | u32_t handle; |
|
- | 195 | u32_t io_code; |
|
- | 196 | void *input; |
|
- | 197 | int inp_size; |
|
- | 198 | void *output; |
|
- | 199 | int out_size; |
|
- | 200 | }ioctl_t; |
|
- | 201 | ||
- | 202 | ||
- | 203 | typedef struct |
|
- | 204 | { |
|
- | 205 | u32_t code; |
|
- | 206 | union |
|
- | 207 | { |
|
- | 208 | struct /* window event */ |
|
- | 209 | { |
|
- | 210 | u32_t win; /* window handle */ |
|
- | 211 | u32_t val1; |
|
- | 212 | u32_t val2; |
|
- | 213 | u16_t x; /* cursor x */ |
|
- | 214 | u16_t y; /* cursor y */ |
|
- | 215 | u32_t unused; |
|
- | 216 | }__attribute__ ((packed)); |
|
- | 217 | ||
- | 218 | struct /* realtime io */ |
|
- | 219 | { |
|
- | 220 | u32_t sender; /* service handler */ |
|
- | 221 | u32_t stream; /* io stream id, if present */ |
|
- | 222 | addr_t offset; |
|
- | 223 | size_t size; |
|
- | 224 | }; |
|
- | 225 | ||
- | 226 | struct /* ipc event */ |
|
- | 227 | { |
|
- | 228 | u32_t sender; |
|
- | 229 | u32_t io_code; |
|
- | 230 | addr_t *input; |
|
- | 231 | size_t inp_size; |
|
- | 232 | addr_t *output; |
|
- | 233 | size_t out_size; |
|
- | 234 | }; |
|
- | 235 | }; |
|
- | 236 | }event_t; |
|
- | 237 | ||
- | 238 | ||
- | 239 | ||
- | 240 | ||
- | 241 |