Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ EnableBuffer
Function
EnableBuffer
Kernel/src/logging.cpp:70–74 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
68
}
69
70
void EnableBuffer(){
71
logBufferSize = 4096;
72
logBuffer = (char*)kmalloc(logBufferSize);
73
logBufferPos = 0;
74
}
75
76
void WriteN(const char* str, size_t n){
77
write_serial_n(str, n);
Callers
1
kmain
Function · 0.85
Calls
1
kmalloc
Function · 0.85
Tested by
no test coverage detected