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

Function InitVideo

Kernel/src/arch/x86_64/hal.cpp:188–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186 }
187
188 void InitVideo(){
189 Video::Initialize(videoMode);
190 Video::DrawString("Starting Lemon x64...", 0, 0, 255, 255, 255);
191
192 Log::SetVideoConsole(NULL);
193
194 if(debugMode){
195 con = new VideoConsole(0, (videoMode.height / 3) * 2, videoMode.width, videoMode.height / 3);
196 Log::SetVideoConsole(con);
197 }
198 }
199
200 void InitExtra(){
201 Log::Info("Initializing ACPI...");

Callers 1

InitFunction · 0.85

Calls 3

SetVideoConsoleFunction · 0.85
InitializeFunction · 0.70
DrawStringFunction · 0.50

Tested by

no test coverage detected