interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

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
3use crate::{Char16, Guid, guid};
4use core::ffi::c_void;
5
6pub type ShellFileHandle = *mut c_void;
7
8#[derive(Debug)]
9#[repr(C)]
10pub 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
23impl ShellParametersProtocol {
24 pub const GUID: Guid = guid!("752f3136-4e16-4fdc-a22a-e5f46812f4ca");
25}