File tree 2 files changed +30
-0
lines changed
2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 4
4
5
5
- Added ` protocol::string::UnicodeCollationProtocol ` .
6
6
- Added ` protocol::tcg ` module, containing the TCG v1 and v2 protocols.
7
+ - Added ` DriverBindingProtocol ` .
7
8
8
9
9
10
# uefi-raw - 0.9.0 (2024-10-23)
Original file line number Diff line number Diff line change
1
+ use crate :: protocol:: device_path:: DevicePathProtocol ;
1
2
use crate :: { guid, Guid , Handle , Status } ;
2
3
4
+ #[ derive( Debug ) ]
5
+ #[ repr( C ) ]
6
+ pub struct DriverBindingProtocol {
7
+ pub supported : unsafe extern "efiapi" fn (
8
+ this : * const Self ,
9
+ controller_handle : Handle ,
10
+ remaining_device_path : * const DevicePathProtocol ,
11
+ ) -> Status ,
12
+ pub start : unsafe extern "efiapi" fn (
13
+ this : * const Self ,
14
+ controller_handle : Handle ,
15
+ remaining_device_path : * const DevicePathProtocol ,
16
+ ) -> Status ,
17
+ pub stop : unsafe extern "efiapi" fn (
18
+ this : * const Self ,
19
+ controller_handle : Handle ,
20
+ number_of_children : usize ,
21
+ child_handle_buffer : * const Handle ,
22
+ ) -> Status ,
23
+ pub version : u32 ,
24
+ pub image_handle : Handle ,
25
+ pub driver_binding_handle : Handle ,
26
+ }
27
+
28
+ impl DriverBindingProtocol {
29
+ pub const GUID : Guid = guid ! ( "18a031ab-b443-4d1a-a5c0-0c09261e9f71" ) ;
30
+ }
31
+
3
32
#[ derive( Debug ) ]
4
33
#[ repr( C ) ]
5
34
pub struct ComponentName2Protocol {
You can’t perform that action at this time.
0 commit comments