diff options
Diffstat (limited to 'vendor/r-efi/src/protocols/shell_parameters.rs')
-rw-r--r-- | vendor/r-efi/src/protocols/shell_parameters.rs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/r-efi/src/protocols/shell_parameters.rs b/vendor/r-efi/src/protocols/shell_parameters.rs new file mode 100644 index 000000000..e779d0add --- /dev/null +++ b/vendor/r-efi/src/protocols/shell_parameters.rs @@ -0,0 +1,23 @@ +//! Shell Parameters Protocol +//! +//! Defined in the UEFI Shell Specification, Section 2.3. + +use super::shell; + +pub const PROTOCOL_GUID: crate::base::Guid = crate::base::Guid::from_fields( + 0x752f3136, + 0x4e16, + 0x4fdc, + 0xa2, + 0x2a, + &[0xe5, 0xf4, 0x68, 0x12, 0xf4, 0xca], +); + +#[repr(C)] +pub struct Protocol { + pub argv: *mut *mut crate::base::Char16, + pub argc: usize, + pub std_in: shell::FileHandle, + pub std_out: shell::FileHandle, + pub std_err: shell::FileHandle, +} |