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

Function LemonMapFramebuffer

LibLemon/src/lemon/fb.cpp:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include <stdlib.h>
6
7volatile uint8_t* LemonMapFramebuffer(FBInfo& fbInfo){
8 volatile uint8_t* ptr = 0;
9 syscall(SYS_MAP_FB, ((uintptr_t)&ptr), (uintptr_t)&fbInfo);
10 return ptr;
11}
12
13surface_t* CreateFramebufferSurface(){
14 surface_t* surface = (surface_t*)malloc(sizeof(surface_t));

Callers 1

CreateFramebufferSurfaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected