Vendor asic-rs 0.8.1 (280 crates, offline builds) + wxWidgets 3.3.3 (pristine + patch queue); UI spec + ADR-0003; M1 on asic-rs
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
//! Device Path From Text Protocol
|
||||
//!
|
||||
//! Convert text to device paths and device nodes.
|
||||
|
||||
pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields(
|
||||
0x5c99a21,
|
||||
0xc70f,
|
||||
0x4ad2,
|
||||
0x8a,
|
||||
0x5f,
|
||||
&[0x35, 0xdf, 0x33, 0x43, 0xf5, 0x1e],
|
||||
);
|
||||
|
||||
pub type DevicePathFromTextNode = unsafe extern "efiapi" fn(
|
||||
*const crate::base::Char16,
|
||||
) -> *mut crate::protocols::device_path::Protocol;
|
||||
|
||||
pub type DevicePathFromTextPath = unsafe extern "efiapi" fn(
|
||||
*const crate::base::Char16,
|
||||
) -> *mut crate::protocols::device_path::Protocol;
|
||||
|
||||
#[repr(C)]
|
||||
pub struct Protocol {
|
||||
pub convert_text_to_device_node: DevicePathFromTextNode,
|
||||
pub convert_text_to_device_path: DevicePathFromTextPath,
|
||||
}
|
||||
Reference in New Issue
Block a user