BarryServer : Git

All the code for all my projects
// BarryServer : Git / OrionLibC / blob / fd1ac463b480044ea9b8ae4fa3f56a73b00e2ed3 / include / sys / fb.h

// Related

OrionLibC

Barry Importing existing Orion LibC 03048a9 (2 years, 2 months ago)
#ifndef _SYS_FB_H
#define _SYS_FB_H

#include <stdint.h>
#include <stddef.h>

/* 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