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
6
typedef
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;
19
}
framebuffer_t
;
20
21
#endif
// __HAL_GRAPHIC_FRAMEBUFFER_H__
framebuffer_t
framebuffer_t
Definition
framebuffer.h:19
__attribute__
Definition
block.h:36
type.h
uint16_t
unsigned short uint16_t
Definition
type.h:13
uint64_t
unsigned long uint64_t
Definition
type.h:25
uint8_t
unsigned char uint8_t
Definition
type.h:7
kernel
hal
graphic
framebuffer.h
Generated on Sat May 30 2026 11:09:57 for Voxia OS by
1.13.2