root / lab5 / graphics.h @ 103
History | View | Annotate | Download (631 Bytes)
1 |
#ifndef GRAPHICS_H_INCLUDED
|
---|---|
2 |
#define GRAPHICS_H_INCLUDED
|
3 |
|
4 |
#include <lcom/lcf.h> |
5 |
#include <stdint.h> |
6 |
|
7 |
int (get_permission)(unsigned int base_addr, unsigned int size); |
8 |
|
9 |
int (get_permissions_first_mbyte)(void); |
10 |
|
11 |
int (vbe_get_mode_information)(uint16_t mode);
|
12 |
|
13 |
phys_bytes get_phys_addr(void);
|
14 |
|
15 |
unsigned int get_vram_size(void); |
16 |
|
17 |
uint16_t get_XRes(void);
|
18 |
|
19 |
uint16_t get_YRes(void);
|
20 |
|
21 |
uint16_t get_bits_pixel(void);
|
22 |
|
23 |
int (map_vram)(void); |
24 |
|
25 |
int (free_memory)(void); |
26 |
|
27 |
/**
|
28 |
* @brief
|
29 |
* @param mode
|
30 |
* @return
|
31 |
*/
|
32 |
int (set_graphics_mode)(uint16_t mode);
|
33 |
|
34 |
#endif /* end of include guard: GRAPHICS_H_INCLUDED */ |