34 lines
549 B
C
34 lines
549 B
C
|
|
#ifndef SOCKS_FB_H_
|
||
|
|
#define SOCKS_FB_H_
|
||
|
|
|
||
|
|
#include <stdint.h>
|
||
|
|
|
||
|
|
enum framebuffer_flags {
|
||
|
|
FB_VGATEXT = 0x01u,
|
||
|
|
};
|
||
|
|
|
||
|
|
struct framebuffer_bitfield {
|
||
|
|
uint32_t b_offset;
|
||
|
|
uint16_t b_length;
|
||
|
|
};
|
||
|
|
|
||
|
|
struct framebuffer_varinfo {
|
||
|
|
enum framebuffer_flags fb_flags;
|
||
|
|
|
||
|
|
uint32_t fb_xres;
|
||
|
|
uint32_t fb_yres;
|
||
|
|
uint32_t fb_bpp;
|
||
|
|
uint32_t fb_stride;
|
||
|
|
|
||
|
|
struct framebuffer_bitfield fb_red;
|
||
|
|
struct framebuffer_bitfield fb_green;
|
||
|
|
struct framebuffer_bitfield fb_blue;
|
||
|
|
struct framebuffer_bitfield fb_alpha;
|
||
|
|
};
|
||
|
|
|
||
|
|
struct framebuffer_fixedinfo {
|
||
|
|
uint64_t fb_baseptr;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif
|