summaryrefslogtreecommitdiffstats
path: root/vendor/r-efi/src/protocols/shell_parameters.rs
blob: e779d0add595eae5d1632bd7e7bcada774e892fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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,
}