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

Function Initialize

Kernel/src/video.cpp:154–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152 uint32_t screenPitch;
153
154 void Initialize(video_mode_t videoMode){
155 videoMemory = (uint8_t*)videoMode.address;
156
157 screenWidth = videoMode.width;
158 screenHeight = videoMode.height;
159 screenDepth = videoMode.bpp;
160
161 screenPitch = videoMode.pitch;
162
163 Video::videoMode = videoMode;
164 }
165
166 video_mode_t GetVideoMode(){
167 return videoMode;

Callers 2

KernelProcessFunction · 0.70
kmainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected