Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
29
void write_serial(const char c) {
30
while (is_transmit_empty() == 0);
31
32
outportb(PORT, c);
33
}
34
35
void write_serial(const char* s) {
36
write_serial_n(s, strlen(s));
Callers
nothing calls this directly
Calls
4
is_transmit_empty
Function · 0.85
outportb
Function · 0.85
write_serial_n
Function · 0.85
strlen
Function · 0.85
Tested by
no test coverage detected