redox_uefi_std 0.1.14

UEFI standard library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use uefi::shell::Shell as UefiShell;

use crate::proto::Protocol;
use crate::prelude::*;

pub struct Shell(pub &'static mut UefiShell);

impl Protocol<UefiShell> for Shell {
    fn guid() -> Guid {
        UefiShell::GUID
    }

    fn new(inner: &'static mut UefiShell) -> Self {
        Shell(inner)
    }
}