-
Notifications
You must be signed in to change notification settings - Fork 0
/
protos.yaml
365 lines (355 loc) · 8.6 KB
/
protos.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
- name: loaded_image
guid: "0x5b1b31a1,0x9562,0x11d2,{0x8e,0x3f,0x00,0xa0,0xc9,0x69,0x72,0x3b}"
headers:
- uefi/tables.h
- uefi/protos/device_path.h
pre_data:
- name: revision
type: uint32_t
- name: parent_handle
type: uefi::handle
- name: system_table
type: uefi::system_table *
- name: device_handle
type: uefi::handle
- name: file_path
type: uefi::protos::device_path *
- name: reserved
type: void *
- name: load_options_size
type: uint32_t
- name: load_options
type: void *
- name: image_base
type: void *
- name: image_size
type: uint64_t
- name: image_code_type
type: uefi::memory_type
- name: image_data_type
type: uefi::memory_type
methods:
- name: unload
skip_this: true
args:
- name: image_handle
type: uefi::handle
- name: device_path
guid: "0x09576e91,0x6d3f,0x11d2,{0x8e,0x39,0x00,0xa0,0xc9,0x69,0x72,0x3b}"
pre_data:
- name: type
type: uint8_t
- name: sub_type
type: uint8_t
- name: length
type: uint16_t
- name: simple_text_output
guid: "0x387477c2,0x69c7,0x11d2,{0x8e,0x39,0x00,0xa0,0xc9,0x69,0x72,0x3b}"
headers:
- uefi/graphics.h
methods:
- name: reset
args:
- name: extended_verification
type: bool
- name: output_string
args:
- name: string
type: const wchar_t *
- name: test_string
args:
- name: string
type: const wchar_t *
- name: query_mode
args:
- name: mode_number
type: uint64_t
- name: columns
type: uint64_t *
- name: rows
type: uint64_t *
- name: set_mode
args:
- name: mode_number
type: uint64_t
- name: set_attribute
args:
- name: attribute
type: uefi::attribute
- name: clear_screen
- name: set_cursor_position
args:
- name: column
type: uint64_t
- name: row
type: uint64_t
- name: enable_cursor
args:
- name: visible
type: bool
post_data:
- name: mode
type: uefi::text_output_mode *
- name: graphics_output
guid: "0x9042a9de,0x23dc,0x4a38,{0x96,0xfb,0x7a,0xde,0xd0,0x80,0x51,0x6a}"
headers:
- uefi/graphics.h
methods:
- name: query_mode
args:
- name: mode_number
type: uint32_t
- name: size_of_info
type: uint64_t *
- name: info
type: uefi::graphics_output_mode_info **
- name: set_mode
args:
- name: mode_number
type: uint32_t
- name: blt
post_data:
- name: mode
type: uefi::graphics_output_mode *
- name: simple_file_system
guid: "0x0964e5b22,0x6459,0x11d2,{0x8e,0x39,0x00,0xa0,0xc9,0x69,0x72,0x3b}"
headers:
- uefi/protos/file.h
pre_data:
- name: revision
type: uint64_t
methods:
- name: open_volume
args:
- name: root
type: uefi::protos::file **
- name: file
pre_data:
- name: revision
type: uint64_t
methods:
- name: open
args:
- name: new_handle
type: file **
- name: file_name
type: const wchar_t *
- name: open_mode
type: file_mode
- name: attributes
type: file_attr
- name: close
- name: delete_file
- name: read
args:
- name: buffer_size
type: uint64_t *
- name: buffer
type: void *
- name: write
args:
- name: buffer_size
type: uint64_t *
- name: buffer
type: void *
- name: get_position
args:
- name: position
type: uint64_t *
- name: set_position
args:
- name: position
type: uint64_t
- name: get_info
args:
- name: info_type
type: const guid *
- name: buffer_size
type: uint64_t *
- name: buffer
type: void *
- name: set_info
args:
- name: info_type
type: const guid *
- name: buffer_size
type: uint64_t
- name: buffer
type: void *
- name: flush
- name: open_ex
args:
- name: new_handle
type: file **
- name: file_name
type: const wchar_t *
- name: open_mode
type: uint64_t
- name: attributes
type: uint64_t
- name: token
type: file_io_token *
- name: read_ex
args:
- name: token
type: file_io_token *
- name: write_ex
args:
- name: token
type: file_io_token *
- name: flush_ex
args:
- name: token
type: file_io_token *
- name: file_info
guid: "0x09576e92,0x6d3f,0x11d2,{0x8e,0x39,0x00,0xa0,0xc9,0x69,0x72,0x3b}"
pre_data:
- name: size
type: uint64_t
- name: file_size
type: uint64_t
- name: physical_size
type: uint64_t
- name: create_time
type: time
- name: last_access_time
type: time
- name: modification_time
type: time
- name: attribute
type: uint64_t
- name: file_name[]
type: wchar_t
- name: service_binding
methods:
- name: create_child
args:
- name: child_handle
type: uefi::handle *
- name: destroy_child
args:
- name: child_handle
type: uefi::handle
- name: ip6
guid: "0x2c8759d5,0x5c2d,0x66ef,{0x92,0x5f,0xb6,0x6c,0x10,0x19,0x57,0xe2}"
headers:
- uefi/networking.h
bindings:
- name: service_binding
guid: "0xec835dd3,0xfe0f,0x617b,{0xa6,0x21,0xb3,0x50,0xc3,0xe1,0x33,0x88}"
methods:
- name: get_mode_data
args:
- name: ip6_mode_data
type: uefi::ip6_mode_data *
- name: mnp_config_data
type: uefi::managed_network_config_data *
- name: snp_config_data
type: uefi::simple_network_mode *
- name: configure
args:
- name: ip6_config_data
type: uefi::ip6_config_data *
- name: groups
args:
- name: join_flag
type: bool
- name: group_address
type: uefi::ipv6_address *
- name: routes
args:
- name: delete_route
type: bool
- name: destination
type: uefi::ipv6_address *
- name: prefix_length
type: uint8_t
- name: gateway_address
type: uefi::ipv6_address *
- name: neighbors
args:
- name: delete_flag
type: bool
- name: target_ip6_address
type: uefi::ipv6_address *
- name: target_link_address
type: uefi::mac_address *
- name: timeout
type: uint32_t
- name: override
type: bool
- name: transmit
args:
- name: token
type: uefi::ip6_completion_token *
- name: receive
args:
- name: token
type: uefi::ip6_completion_token *
- name: cancel
args:
- name: token
type: uefi::ip6_completion_token *
- name: poll
- name: ip6_config
guid: "0x937fe521,0x95ae,0x4d1a,{0x89,0x29,0x48,0xbc,0xd9,0x0a,0xd3,0x1a}"
headers:
- uefi/networking.h
methods:
- name: set_data
args:
- name: data_type
type: uefi::ip6_config_data_type
- name: data_size
type: size_t
- name: data
type: void *
- name: get_data
args:
- name: data_type
type: uefi::ip6_config_data_type
- name: data_size
type: size_t
- name: data
type: void *
- name: register_data_notify
args:
- name: data_type
type: uefi::ip6_config_data_type
- name: event
type: uefi::event
- name: unregister_data_notify
args:
- name: data_type
type: uefi::ip6_config_data_type
- name: event
type: uefi::event
- name: http
guid: "0x7a59b29b,0x910b,0x4171,{0x82,0x42,0xa8,0x5a,0x0d,0xf2,0x5b,0x5b}"
headers:
- uefi/networking.h
bindings:
- name: service_binding
guid: "0xbdc8e6af,0xd9bc,0x4379,{0xa7,0x2a,0xe0,0xc4,0xe7,0x5d,0xae,0x1c}"
methods:
- name: get_mode_data
args:
- name: http_config_data
type: uefi::http_config_data *
- name: configure
args:
- name: http_config_data
type: uefi::http_config_data *
- name: request
args:
- name: token
type: uefi::http_token *
- name: cancel
args:
- name: token
type: uefi::http_token *
- name: response
args:
- name: token
type: uefi::http_token *
- name: poll