MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / write_serial

Function write_serial

Kernel/src/arch/x86_64/serial.cpp:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29void write_serial(const char c) {
30 while (is_transmit_empty() == 0);
31
32 outportb(PORT, c);
33}
34
35void write_serial(const char* s) {
36 write_serial_n(s, strlen(s));

Callers

nothing calls this directly

Calls 4

is_transmit_emptyFunction · 0.85
outportbFunction · 0.85
write_serial_nFunction · 0.85
strlenFunction · 0.85

Tested by

no test coverage detected