MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / _print

Function _print

src/ser.rs:77–86  ·  view source on GitHub ↗
(args: ::core::fmt::Arguments)

Source from the content-addressed store, hash-verified

75
76#[doc(hidden)]
77pub fn _print(args: ::core::fmt::Arguments)
78{
79 use core::fmt::Write;
80 use x86_64::instructions::interrupts;
81
82 interrupts::without_interrupts(||
83 {
84 SER.lock().write_fmt(args).expect("[ERR] FAILED TO PRINT TO SERIAL");
85 });
86}
87
88
89// Initialize

Callers

nothing calls this directly

Calls 1

lockMethod · 0.80

Tested by

no test coverage detected