MCPcopy Create free account
hub / github.com/eholk/Boot2Rust / console

Method console

src/uefi/mod.rs:59–67  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

57impl SystemTable {
58 #[no_split_stack]
59 pub fn console(&self) -> Console {
60 unsafe {
61 let &SystemTable(tbl) = self;
62 Console {
63 input: (*tbl).ConIn,
64 output: (*tbl).ConOut,
65 }
66 }
67 }
68}
69
70fn unpack<T>(slice: &[T]) -> (*T, uint) {

Callers 1

efi_mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected