Skip to content

Commit a916499

Browse files
uefi-raw: Add ServiceBindingProtocol
Co-authored-by: Ben Krieger <[email protected]>
1 parent b8ee512 commit a916499

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Diff for: uefi-raw/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Added
44
- Added `Ipv4Address`, `Ipv6Address`, and `MacAddress` types.
5+
- Added `ServiceBindingProtocol`.
56

67
# uefi-raw - 0.5.0 (2023-11-12)
78

Diff for: uefi-raw/src/protocol/driver.rs

+8
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,11 @@ impl ComponentName2Protocol {
2828
/// 4646.
2929
pub const DEPRECATED_COMPONENT_NAME_GUID: Guid = guid!("107a772c-d5e1-11d4-9a46-0090273fc14d");
3030
}
31+
32+
#[derive(Debug)]
33+
#[repr(C)]
34+
pub struct ServiceBindingProtocol {
35+
pub create_child:
36+
unsafe extern "efiapi" fn(this: *mut Self, child_handle: *mut Handle) -> Status,
37+
pub destroy_child: unsafe extern "efiapi" fn(this: *mut Self, child_handle: Handle) -> Status,
38+
}

0 commit comments

Comments
 (0)