1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13:
14:
15: 16: 17: 18: 19:
20:
21: #include <basic.h>
22: #include <tk/devmgr.h>
23: #include <sys/str_align.h>
24: #include <sys/svc/fndevmgr.h>
25:
26: typedef struct {
27: CONST UB *devnm; _align64
28: UINT omode; _align64
29: } DEVICE_TK_OPN_DEV_PARA;
30:
31: typedef struct {
32: ID dd; _align64
33: UINT option; _align64
34: } DEVICE_TK_CLS_DEV_PARA;
35:
36: typedef struct {
37: ID dd; _align64
38: W start; _align64
39: void *buf; _align64
40: W size; _align64
41: TMO tmout; _align64
42: } DEVICE_TK_REA_DEV_PARA;
43:
44: typedef struct {
45: ID dd; _align64
46: W start; _align64
47: void *buf; _align64
48: W size; _align64
49: W *asize; _align64
50: } DEVICE_TK_SREA_DEV_PARA;
51:
52: typedef struct {
53: ID dd; _align64
54: W start; _align64
55: CONST void *buf; _align64
56: W size; _align64
57: TMO tmout; _align64
58: } DEVICE_TK_WRI_DEV_PARA;
59:
60: typedef struct {
61: ID dd; _align64
62: W start; _align64
63: CONST void *buf; _align64
64: W size; _align64
65: W *asize; _align64
66: } DEVICE_TK_SWRI_DEV_PARA;
67:
68: typedef struct {
69: ID dd; _align64
70: ID reqid; _align64
71: W *asize; _align64
72: ER *ioer; _align64
73: TMO tmout; _align64
74: } DEVICE_TK_WAI_DEV_PARA;
75:
76: typedef struct {
77: UINT mode; _align64
78: } DEVICE_TK_SUS_DEV_PARA;
79:
80: typedef struct {
81: ID devid; _align64
82: UB *devnm; _align64
83: } DEVICE_TK_GET_DEV_PARA;
84:
85: typedef struct {
86: CONST UB *devnm; _align64
87: T_RDEV *rdev; _align64
88: } DEVICE_TK_REF_DEV_PARA;
89:
90: typedef struct {
91: ID dd; _align64
92: T_RDEV *rdev; _align64
93: } DEVICE_TK_OREF_DEV_PARA;
94:
95: typedef struct {
96: T_LDEV *ldev; _align64
97: INT start; _align64
98: INT ndev; _align64
99: } DEVICE_TK_LST_DEV_PARA;
100:
101: typedef struct {
102: ID devid; _align64
103: INT evttyp; _align64
104: void *evtinf; _align64
105: } DEVICE_TK_EVT_DEV_PARA;
106:
107: typedef struct {
108: ID dd; _align64
109: D start_d; _align64
110: void *buf; _align64
111: W size; _align64
112: TMO_U tmout_u; _align64
113: } DEVICE_TK_REA_DEV_DU_PARA;
114:
115: typedef struct {
116: ID dd; _align64
117: D start_d; _align64
118: void *buf; _align64
119: W size; _align64
120: W *asize; _align64
121: } DEVICE_TK_SREA_DEV_D_PARA;
122:
123: typedef struct {
124: ID dd; _align64
125: D start_d; _align64
126: CONST void *buf; _align64
127: W size; _align64
128: TMO_U tmout_u; _align64
129: } DEVICE_TK_WRI_DEV_DU_PARA;
130:
131: typedef struct {
132: ID dd; _align64
133: D start_d; _align64
134: CONST void *buf; _align64
135: W size; _align64
136: W *asize; _align64
137: } DEVICE_TK_SWRI_DEV_D_PARA;
138:
139: typedef struct {
140: ID dd; _align64
141: ID reqid; _align64
142: W *asize; _align64
143: ER *ioer; _align64
144: TMO_U tmout_u; _align64
145: } DEVICE_TK_WAI_DEV_U_PARA;
146:
147: typedef struct {
148: CONST UB *devnm; _align64
149: CONST T_DDEV *ddev; _align64
150: T_IDEV *idev; _align64
151: } DEVICE_TK_DEF_DEV_PARA;
152:
153: typedef struct {
154: T_IDEV *idev; _align64
155: } DEVICE_TK_REF_IDV_PARA;
156: