uefi/
shell.rs

1use crate::prelude::*;
2
3#[repr(C)]
4pub struct Shell {
5    pub Execute: extern "efiapi" fn(
6        ImageHandle: &Handle,
7        CommandLine: *const u16,
8        Environment: *const *const u16,
9        Status: *mut Status,
10    ) -> Status,
11    //TODO
12}
13
14impl Shell {
15    pub const GUID: Guid = guid!("6302d008-7f9b-4f30-87ac-60c9fef5da4e");
16}
17
18#[repr(C)]
19pub struct ShellParameters {
20    pub Argv: *const *const u16,
21    pub Argc: usize,
22    pub StdIn: Handle,
23    pub StdOut: Handle,
24    pub StdErr: Handle,
25}
26
27impl ShellParameters {
28    pub const GUID: Guid = guid!("752f3136-4e16-4fdc-a22a-e5f46812f4ca");
29}