uefi_std/shell.rs
1use uefi::shell::Shell as UefiShell;
2
3use crate::proto::Protocol;
4use crate::prelude::*;
5
6pub struct Shell(pub &'static mut UefiShell);
7
8impl Protocol<UefiShell> for Shell {
9 fn guid() -> Guid {
10 UefiShell::GUID
11 }
12
13 fn new(inner: &'static mut UefiShell) -> Self {
14 Shell(inner)
15 }
16}