MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / _print

Function _print

kernel/src/vga_buffer.rs:147–154  ·  view source on GitHub ↗
(args: fmt::Arguments)

Source from the content-addressed store, hash-verified

145/// through the global `WRITER` instance.
146#[doc(hidden)]
147pub fn _print(args: fmt::Arguments) {
148 use core::fmt::Write;
149 use x86_64::instructions::interrupts;
150
151 interrupts::without_interrupts(|| {
152 WRITER.lock().write_fmt(args).unwrap();
153 });
154}
155
156//////////////////////////////////////////////////////
157

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected