MCPcopy Create free account
hub / github.com/IBM/ACE-RISCV / put

Method put

security-monitor/src/debug.rs:96–103  ·  view source on GitHub ↗
(c: u8)

Source from the content-addressed store, hash-verified

94pub struct Console {}
95
96impl Console {
97 pub fn put(c: u8) {
98 let ci8: Option<i8> = c.try_into().ok();
99 if let Some(v) = ci8 {
100 unsafe {
101 opensbi_sys::sbi_putc(c);
102 }
103 }
104 }
105}
106

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected