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

Function unlockSerial

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

Source from the content-addressed store, hash-verified

23volatile int lock = 0;
24
25void unlockSerial(){
26 lock = 0;
27}
28
29void write_serial(const char c) {
30 while (is_transmit_empty() == 0);

Callers 2

ErrorFunction · 0.85
KernelAssertionFailedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected