Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/vendor/uefi-raw/src/protocol/shell_params.rs # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / vendor / uefi-raw / src / protocol / shell_params.rs` 25 lines ยท 669 bytes Raw Blame History 1 // SPDX-License-Identifier: MIT OR Apache-2.0 2 3 use crate::{Char16, Guid, guid}; 4 use core::ffi::c_void; 5 6 pub type ShellFileHandle = *mut c_void; 7 8 #[derive(Debug)] 9 #[repr(C)] 10 pub struct ShellParametersProtocol { 11 /// Pointer to a list of arguments. 12 pub argv: *const *const Char16, 13 /// Number of arguments. 14 pub argc: usize, 15 /// Handle of the standard input. 16 pub std_in: ShellFileHandle, 17 /// Handle of the standard output. 18 pub std_out: ShellFileHandle, 19 /// Handle of the standard error output. 20 pub std_err: ShellFileHandle, 21 } 22 23 impl ShellParametersProtocol { 24 pub const GUID: Guid = guid!("`752f3136`-4e16-4fdc-a22a-`e5f46812f4ca`"); 25 }