#ifndef _SYS_FB_H #define _SYS_FB_H #include #include /* ioctl() calls */ enum FrameBufferIoctls { FBIOGET_VSCREENINFO, FBIOPUT_VSCREENINFO, FBIOGET_FSCREENINFO, }; /* Structure for fixed framebuffer info */ typedef struct FBFixInfo { uintptr_t fbmem; size_t fbmemLen; } FBFixInfo; /* Structure for variable framebuffer info */ typedef struct FBVarInfo { uint32_t xres, yres; uint32_t bpp; } FBVarInfo; #endif