Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
framebuffer.h
Go to the documentation of this file.
1#ifndef __HAL_GRAPHIC_FRAMEBUFFER_H__
2#define __HAL_GRAPHIC_FRAMEBUFFER_H__
3
4#include <type.h>
5
6typedef struct __attribute__((aligned(32))) {
7 uint64_t framebuffer_addr;
8 uint16_t framebuffer_width;
9 uint16_t framebuffer_height;
10 uint16_t framebuffer_pitch;
11 uint16_t framebuffer_bpp;
12
13 uint8_t red_mask_size;
14 uint8_t red_mask_shift;
15 uint8_t green_mask_size;
16 uint8_t green_mask_shift;
17 uint8_t blue_mask_size;
18 uint8_t blue_mask_shift;
20
21#endif // __HAL_GRAPHIC_FRAMEBUFFER_H__
framebuffer_t
Definition framebuffer.h:19
unsigned short uint16_t
Definition type.h:13
unsigned long uint64_t
Definition type.h:25
unsigned char uint8_t
Definition type.h:7