Last change
on this file since 1194 was 1166, checked in by rossy, 3 years ago |
Daodan: Replace MinGW build env with an up-to-date MSYS2 env
|
File size:
1.1 KB
|
Line | |
---|
1 | /**
|
---|
2 | * This file has no copyright assigned and is placed in the Public Domain.
|
---|
3 | * This file is part of the mingw-w64 runtime package.
|
---|
4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
---|
5 | */
|
---|
6 |
|
---|
7 | #ifndef _NTIORINGX_H_
|
---|
8 | #define _NTIORINGX_H_
|
---|
9 |
|
---|
10 | #ifdef __cplusplus
|
---|
11 | extern "C" {
|
---|
12 | #endif
|
---|
13 |
|
---|
14 | #if NTDDI_VERSION >= NTDDI_WIN10_CO
|
---|
15 |
|
---|
16 | typedef enum IORING_VERSION {
|
---|
17 | IORING_VERSION_INVALID = 0,
|
---|
18 | IORING_VERSION_1
|
---|
19 | } IORING_VERSION;
|
---|
20 |
|
---|
21 | typedef enum IORING_FEATURE_FLAGS {
|
---|
22 | IORING_FEATURE_FLAGS_NONE = 0,
|
---|
23 | IORING_FEATURE_UM_EMULATION = 0x00000001,
|
---|
24 | IORING_FEATURE_SET_COMPLETION_EVENT = 0x00000002
|
---|
25 | } IORING_FEATURE_FLAGS;
|
---|
26 | DEFINE_ENUM_FLAG_OPERATORS(IORING_FEATURE_FLAGS)
|
---|
27 |
|
---|
28 | typedef enum IORING_OP_CODE {
|
---|
29 | IORING_OP_NOP,
|
---|
30 | IORING_OP_READ,
|
---|
31 | IORING_OP_REGISTER_FILES,
|
---|
32 | IORING_OP_REGISTER_BUFFERS,
|
---|
33 | IORING_OP_CANCEL
|
---|
34 | } IORING_OP_CODE;
|
---|
35 |
|
---|
36 | typedef struct IORING_BUFFER_INFO {
|
---|
37 | void* Address;
|
---|
38 | UINT32 Length;
|
---|
39 | } IORING_BUFFER_INFO;
|
---|
40 |
|
---|
41 | typedef struct IORING_REGISTERED_BUFFER {
|
---|
42 | UINT32 BufferIndex;
|
---|
43 | UINT32 Offset;
|
---|
44 | } IORING_REGISTERED_BUFFER;
|
---|
45 |
|
---|
46 | #define IORING_SUBMIT_WAIT_ALL MAXUINT32
|
---|
47 |
|
---|
48 | #endif /* NTDDI_WIN10_CO */
|
---|
49 |
|
---|
50 | #ifdef __cplusplus
|
---|
51 | }
|
---|
52 | #endif
|
---|
53 |
|
---|
54 | #endif /* _NTIORINGX_H_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.